nagios-plugins
nagios-plugins copied to clipboard
Scripts and plugins for Nagios
grep -v egrep does not work. Maybe it did in the past, but now I see that it's translated onto "grep -E". Instead of using grep, I have added a...
When an error message is "short enough" to be found by check_puppet_agent but is also multi-lines long, the script spits out the multi-lines which nagios cuts off. **Output**: CRITICAL: Last...
There is apparently "secure" info in last_run_report so puppetlabs have made the file not world readable. That means that it is not possible for the script to read that file.
If somebody would use quotes (or backticks) in some kind of message, using eval would allow them to execute malicious code on purpose or by accident. IE: If any backticks...
- as well added first errror for result code 13 for better visibility - also added full path for sed binaries to avoide alias are getting used, same goes for...
This implements some of the fixes proposed in #38 , which appears to be necessary in my Puppet 4/5 environment. Tested on : Debian Stretch/Buster, Fedora 26/27, CentOS 6/7, Ubuntu...
Check_puppet_agent can only be run as root on my install. ``` str@puppetpal:/usr/lib/nagios/plugins$sudo -u nagios ./check_puppet_agent Error: Could not initialize global default settings: Permission denied @ dir_s_mkdir - /home/str/.puppetlabs UNKNOWN: Internal...
Hi, Right now most of time script spends in running 'puppet config print' 4 times. It's inefficient and causes noticeable runtime for the script. It's not a big deal but...
I have a consistent issue with the script on debian 8 with puppet 4.8.2 . A failed puppet agent run is still being reported as OK by this script. it...