How do I monitor a specific log message?

Estevao Soares estevaosoares at gmail.com
Fri Nov 14 19:56:45 CET 2008


Thanks a lot.

@James Pratt: Yeap, I'm kind a new to this and I'll take some time to
analize your script, but this I'll be a valuable asset to me.

@Marc Powell: I'll look deep into check_log doc to see what I can do then.
Thanks!


If anyone else has another solution, please, fell free to contribute I'm not
done yet.




2008/11/14 Marc Powell <marc at ena.com>

>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081114/0995a739/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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=/
-------------- 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