

This will enable you to run the check_procs_zombie NRPE-command via the check_nrpe check_command in op5 Monitor and monitor Zombie processes.NetCrunch runs on Windows Server (virtual or physical) and allows for efficient, agentless network monitoring, network visibility and advanced alert and remediation action management system. Since we are defining the function on the client we need to pass it the arguments it requires, in this case -w (Warning) -c (Critical) and -s (State) command=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z Add the following line to the aforementioned file. This is specified in /etc/nrpe.d/op5_commands.cfg. The NRPE command check_proc_zombie needs to be added to the NRPE configuration on the host.

The check_proc_zombie in the above example is a NRPE-command. One way to use NRPE to check for zombie processes would be to use the check_command: check_nrpe and specify: $USER1$/check_nrpe -s -H $HOSTADDRESS$ -c check_proc_zombie

A guide on how to set up NRPE can be found here: Installation of NRPE agent on CentOS and RHEL.

If you still need to monitor Zombie processes, we suggest using NRPE. The result of this limitation is that all Idle processes that are handled by the check_command "check_by_snmp_procs total_number_of_zombie_processes" reports all Idle processes as Zombie. This is due to a limitation in the library for net-snmp which makes it unable to distinguish between the process states: Idle and Zombie. The functionality of total_number_of_zombie_processes has been broken as of Linux Kernel v.4.14 and the introduction of Process State: Idle.
