-
This is a contrib patch, I couldn't raise the upstream developer.
Warn/critical arguments were swapped.
If there is a better home for contrib patches please let me know.
Tested: 1.4.13/RHEL5/64-bit.
2009-06-05 21:36:20 UTC in Nagios Plugin Development
-
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'...
2009-06-05 21:31:05 UTC in Nagios Plugin Development
-
Patch against Plugin Version: 1.4.13 source
Plugin Name: check_ntp
Example Plugin Commandline:
[nagios@kyburg libexec]$ ./check_ntp.pl -H 172.28.113.213
NTP CRITICAL: Offset 28507.496607 sec > +/- 120 sec
Tested on operating system: RHEL5
Tested on architecture: ia32
Tested with compiler: gcc-4.1.1.
2009-06-05 21:21:30 UTC in Nagios Plugin Development
-
This plugin requires PATH_TO_NTPDATE to be defined, make sure it is defined during configuration. (4 patches to chkntp.pl, configure, configure.in, utils.pm.in)
Simon
sbennett AT groundworkopensource.com.
2009-06-05 21:05:03 UTC in Nagios Plugin Development