From cbb3323a0ad2ae65d0134e01b807faf8df99a2d2 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sun, 11 Aug 2002 16:16:22 +0000 Subject: - added housekeeping procedure for table sessions (Alexei) - changed width=\"X%\" to width=X% in *.php (Alexei) - Status of a trigger will blink if it was changes during last 60 seconds (Alexei) - Zabbix daemons to update triggers.lastchange when triggers.values is changed (Alexei) - added misc/init.d/debian/zabbix-[suckerd|trapperd] (Alexei) - removed misc/init.d/debian/zabbix-server (Alexei) - send_email() will timeout after 10 seconds (Alexei) - DBadd_alarm() renamed to add_alarm() (Alexei) - support for SCO OpenServer (Alexei). Thanks to Alexender Kirhenstein. - ./configure will correctly define socklen_t (Alexei) -
changed to
(Alexei) - reason of problem in screen IT Services (Alexei) - added frontends.php/helpdesk.php (Alexei) - added tables: problems, problems_comments,categories (Alexei) - added "...#form" to button Change in form Configuration of Users (Alexei) - "Just for information" changed to "Information" (Alexei) - fixed ./configure to correctly find zlib (Alexei) - housekeeping to delete no more than HousekeepingFrequency*3600 records from table history and history_str at once (MySQL only) (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@450 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/tr_status.php | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) (limited to 'frontends/php/tr_status.php') diff --git a/frontends/php/tr_status.php b/frontends/php/tr_status.php index df6d8ceb..ed0409ec 100644 --- a/frontends/php/tr_status.php +++ b/frontends/php/tr_status.php @@ -239,10 +239,10 @@ if($priority==4) $p4=$count; if($priority==5) $p5=$count; } - echo "\n"; + echo "\n
"; echo ""; echo ""; - echo ""; + echo ""; echo ""; echo ""; echo ""; @@ -255,7 +255,7 @@ show_table_header("TRIGGERS $time"); } - echo "
Not classified: $p0Just information: $p1Information: $p1Warning: $p2Average: $p3High: $p4
"; + echo "
"; echo ""; if(isset($fullscreen)) @@ -277,20 +277,20 @@ if($compact!='true') {echo "
Expression";} echo ""; - echo ""; + echo ""; if(!isset($sort)||(isset($sort) && $sort=="priority")) { - echo ""; + echo ""; } else { echo ""; + echo ""; } - echo ""; + echo ""; echo "\n"; if(isset($hostid)) @@ -391,15 +391,25 @@ echo "
".explode_exp($row["expression"],1).""; } echo ""; + if( (time(NULL)-$row["lastchange"])<60) + { + $blink1=""; + $blink2=""; + } + else + { + $blink1=""; + $blink2=""; + } if($row["value"]==0) - { echo "";} + { echo "";} else if($row["value"]==2) - { echo ""; } + { echo ""; } else - { echo ""; } + { echo ""; } if($row["priority"]==0) echo ""; - elseif($row["priority"]==1) echo ""; + elseif($row["priority"]==1) echo ""; elseif($row["priority"]==2) echo ""; elseif($row["priority"]==3) echo ""; elseif($row["priority"]==4) echo ""; -- cgit
StatusStatusPRIORITYPRIORITYPriority"; } if($noactions=='true') - echo ""; + echo ""; else - echo ""; + echo ""; if(isset($sort) && $sort=="lastchange") { @@ -304,9 +304,9 @@ if($noactions!='true') { - echo "ActionsActionsCommentsComments
FALSE$blink1FALSE$blink2UNKNOWN$blink1UNKNOWN$blink2TRUE$blink1TRUE$blink2Not classifiedJust informationInformationWarningAverageHigh