Share

Nagios Plugin Development

Tracker: Patches

5 Better output from check_snmp_process_monitor.pl - ID: 2802005
Last Update: Settings changed ( nomisbeme )

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@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@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@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.


Simon ( nomisbeme ) - 2009-06-05 21:31

5

Open

None

Nobody/Anonymous

Bugfix

None

Public


Comments

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
snmp_procmon.diff Download

Changes ( 2 )

Field Old Value Date By
summary Fix warn/crit in check_snmp_process_monitor.pl 2009-06-05 21:31 nomisbeme
File Added 329923: snmp_procmon.diff 2009-06-05 21:31 nomisbeme