diff options
Diffstat (limited to 'plugins-scripts/check_ifstatus.pl')
-rwxr-xr-x | plugins-scripts/check_ifstatus.pl | 2 |
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 | } |
209 | my $perfdata = sprintf("up:%d,down:%d,dormant:%d,excluded:%d,unused:%d",$ifup,$ifdown,$ifdormant,$ifexclude,$ifunused); | 209 | my $perfdata = sprintf("up=%d,down=%d,dormant=%d,excluded=%d,unused=%d",$ifup,$ifdown,$ifdormant,$ifexclude,$ifunused); |
210 | print ("$state: $answer |$perfdata\n"); | 210 | print ("$state: $answer |$perfdata\n"); |
211 | exit $ERRORS{$state}; | 211 | exit $ERRORS{$state}; |
212 | 212 | ||