Code

removed community string in CRIT message
authorSubhendu Ghosh <sghosh@users.sourceforge.net>
Sun, 23 Feb 2003 17:10:39 +0000 (17:10 +0000)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>
Sun, 23 Feb 2003 17:10:39 +0000 (17:10 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@355 f882894a-f735-0410-b71e-b25c423dba1c

contrib/check_bgpstate.pl

index 6658a0b8f26a5c1ca3e614464a94a586f919bc5e..645d7505e62013c7ab84d623ba6b085964da5a4c 100644 (file)
@@ -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};
    }