diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/43214-check_bgpstate.pl | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/43214-check_bgpstate.pl')
-rw-r--r-- | web/attachments/43214-check_bgpstate.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/attachments/43214-check_bgpstate.pl b/web/attachments/43214-check_bgpstate.pl new file mode 100644 index 0000000..9f867ff --- /dev/null +++ b/web/attachments/43214-check_bgpstate.pl | |||
@@ -0,0 +1,10 @@ | |||
1 | --- check_bgpstate.pl.orig Sat Feb 22 18:38:39 2003 | ||
2 | +++ check_bgpstate.pl Sat Feb 22 18:38:53 2003 | ||
3 | @@ -141,7 +141,7 @@ | ||
4 | $answer=$session->error; | ||
5 | $session->close; | ||
6 | $state = 'CRITICAL'; | ||
7 | - print ("$state: $answer,$community,$snmpkey"); | ||
8 | + print ("$state: $answer,$snmpkey"); | ||
9 | exit $ERRORS{$state}; | ||
10 | } \ No newline at end of file | ||