Bug #47333 Agent does not reload DC definitions from XML files if they are altered
Submitted: 15 Sep 2009 16:50
Reporter: Mark Leith Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S3 (Non-critical)
Version:2.1.x OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[15 Sep 2009 16:50] Mark Leith
Description:
If you add a data collection item to one of the items xml files (such as custom.xml), then the agent does not reload these until after you after restart the agent - however we should not have to restart the agent (especially with QUAN enabled systems). 

How to repeat:
o Add the following to custom.xml:

<class> 
<namespace>mysql</namespace> 
<classname>dummy</classname> 
<query><![CDATA[SELECT 'dummy' AS dummy]]></query> 
</class>

o Continue checking whether the dc definition is available in creating a new rule

Suggested fix:
Reload these files if they have been altered, or on NOHUP