Skip to content

Commit

Permalink
Updated checks on poller time
Browse files Browse the repository at this point in the history
  • Loading branch information
laf committed Mar 15, 2015
1 parent 6a6a9c7 commit 2618f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/pages/performance/pollers.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

foreach (dbFetchRows($query) as $poller) {
$old = $poller['now'] - $poller['then'];
if ($old > 600) {
if ($old >= 300) {
$row_class = 'danger';
} elseif ($old >= 280 && $old <= 300) {
} elseif ($old >= 280 && $old < 300) {
$row_class = 'warning';
} else {
$row_class = 'success';
Expand Down

0 comments on commit 2618f14

Please sign in to comment.