[Nagiosplug-devel] check_log new feature

Paul Green paulg at greenwand.net
Thu Jan 27 12:05:13 CET 2011


I would like to submit the attached changes for potential addition to the
check_log script in the core pluggins.  It adds the addition of an ignore
option so that you can, for example, look for all "ERROR" within a log file
(as per normal) but ignore "ProgramX" which is constantly whining and
throwing errors when it shouldn't be.  In my case a third party proprietary
application in which the vendor neither care nor have the will to fix it. 
I've also taken the liberty to correct the comments at the top of the
script to match the current command line options as well as the new ones.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_log.diff
Type: text/x-patch
Size: 3360 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20110127/5746ba6c/attachment.bin>

More information about the Devel mailing list