summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_ifstatus.pl
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-08-18 19:51:35 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-08-18 19:51:35 (GMT)
commit99af226d3d26c4b13d3f94458b269cdcaace7651 (patch)
tree5e0d512cbb9ac924857c5cb12cf1614cbeebcdf2 /plugins-scripts/check_ifstatus.pl
parent92abc218b0626314774aa791d388a45746eb386a (diff)
downloadmonitoring-plugins-99af226d3d26c4b13d3f94458b269cdcaace7651.tar.gz
Perfdata corrected (Garry Cook)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@884 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/check_ifstatus.pl')
-rwxr-xr-xplugins-scripts/check_ifstatus.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl
index 7452394..1a168bf 100755
--- a/plugins-scripts/check_ifstatus.pl
+++ b/plugins-scripts/check_ifstatus.pl
@@ -206,7 +206,7 @@ foreach $key (keys %ifStatus) {
206 $ifexclude, 206 $ifexclude,
207 $ifunused); 207 $ifunused);
208 } 208 }
209my $perfdata = sprintf("up:%d,down:%d,dormant:%d,excluded:%d,unused:%d",$ifup,$ifdown,$ifdormant,$ifexclude,$ifunused); 209my $perfdata = sprintf("up=%d,down=%d,dormant=%d,excluded=%d,unused=%d",$ifup,$ifdown,$ifdormant,$ifexclude,$ifunused);
210print ("$state: $answer |$perfdata\n"); 210print ("$state: $answer |$perfdata\n");
211exit $ERRORS{$state}; 211exit $ERRORS{$state};
212 212