S_NO,"class"=>"on"); 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_SERVER_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++); table_row(array(S_NUMBER_OF_ALERTS,$stats["alerts_count"]),$col++); table_row(array(S_NUMBER_OF_TRIGGERS_ENABLED_DISABLED,$stats["triggers_count"]."(".$stats["triggers_count_enabled"]."/".$stats["triggers_count_disabled"].")"),$col++); table_row(array(S_NUMBER_OF_ITEMS_ACTIVE_TRAPPER,$stats["items_count"]."(".$stats["items_count_active"]."/".$stats["items_count_trapper"]."/".$stats["items_count_not_active"]."/".$stats["items_count_not_supported"].")"),$col++); table_row(array(S_NUMBER_OF_USERS,$stats["users_count"]),$col++); table_row(array(S_NUMBER_OF_HOSTS_MONITORED,$stats["hosts_count"]."(".$stats["hosts_count_monitored"]."/".$stats["hosts_count_not_monitored"]."/".$stats["hosts_count_template"].")"),$col++); table_end(); ?>