Plugin to check file for string?
Guy Waugh
guidosh at gmail.com
Tue Apr 6 15:39:46 CEST 2010
Hi all,
Does anyone know of a nagios plugin that will grep a file for a string?
I have a cronjob that logs output to a file and I basically want to grep for
'cronjob successful' in this file, alerting Critical if the string isn't
found and OK if it is.
Thanks,
Guy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100406/1aca489c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list