Home Directory Plugins Reporting Linux Check Service

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Linux Check Service

Rating
2 votes
Favoured:
1
Current Version
1.0
Last Release Date
2018-04-03
Compatible With
  • Nagios 4.x
Owner
License
MIT
Hits
31542
Files:
FileDescription
check_servicecheck_service script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios plugin to check if a service is running. It uses systemd.
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!
Reviews (1)
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 ?