Skip to content

Commit

Permalink
check_ifstatus: perfdata bug
Browse files Browse the repository at this point in the history
Just turning attached patch of github issue #721 into a push request
  • Loading branch information
waja authored and abrist committed Jan 22, 2014
1 parent dcf1d95 commit 5496912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions THANKS.in
Expand Up @@ -302,3 +302,4 @@ Sebastian Schmidt
Simon Kainz
Steve Weinreich
Tim Laszlo
Patric Wust
2 changes: 1 addition & 1 deletion plugins-scripts/check_ifstatus.pl
Expand Up @@ -216,7 +216,7 @@
$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};

Expand Down

0 comments on commit 5496912

Please sign in to comment.