Page 1 of 1

Nagios XI SNMP Check for zombie processes

Posted: Wed Jan 09, 2019 9:42 pm
by emartine
Is it possible to monitor zombie processes with snmp?

I am trying to find the correct syntax to monitor a process to ensure that it doesn't exceed 100 processes.
So the logic would be that from 1-99 processes it is ok but above 100 processes send me a notification.


I've been playing around with this plugin but not getting the desired result as I am not understanding how the threshold work.

/usr/local/nagios/libexec/check_snmp_process_wizard.pl -H <IP> -C public --v2c -r -n <service> -w '0' -c '0'


Much appreciate any help.

Re: Nagios XI SNMP Check for zombie processes

Posted: Thu Jan 10, 2019 12:20 pm
by lmiltchev
The plugin requires ranges, not single values.
-w, --warn=MIN[,MAX]
Number of process that will cause a warning
-1 for no warning, MAX must be >0. Ex : -w-1,50
-c, --critical=MIN[,MAX]
number of process that will cause an error (
-1 for no critical, MAX must be >0. Ex : -c-1,50
Try running:

Code: Select all

/usr/local/nagios/libexec/check_snmp_process_wizard.pl -H <IP> -C public --v2c -r -n <service> -w '1,99' -c '1,99'
This should return CRITICAL if the number of processes is above 99. If you also wanted to get the WARNINGs, you would need to tweak the warning threshold. Let us know if this helped. Thank you!

Re: Nagios XI SNMP Check for zombie processes

Posted: Thu Jan 10, 2019 1:38 pm
by emartine
Thank you lmiltchev. The duality was a bit confusing. You can close this.

Re: Nagios XI SNMP Check for zombie processes

Posted: Thu Jan 10, 2019 2:02 pm
by lmiltchev
I am glad I could help!