[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_ifstatus.pl,1.8,1.9
Ton Voon
tonvoon at users.sourceforge.net
Wed Aug 18 12:52:17 CEST 2004
Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27131
Modified Files:
check_ifstatus.pl
Log Message:
Perfdata corrected (Garry Cook)
Index: check_ifstatus.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_ifstatus.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** check_ifstatus.pl 5 Nov 2003 22:59:41 -0000 1.8
--- check_ifstatus.pl 18 Aug 2004 19:51:35 -0000 1.9
***************
*** 207,211 ****
$ifunused);
}
! my $perfdata = sprintf("up:%d,down:%d,dormant:%d,excluded:%d,unused:%d",$ifup,$ifdown,$ifdormant,$ifexclude,$ifunused);
print ("$state: $answer |$perfdata\n");
exit $ERRORS{$state};
--- 207,211 ----
$ifunused);
}
! my $perfdata = sprintf("up=%d,down=%d,dormant=%d,excluded=%d,unused=%d",$ifup,$ifdown,$ifdormant,$ifexclude,$ifunused);
print ("$state: $answer |$perfdata\n");
exit $ERRORS{$state};
More information about the Commits
mailing list