How do I monitor a specific log message?
Marc Powell
marc at ena.com
Fri Nov 14 19:45:56 CET 2008
On Nov 14, 2008, at 12:28 PM, Estevao Soares wrote:
> No, That didn't occur to me till now.
>
> Ok, Lets suppose I mount my path on samba and cat the result with
> cat and grep. How do I put this onto nagios?
>
> And there is a problem here... This should return and OK or NOT OK
> for example. I'm still clueless about how to do that.
If SMB mounting is acceptable to you, you should be able to use one of
the check_log plugins to search for that string and act appropriately.
--
Marc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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