summaryrefslogtreecommitdiffstats
path: root/frontends/php/report1.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-12-12 20:08:40 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-12-12 20:08:40 +0000
commit9f6180a755e19bc28e644565fd26939034a31c62 (patch)
tree58cb9a31312ba2b01e75f4a802c57536f6f398f1 /frontends/php/report1.php
parent41063b1f247f517b461bf0d46dbd0f17cb659af8 (diff)
downloadzabbix-9f6180a755e19bc28e644565fd26939034a31c62.tar.gz
zabbix-9f6180a755e19bc28e644565fd26939034a31c62.tar.xz
zabbix-9f6180a755e19bc28e644565fd26939034a31c62.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@1536 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/report1.php')
-rw-r--r--frontends/php/report1.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/frontends/php/report1.php b/frontends/php/report1.php
index 9c116df8..59954535 100644
--- a/frontends/php/report1.php
+++ b/frontends/php/report1.php
@@ -36,18 +36,12 @@
$col=0;
$str=array("value"=>S_NO,"class"=>"on");
- 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) )
+ if( (exec("ps -ef|grep zabbix_server|grep -v grep|wc -l")>0) || (exec("ps -ax|grep zabbix_server|grep -v grep|wc -l")>0) )
{
$str=array("value"=>S_YES,"class"=>"off");
}
- table_row(array(S_ZABBIX_SUCKERD_IS_RUNNING,$str),$col++);
+ table_row(array(S_ZABBIX_SERVER_IS_RUNNING,$str),$col++);
- $str=array("value"=>S_NO,"class"=>"on");
- 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=array("value"=>S_YES,"class"=>"off");
- }
- table_row(array(S_ZABBIX_TRAPPERD_IS_RUNNING,$str),$col++);
table_row(array(S_NUMBER_OF_VALUES_STORED,$stats["history_count"]),$col++);
table_row(array(S_NUMBER_OF_TRENDS_STORED,$stats["trends_count"]),$col++);
table_row(array(S_NUMBER_OF_ALARMS,$stats["alarms_count"]),$col++);