Hi all,
I need to check if some processes are active in some linux servers.
I have nagios correctly installed in a CentOS machine, and it works.
For check processes of windows boxes, there is the check_nt (SERVICE_STATE or PROC_STATE) plugin, and it’s ok.
But for check processes on Linux Boxes, i only found this solution, but i’d like to know if there are betters:
- In nagios configuration, the command line is check_nrpe!check_this_service
- In the linux box needed to be checked, added to /etc/nagios/nrpe.cfg a line command[check_this_service]=/usr/lib/nagios/plugins/check_system_pp
- edit /usr/lib/nagios/plugins/check_system_pp adding #
Processes to check
PROCLIST_RED=“nameoftheprocess"
PROCLIST_YELLOW=”"
So for every process needed to be monitored i have to do all of this…
Any suggestion / plugin for a easier way to do ?
Thans in advance to all !