aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/check_bgpstate.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_bgpstate.pl b/contrib/check_bgpstate.pl
index 6658a0b8..645d7505 100644
--- a/contrib/check_bgpstate.pl
+++ b/contrib/check_bgpstate.pl
@@ -141,7 +141,7 @@ foreach $snmpoid (@snmpoids) {
$answer=$session->error;
$session->close;
$state = 'CRITICAL';
- print ("$state: $answer,$community,$snmpkey");
+ print ("$state: $answer,$snmpkey");
exit $ERRORS{$state};
}