# (2) Converted checks to new plugin mechanism (Stephen Johnson May 28, 1999)
# Added user-configurable escalation mechanism
#
-# $Id: spong-network.pl,v 1.44 2002/06/24 19:01:07 sljohnson Exp $
+# $Id: spong-network.pl,v 1.45 2002/10/31 22:14:27 sljohnson Exp $
use Carp;
use lib "@@LIBDIR@@";
$crit_count += 1;
$color = 'red';
if ($crit_count < $CRIT_WARN_LEVEL) {
- $color = 'yellow' if $laststatus eq 'green';
$skip_status = 1;
- $HOSTS{$host}->{'service'}->{$service}->{'laststatus'} = 'yellow';
+ $HOSTS{$host}->{'service'}->{$service}->{'laststatus'} = 'red';
} else {
$HOSTS{$host}->{'service'}->{$service}->{'laststatus'} = 'red';
}