[Nagiosplug-devel] [ nagiosplug-Patches-2802005 ] Fix warn/crit in check_snmp_process_monitor.pl

SourceForge.net noreply at sourceforge.net
Fri Jun 5 23:31:05 CEST 2009


Patches item #2802005, was opened at 2009-06-05 14:31
Message generated for change (Tracker Item Submitted) made by nomisbeme
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2802005&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Simon (nomisbeme)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix warn/crit in check_snmp_process_monitor.pl 

Initial Comment:
This is a patch to a contrib plug-in. I know they're not supposed to be posted here but email to the original author is bouncing.
Adds more useful output messages for this plugin.

Plugin name: check_snmp_process_monitor
Command-line:
[nagios at kyburg libexec]$ ./check_snmp_process_monitor.pl -H 172.28.113.107 -C public -e mingetty -c 6,9
OK - 6 process(es) found resembling 'mingetty'

[[nagios at kyburg libexec]$ ./check_snmp_process_monitor.pl -H 172.28.113.107 -C public -e mingetty -c 9,9
CRITICAL - 6 process(es) found resembling 'mingetty'

[nagios at kyburg libexec]$ ./check_snmp_process_monitor.pl -H 172.28.113.107 -C public -e init -w 7,8
WARNING - 1 process(es) found resembling 'init'
Tested: RHEL 5 64-bit.
Compiler: N/A.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2802005&group_id=29880




More information about the Devel mailing list