diff options
-rw-r--r-- | THANKS.in | 1 | ||||
-rwxr-xr-x | plugins-scripts/check_ifstatus.pl | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -323,3 +323,4 @@ Eric J. Mislivec | |||
323 | Jean-Claude Computing | 323 | Jean-Claude Computing |
324 | Andy Brist | 324 | Andy Brist |
325 | Mikael Falkvidd | 325 | Mikael Falkvidd |
326 | Patric Wust | ||
diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl index fb17d98..709ad17 100755 --- a/plugins-scripts/check_ifstatus.pl +++ b/plugins-scripts/check_ifstatus.pl | |||
@@ -221,7 +221,7 @@ foreach $key (keys %ifStatus) { | |||
221 | $ifexclude, | 221 | $ifexclude, |
222 | $ifunused); | 222 | $ifunused); |
223 | } | 223 | } |
224 | my $perfdata = sprintf("up=%d,down=%d,dormant=%d,excluded=%d,unused=%d",$ifup,$ifdown,$ifdormant,$ifexclude,$ifunused); | 224 | my $perfdata = sprintf("up=%d down=%d dormant=%d excluded=%d unused=%d",$ifup,$ifdown,$ifdormant,$ifexclude,$ifunused); |
225 | print ("$state: $answer |$perfdata\n"); | 225 | print ("$state: $answer |$perfdata\n"); |
226 | exit $ERRORS{$state}; | 226 | exit $ERRORS{$state}; |
227 | 227 | ||