Code

Perfdata corrected (Garry Cook)
[nagiosplug.git] / 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};