summaryrefslogtreecommitdiffstats
path: root/frontends/php/report1.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/report1.php')
-rw-r--r--frontends/php/report1.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/report1.php b/frontends/php/report1.php
index 048fd94f..560d559d 100644
--- a/frontends/php/report1.php
+++ b/frontends/php/report1.php
@@ -40,7 +40,7 @@
<td>Is zabbix_suckerd running ?</td>
<?php
$str="<font color=\"AA0000\">No</font>";
- if(exec("ps -ef|grep zabbix_suckerd|grep -v grep|wc -l")>0)
+ if( (exec("ps -ef|grep zabbix_suckerd|grep -v grep|wc -l")>0) || (exec("ps -ax|grep zabbix_suckerd|grep -v grep|wc -l")>0) )
{
$str="<font color=\"00AA00\">Yes</font>";
}
@@ -52,7 +52,7 @@
<td>Is zabbix_trapperd running ?</td>
<?php
$str="<font color=\"AA0000\">No</font>";
- if(exec("ps -ef|grep zabbix_trapperd|grep -v grep|wc -l")>0)
+ if( (exec("ps -ef|grep zabbix_trapperd|grep -v grep|wc -l")>0) || (exec("ps -ax|grep zabbix_trapperd|grep -v grep|wc -l")>0) )
{
$str="<font color=\"00AA00\">Yes</font>";
}