| Bug #54701 | agent --version returns aggregator version on Mac OS X | ||
|---|---|---|---|
| Submitted: | 22 Jun 2010 17:14 | Modified: | 5 Jul 2010 7:25 |
| Reporter: | Marcos Palacios | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Enterprise Monitor: Agent | Severity: | S3 (Non-critical) |
| Version: | 2.2.1.1717 | OS: | Any |
| Assigned to: | Jan Kneschke | CPU Architecture: | Any |
[22 Jun 2010 17:20]
Enterprise Tools JIRA Robot
Attachment: 10410_mysql-monitor-agent.ini (application/octet-stream, text), 1.36 KiB.
[1 Jul 2010 18:32]
Enterprise Tools JIRA Robot
Marcos Palacios writes:
Verified fixed in agent build 2.2.2.1722.
$ ./mysql-monitor-agent --version
mysql-monitor-agent 2.2.0
chassis: 0.8.1.1722-mysql-proxy-0.8.1r1093_20100526_1338.tar.gz
glib2: 2.16.6
libevent: 1.4.13-stable
LUA: Lua 5.1.4
package.path: /Applications/mysql/enterprise/agent2/lib/mysql-proxy/lua/?.lua;/Applications/mysql/enterprise/agent2/lib/mysql-monitor-agent/lua/?.lua
package.cpath: /Applications/mysql/enterprise/agent2/lib/mysql-proxy/lua/?.so;/Applications/mysql/enterprise/agent2/lib/mysql-monitor-agent/lua/?.so
-- modules
proxy: 0.7.0
MySQL Monitor Agent: 2.2.2.1722
[5 Jul 2010 7:25]
MC Brown
A note has been added to the 2.2.2 changelog:
The output from &merlin_agent;
using <literal>--version</literal> would show incorrect
versions for some components.

Description: On Mac OS X, the --version option *used by itself* (w/o --plugins) returns the aggregator version even though the plugin is not loaded per the ini file. The ini file will be attached. $ ./mysql-monitor-agent --version mysql-monitor-agent 2.2.0 chassis: 0.8.0.1717-mysql-proxy-0.8.0r1084_20100512_1618.tar.gz glib2: 2.16.6 libevent: 1.4.13-stable LUA: Lua 5.1.4 package.path: /Applications/mysql/enterprise/agent4/lib/mysql-proxy/lua/?.lua;/Applications/mysql/enterprise/agent4/lib/mysql-monitor-agent/lua/?.lua;/Applications/mysql/enterprise/agent4/lib/mysql-aggregator/lua/?.lua package.cpath: /Applications/mysql/enterprise/agent4/lib/mysql-proxy/lua/?.so;/Applications/mysql/enterprise/agent4/lib/mysql-monitor-agent/lua/?.so;/Applications/mysql/enterprise/agent4/lib/mysql-aggregator/lua/?.so -- modules proxy: 0.7.0 MySQL Monitor Agent: 2.2.1.1717 aggr: 0.1.0.1717-mysql-aggregator-0.1.0r457_20100512_1717.tar.gz How to repeat: $ cd <AGENT>/bin $ ./mysql-monitor-agent --version