From: <abe...@us...> - 2014-06-19 18:20:37
|
Revision: 6556 http://sourceforge.net/p/astlinux/code/6556 Author: abelbeck Date: 2014-06-19 18:20:33 +0000 (Thu, 19 Jun 2014) Log Message: ----------- web interface, Status tab, Zabbix Monitoring Status, properly match processes with Zabbix 2.2.x Modified Paths: -------------- branches/1.0/package/webinterface/altweb/common/status.inc Modified: branches/1.0/package/webinterface/altweb/common/status.inc =================================================================== --- branches/1.0/package/webinterface/altweb/common/status.inc 2014-06-19 17:36:03 UTC (rev 6555) +++ branches/1.0/package/webinterface/altweb/common/status.inc 2014-06-19 18:20:33 UTC (rev 6556) @@ -102,9 +102,9 @@ $status['pptpd']++; } elseif (strpos($line, ' upsmon') !== FALSE || strpos($line, '/upsmon') !== FALSE) { $status['upsmon']++; - } elseif (strpos($line, ' zabbix_agentd ') !== FALSE || strpos($line, '/zabbix_agentd ') !== FALSE) { + } elseif (strpos($line, ' zabbix_agentd ') !== FALSE || strpos($line, ' zabbix_agentd: ') !== FALSE) { $status['zabbix_agentd']++; - } elseif (strpos($line, ' zabbix_proxy ') !== FALSE || strpos($line, '/zabbix_proxy ') !== FALSE) { + } elseif (strpos($line, ' zabbix_proxy ') !== FALSE || strpos($line, ' zabbix_proxy: ') !== FALSE) { $status['zabbix_proxy']++; } elseif (strpos($line, 'reboot -d') !== FALSE) { $status['reboot']++; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |