How to add checks for linux services (apache, mysql, etc..)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
tmeto
Posts: 26
Joined: Tue Aug 20, 2013 4:59 am

How to add checks for linux services (apache, mysql, etc..)

Post by tmeto »

Hi, we need to include checks Nagios for monitoring MySQL service, Apache service, etc .. to a remote machine (these services are located in /etc/init.d). How can I implemente it without using the agent NRPE? thanks
Last edited by tmcdonald on Wed Jun 24, 2015 8:46 am, edited 1 time in total.
Reason: I moved your post from Plugin Development into Nagios Core
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: How to add checks for linux services (apache, mysql, etc

Post by jdalrymple »

tmeto wrote:How can I implemente it without using the agent NRPE?
The solutions that stand out in my mind are

check_by_ssh
check_snmp
check_nrpe using nscp daemon

or just do check_http and/or check_mysql as remote checks from the Nagios host - this would be the most complete solution anyway.

What is it about NRPE that you don't like?
Locked