OpenBSD

Check Relayd

Description:

Comprehensive perl relayd checker.

Current Version

0.5

Last Release Date

2014-09-01

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Notes
NOTE:- Requires Perl 5.8 or higher Nagios user will need sudo access - suggest adding line below to sudoers _nagios ALL=(ALL) NOPASSWD: /usr/sbin/relayctl show summary This plugin is designed to run on a local host, if Nagios is not local I suggest you run it via NRPE. However if you are running this on a firewall I would recommend not using NRPE and run a local Nagios useing OCSP/OCHP to pass messages back to your main Nagios. Usage: Check_relayd checks that all redirect & relays loaded by relayd are active. If a redirect/relay or table are down/empty it will give a CRITICAL message with information regarding what has failed. If host(s) are down in a given redirect/relay then it will give a WARNING unless there are 0 up for that relay/redirect in which case it will give a CRITICAL. If relayd returns any unexpected output (command failure, system errors) this program will return a CRITICAL. check_relayd [ARGS] -h, -?, --help Print Help Information -V, --version Print Version Information -r, --relay, --redirect Optional -r argument you can give a list of the expected relays/redirect separated by commas (,). If it does not find the relay/redirect return CRITICAL. If a relay/redirect is found that is not defined return WARNING (unless you also use -n see below). -n, --nowarn If -r is used do not warn for unexpected relay/redirect found so that we can test just for a single relay/redirect. If you need any support or help with this plugin or if you find any cool ways of improving it please let me know. __ Notes: v0.2 include sudo line as required for being given output from relayctl. Running without this will give false positive. v0.3 single bug change to extract hash data in error message correctly. v0.4 14/06/2011 - Peter Mottram - added nowarn (-n) v0.5 27/08/2014 - Markus Gebert - check relayctl return code
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
98,557