Bug #21961 installed file mysql-service-agent.ini should contain all requested values
Submitted: 1 Sep 2006 7:48 Modified: 24 Oct 2006 3:06
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:0.6.04, 0.6.17 OS:Windows (Windows)
Assigned to: Keith Russell CPU Architecture:Any

[1 Sep 2006 7:48] Carsten Segieth
Description:
When one uses the installed config file 'mysql-service-agent.ini' without manual completion a couple of warning messages about missing values are shown:

 9.41.58 C:\Programme\MySQL\MySQL Network 2.0\MySQL Network 2.0>mysql-service-agent.exe -f mysql-service-agent.ini
** Message: [01:09:06 09:42:15] [mysqld].socket was not found, using default value: NULL
** Message: [01:09:06 09:42:15] [mysqld].port was not found, using default value: 3306
** Message: [01:09:06 09:42:15] [agent].log-level was not found, using default value: error
** Message: [01:09:06 09:42:15] [agent].heartbeat-interval was not found, using default value: 10
** Message: [01:09:06 09:42:15] [agent].sync-attempts was not found, using default value: 10
** Message: [01:09:06 09:42:15] [agent].pid-file was not found, using default value:

How to repeat:
- install 0.6.04 agent to default location
- in a command window: 
  cd "%PROGRAMFILES%\MySQL Network 2.0\MySQL Network 2.0"
  mysql-service-agent.exe -f mysql-service-agent.ini

Suggested fix:
add the values that are requested by the agent
[15 Sep 2006 16:20] Keith Russell
Modified with the Bitrock installer.
[19 Sep 2006 14:55] Carsten Segieth
still present with BitRock installer 0.6.17:

16.49.21 C:\Programme\MySQL\MySQL Network 2.0\MySQL Network 2.0>mysql-service-agent.exe
** Message: [mysqld].socket was not found, using default value: NULL
** Message: [agent].heartbeat-interval was not found, using default value: 10
** Message: [agent].sync-attempts was not found, using default value: 10

16.49.25 C:\Programme\MySQL\MySQL Network 2.0\MySQL Network 2.0>mysql-service-agent.exe --version
mysql-service-agent - 0.6.17

If values are not needed on some OS (e.g. 'socket' on Windows ?) the check for these values should be fixed in the agent.exe.

For the other values a default should be added to the .ini file to avoid these messages, although no value is asked in the install dialogs.
[22 Sep 2006 18:19] Keith Russell
Bitrock reports that this has been corrected and build version > 6.19 should contain this fix.