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.
This might seem like a daft question, but I'm trying to check whether a specific service named (for example) "dave" is running on a number of Linux hosts.
I'm familiar with monitoring both services and processes on Windows hosts with check_nt and with the installation of the Nagios plugins and NRPE on Linux hosts, I'm just having difficulty in Googling whether or not either of these will do the job for me, or if I'm going to have to download something different altogether.
Thanks in anticipation of your usual excellent level of service!
I can't believe it - I finally realised that the reason why this doesn't work is because I don't have check_init_service installed on my remote host!
How do I get hold of it, please - as it doesn't come with the standard Nagios plugins?
Yours, stupidly
Pete
Good morning - I installed nrpe using the following steps:
cd /home/downloads
tar xvfz nrpe-2.15.tar.gz
cd nrpe-2.15
yum install openssl-devel
./configure --enable-ssl –enable-command-args
make all
make install-plugin
make install-daemon
make install-daemon-config
yum install xinetd
make install-xinetd
And I'm using Core 4.3.4, not XI. So, when I unpack it, all I seem to get is check_nrpe in my /usr/local/nagios/libexec folder - nothing that looks like check_init_service.
I've since downloaded check_service.sh which is working fine - it's just that I wanted to have the minimum number of nor-"core" plugins installed, but not to worry.
I've since downloaded check_service.sh which is working fine - it's just that I wanted to have the minimum number of nor-"core" plugins installed, but not to worry.
It's in linux-nrpe-agent\subcomponents\extraplugins\plugins directory.
In addition to this, you could have used the "check_procs" plugin, which is a "native" nagios plugin. With it, you can filter processes by PPID, command, etc.
I am sure you can. In Linux, it is more difficult to differentiate between a process and a service. All services are processes in a way - there could be one or more processes, that stem from a service . A process is not necessarily a "service", i.e. your web browser or email client. The bottom line - use whatever plugin fits your needs.
Have a nice weekend too!
Be sure to check out our Knowledgebase for helpful articles and solutions!