[Nagiosplug-checkins] nagiosplug/contrib check_email_loop.pl,1.4,1.5

Harper Mann harpermann at users.sourceforge.net
Tue Nov 29 15:22:00 CET 2005


Update of /cvsroot/nagiosplug/nagiosplug/contrib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26186

Modified Files:
	check_email_loop.pl 
Log Message:
UNKNOWN exit status was returning status of "-1", changed to "3"


Index: check_email_loop.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/contrib/check_email_loop.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- check_email_loop.pl	29 Nov 2005 23:19:06 -0000	1.4
+++ check_email_loop.pl	29 Nov 2005 23:21:06 -0000	1.5
@@ -41,10 +41,10 @@
 # ----------------------------------------
 
 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);





More information about the Commits mailing list