Hi @c2s_talan did you check this documentation?
Hi, yes I did but it doesn’t talk about systemd and there is nothing regarding ubuntu.
Also, on the client side there is only 7 commands available in the /etc/nagios/nrpe.cfg
commandocheck_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
commandocheck_load]=/usr/lib64/nagios/plugins/check_load -r -w .15,.10,.05 -c .30,.25,.20
commandocheck_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
commandocheck_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z
commandocheck_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200
commandocheck_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
commandocheck_procs]=/usr/local/nagios/libexec/check_procs -C $ARG1$
I would like a monitor to get an alert when a service is down (sshd or httpd for example).
Thank you for your piece of advice.
Regards.
You can control process using following plugin: check_procs
Yes but what would be the command to make sure my process is running and how to get an alert when it is no longer running?