Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
Mark Clarkson
Download URL
https://github.com/mclarkson/check_puppet_log
License
GPL
Compatible With
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!
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!