nagios-plugins
nagios-plugins copied to clipboard
A collection of Nagios Plugins I've written
Hello guys, I've wrote the script on my server. Manually i get the status of the service. But somehow when i put it in a script that manage all my...
When exec i got: ``` [root@server plugins]# ./check_service.sh -o linux -s sshd ● sshd.service - OpenSSH server daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled) Active: active (running) since vie...
Hi, I have not clear where is the mistake on script check_service, because some running service return exit 0 (OK) and others also running return exit 2 Evidence of exit...
Line 314 - Modified RegEx On OSX If PID ends in '0' - no match is made, and Unknown status is erroneously returned. Unknown status: 60 0 com.promise.sanlinkdaemon Is there...
Hi, I am trying to setup tomcatl service check using this plugin. Can you please help me out with this issue. NRPE COMMAND on Tomcat server  The above command...
Hi, first of all thanks for your simple to understand nagios checks. On Debian Jessie with systemctl , I had to remove 2 cases. Because the would respond with a...
There should be an option to check the age of the log file. It should be critical/warning if it's too old. This will help identify if the module isn't loaded,...
Hey!  any ideas why is it happen?
I added the splunk services to the commands.conf and service.conf file with the goal of being able to monitor if/when the splunk services stopped. Here are the config files: command.conf:...
When I use this script on CentOS 6.6, it uses 'status' as command. Unfortunately, this does not see postfix as a valid job: [root@hostname tmp] (@unknown.foo.com.) # status postfix status...