diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-02-23 17:10:39 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-02-23 17:10:39 +0000 |
commit | c59cfa34e0829dbcd9204e094daedd4d8049dcb6 (patch) | |
tree | 511f4d5913e721d67f7a34b06bd2dfc2ff4c2532 /contrib/check_bgpstate.pl | |
parent | 90d58acf74c1ac6d3243081339be68e9dbb2381c (diff) | |
download | monitoring-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
Diffstat (limited to 'contrib/check_bgpstate.pl')
-rw-r--r-- | contrib/check_bgpstate.pl | 2 |
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) { | |||
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 | ||