瀏覽代碼

removed community string in CRIT message

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@355 f882894a-f735-0410-b71e-b25c423dba1c
Subhendu Ghosh 23 年之前
父節點
當前提交
c59cfa34e0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/check_bgpstate.pl

+ 1 - 1
contrib/check_bgpstate.pl

@@ -141,7 +141,7 @@ foreach $snmpoid (@snmpoids) {
       $answer=$session->error;
       $answer=$session->error;
       $session->close;
       $session->close;
       $state = 'CRITICAL';
       $state = 'CRITICAL';
-      print ("$state: $answer,$community,$snmpkey");
+      print ("$state: $answer,$snmpkey");
       exit $ERRORS{$state};
       exit $ERRORS{$state};
    }
    }