Nagios XI SNMP Check for zombie processes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Nagios XI SNMP Check for zombie processes

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI SNMP Check for zombie processes

Post 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: Nagios XI SNMP Check for zombie processes

Post by emartine »

Thank you lmiltchev. The duality was a bit confusing. You can close this.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI SNMP Check for zombie processes

Post by lmiltchev »

I am glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked