| Bug #54700 | agent --version shows the wrong agent version on Mac OS X | ||
|---|---|---|---|
| Submitted: | 22 Jun 2010 16:50 | Modified: | 23 Jun 2010 17:31 |
| Reporter: | Marcos Palacios | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Enterprise Monitor: Agent | Severity: | S3 (Non-critical) |
| Version: | 2.2.1.1717 | OS: | Any |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[22 Jun 2010 17:36]
Marcos Palacios
The agent --version w/ 2.1.2.1166 looks OK: $ ./mysql-monitor-agent --version mysql-proxy 0.7.0 glib2: 2.16.6 libevent: 1.4.13-stable proxy: 0.7.0 monitor: 0.7.0 MySQL Monitor Agent(agent): 2.1.2.1166 admin: 0.7.0

Description: On Mac OS X, the --version option shows the output below, where the first line has the wrong agent version. The Mac agent shows "mysql-monitor-agent 2.2.0" whereas elsewhere we see "mysql-proxy 0.8.0". $ ./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