Bug #57056 | agent upd.inst doesn't add new 'items-mysql-cluster.xml' to 'agent-item-files' | ||
---|---|---|---|
Submitted: | 28 Sep 2010 9:29 | Modified: | 13 Oct 2010 16:39 |
Reporter: | Carsten Segieth | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Monitor: Installing | Severity: | S2 (Serious) |
Version: | 2.3.0.2025 | OS: | Any |
Assigned to: | BitRock Merlin | CPU Architecture: | Any |
[28 Sep 2010 9:29]
Carsten Segieth
[28 Sep 2010 21:12]
Enterprise Tools JIRA Robot
Andy Bang writes: We have added a new items file that should be included in the agent-item-files parameter in the mysql-monitor-agent..ini file. You will see this included in the INI file template in source control (as share/mysql-monitor-agent/items/items-mysql-cluster.xml), so it gets included on a full install. It needs to be added during an upgrade install.
[30 Sep 2010 14:36]
BitRock Merlin
Patch sent to Andy
[30 Sep 2010 22:19]
Enterprise Tools JIRA Robot
Andy Bang writes: In build 2.3.0.2027.
[1 Oct 2010 14:40]
Enterprise Tools JIRA Robot
Carsten Segieth writes: Tested with 2.3.0.2028 the position of "items-mysql-cluster.xml" differs between a full install and an update. In case of update it's appended to the end of the string, but in a full install it is the 2nd last one and "custom.xml" is the last entry: # full install 2.3.0.2028 agent-item-files = share/mysql-monitor-agent/items/quan.lua,share/mysql-monitor-agent/items/items-mysql-monitor.xml,share/mysql-monitor-agent/items/items-mysql-cluster.xml,share/mysql-monitor-agent/items/custom.xml # updated from 2.2.2 to 2.3.0.2028 agent-item-files = share/mysql-monitor-agent/items/quan.lua,share/mysql-monitor-agent/items/items-mysql-monitor.xml,share/mysql-monitor-agent/items/custom.xml,share/mysql-monitor-agent/items/items-mysql-cluster.xml Jan said, that the order of the entries in 'agent-item-files' is relevant in case there are duplicate rules ("last one wins", "it may be harmless, but as a rule of thumb: custom.xml should be last, otherwise custom.xml doesn't overwrite our rules"). So please change the logic to insert the new part before "custom.xml".
[4 Oct 2010 14:02]
BitRock Merlin
Patch sent to Andy
[8 Oct 2010 10:12]
Carsten Segieth
- OK in 2.3.0.2030 for the "non-Win platforms - waiting now for the next Win agent before closing this bug
[8 Oct 2010 15:47]
Enterprise Tools JIRA Robot
Andy Bang writes: In build 2.3.0.2030.
[13 Oct 2010 16:39]
Enterprise Tools JIRA Robot
Carsten Segieth writes: Win agent 2.3.0.2033 tested also OK