Software

check_puppet_log

Description:

Checks /var/log/messages for general puppet-agent problems. The status will not return to ‘green’ until the problem is fixed.

Current Version

0.10

Last Release Date

May 20, 2012

Compatible With

  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Photos
Project Notes
This plugin checks /var/log/messages for various errors output by the puppet agent. Sometimes this plugin will not show that an error has cleared until the puppet agent has run twice. Don't use this plugin if your /var/log/messages file is huge - it basically just grep's it. Only two options, '-h' - help and '-s' - use sudo. Ensure that: * Nagios can actually read /var/log/messages. * Puppet sends its logs to /var/log/messages. Internal support for sudo means that only 'cat' needs to be allowed in sudoers for nagios. Use the -s option: check_puppet_log.sh -s and allow nagios to use cat only as root, maybe: %nagios ALL=NOPASSWD: /bin/cat /var/log/messages Tested with various puppet agents from 0.25 to 2.6.16 on Centos 5.x Not tested with the -s option - write a comment if sudo option works for you, thanks!
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
69,127