Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Linux Check Service
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Simple, and one function only.
This is a plugin for Nagios wich you can use to check if a linux service is running.
This plugin uses systemctl is-active command, please check you have systemd.
How to use it?
Simple invoke the command with -s parameter and the name of the service
Example of use
./check_service -s ntpd
Thank you!
If this works for you, please leave a comment or a review!
This plugin uses systemctl is-active command, please check you have systemd.
How to use it?
Simple invoke the command with -s parameter and the name of the service
Example of use
./check_service -s ntpd
Thank you!
If this works for you, please leave a comment or a review!
Reviews (1)
byDenisght, February 20, 2020
Hello,
I get a error "NRPE: Unable to read output" when I use it with Nrpe. When I just run the script it works fine. In the nrpe logs i see WARNING: my_system() seteuid(0): Operation not permitted
but when I run the script as nrpe user it works. Have you set permissions somewhere ?
I get a error "NRPE: Unable to read output" when I use it with Nrpe. When I just run the script it works fine. In the nrpe logs i see WARNING: my_system() seteuid(0): Operation not permitted
but when I run the script as nrpe user it works. Have you set permissions somewhere ?