summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorHarper Mann <harpermann@users.sourceforge.net>2005-11-29 23:21:06 +0000
committerHarper Mann <harpermann@users.sourceforge.net>2005-11-29 23:21:06 +0000
commita0798228587ee211dfec887f88b25c55ddd16ecb (patch)
tree3c3b5447fa8c9c6330bdc56d0a30241709b72dd2 /contrib
parenta15ea2615f337019e2e57310d1b6eb4c09e94ce9 (diff)
downloadmonitoring-plugins-a0798228587ee211dfec887f88b25c55ddd16ecb.tar.gz
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
Diffstat (limited to 'contrib')
-rw-r--r--contrib/check_email_loop.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/check_email_loop.pl b/contrib/check_email_loop.pl
index bcaf13b4..fb418ee3 100644
--- a/contrib/check_email_loop.pl
+++ b/contrib/check_email_loop.pl
@@ -41,10 +41,10 @@ use Getopt::Long;
41# ---------------------------------------- 41# ----------------------------------------
42 42
43my $TIMEOUT = 120; 43my $TIMEOUT = 120;
44my %ERRORS = ('UNKNOWN' , '-1', 44my %ERRORS = ('OK' , '0',
45 'OK' , '0',
46 'WARNING', '1', 45 'WARNING', '1',
47 'CRITICAL', '2'); 46 'CRITICAL', '2');
47 'UNKNOWN' , '3');
48 48
49my $state = "UNKNOWN"; 49my $state = "UNKNOWN";
50my ($sender,$receiver, $pophost, $popuser, $poppasswd, $smtphost,$keeporphaned); 50my ($sender,$receiver, $pophost, $popuser, $poppasswd, $smtphost,$keeporphaned);