Code

Perfdata corrected (Garry Cook)
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 18 Aug 2004 19:51:35 +0000 (19:51 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 18 Aug 2004 19:51:35 +0000 (19:51 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@884 f882894a-f735-0410-b71e-b25c423dba1c

plugins-scripts/check_ifstatus.pl

index 7452394d33faf58a5d98093c12510aad55d6205a..1a168bf013961a4b3ff56062ad37aaf30889e8a3 100755 (executable)
@@ -206,7 +206,7 @@ foreach $key (keys %ifStatus) {
                        $ifexclude,
                        $ifunused);
    }
-my $perfdata = sprintf("up:%d,down:%d,dormant:%d,excluded:%d,unused:%d",$ifup,$ifdown,$ifdormant,$ifexclude,$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};