[ZBX-4801] proc.num[zabbix_server_mysql] always return 0 Created: 2012 Mar 26 Updated: 2017 May 30 Resolved: 2012 Mar 26 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 1.8.11 |
Fix Version/s: | 1.8.12rc1, 2.0.0rc3 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Serg Klever | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix Agent (daemon) v1.8.11 (revision 26205) (20 March 2012) |
Issue Links: |
|
Description |
[root@zabbix sbin]# zabbix_get -s localhost -k proc.num[zabbix_server_mysql] [root@zabbix sbin]# ps ax | grep -c zabbix_server_mysql I stopped new agent and replaced zabbix_agentd with old binary and started old agent: [root@zabbix sbin]# zabbix_agentd -V [root@zabbix sbin]# zabbix_get -s localhost -k proc.num[zabbix_server_mysql] |
Comments |
Comment by Serg Klever [ 2012 Mar 26 ] |
with agent 1.8.10 and 1.8.11 [root@zabbix sbin]# zabbix_get -s localhost -k proc.num[httpd] |
Comment by Alexander Vladishev [ 2012 Mar 26 ] |
Thank you for your report! I confirm. Names of processes more than 15 characters are processed not correctly. |
Comment by Alexander Vladishev [ 2012 Mar 26 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4801 |
Comment by dimir [ 2012 Mar 27 ] |
Successfully tested! Please review my changes in r26431 (feel free to discard the function name change). <Sasha> Great! |
Comment by Alexander Vladishev [ 2012 Mar 28 ] |
Fixed in versions pre-1.8.12 r26444 and pre-2.0.0 r26446 |