From a0798228587ee211dfec887f88b25c55ddd16ecb Mon Sep 17 00:00:00 2001 From: Harper Mann Date: Tue, 29 Nov 2005 23:21:06 +0000 Subject: UNKNOWN exit status was returning status of "-1", changed to "3" git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1290 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/contrib/check_email_loop.pl b/contrib/check_email_loop.pl index bcaf13b..fb418ee 100644 --- a/contrib/check_email_loop.pl +++ b/contrib/check_email_loop.pl @@ -41,10 +41,10 @@ use Getopt::Long; # ---------------------------------------- my $TIMEOUT = 120; -my %ERRORS = ('UNKNOWN' , '-1', - 'OK' , '0', +my %ERRORS = ('OK' , '0', 'WARNING', '1', 'CRITICAL', '2'); + 'UNKNOWN' , '3'); my $state = "UNKNOWN"; my ($sender,$receiver, $pophost, $popuser, $poppasswd, $smtphost,$keeporphaned); -- cgit v0.10-9-g596f