summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2003-02-23 17:10:39 (GMT)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2003-02-23 17:10:39 (GMT)
commitc59cfa34e0829dbcd9204e094daedd4d8049dcb6 (patch)
tree511f4d5913e721d67f7a34b06bd2dfc2ff4c2532
parent90d58acf74c1ac6d3243081339be68e9dbb2381c (diff)
downloadmonitoring-plugins-c59cfa34e0829dbcd9204e094daedd4d8049dcb6.tar.gz
removed community string in CRIT message
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@355 f882894a-f735-0410-b71e-b25c423dba1c
-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 6658a0b..645d750 100644
--- a/contrib/check_bgpstate.pl
+++ b/contrib/check_bgpstate.pl
@@ -141,7 +141,7 @@ foreach $snmpoid (@snmpoids) {
141 $answer=$session->error; 141 $answer=$session->error;
142 $session->close; 142 $session->close;
143 $state = 'CRITICAL'; 143 $state = 'CRITICAL';
144 print ("$state: $answer,$community,$snmpkey"); 144 print ("$state: $answer,$snmpkey");
145 exit $ERRORS{$state}; 145 exit $ERRORS{$state};
146 } 146 }
147 147