Bug #36216 Agent configfile reader gets confused by OS X's ".DS_Store" file
Submitted: 19 Apr 2008 18:50 Modified: 15 May 2008 3:08
Reporter: Marcos Palacios Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S3 (Non-critical)
Version:0.7.0r488 OS:MacOS
Assigned to: Jan Kneschke CPU Architecture:Any

[19 Apr 2008 18:50] Marcos Palacios
Description:
I get the error below on an MBP running OS X 10.5 after working fine and then rebooting the system. The command issued was to start the 2.0 agent.

shell> ./bin/mysql-monitor-agent --defaults-file=etc/mysql-monitor-agent.ini
2008-04-19 13:30:08: (critical) reading instance-configfile 'etc/instances//.DS_Store/agent.ini' failed: Not a directory

How to repeat:
Run the agent after rebooting the Mac.
[22 Apr 2008 6:26] Jan Kneschke
If we don't have a agent.ini in the folder, we log a debug-message and skip it.

Patch has been pushed in [563]
[6 May 2008 19:10] Marcos Palacios
Tested in agent 0.7.0r563 and issue is not seen anymore.