How do I monitor a specific log message?

Gerhard Lausser Gerhard.Lausser at consol.de
Fri Nov 14 21:33:14 CET 2008


Hi Estevao,
 
on this page http://www.consol.com/opensource/nagios/check-logfiles you will
a lot of documentation and a download link for check_logfiles.exe. This
plugin was written to search patterns in files. It will run on your Windows
server, so you don't have to export a share with the logfile.

Gerhard
 



  _____  

Von: Estevao Soares [mailto:estevaosoares at gmail.com] 
Gesendet: Freitag, 14. November 2008 18:53
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] How do I monitor a specific log message?


Hi there folks,

I'm having a hard time trying to figure out how to solve this. 

I have nagio 3.01 running ok on a debian etch install.

I have a Windows Server 2k who runs an important software for my company and
it has a routine to run a .bat file an log the progress on a .txt file on my
windows machine (Using Nsclient++ and check_nt so far). 

On this .txt file I need to monitor this message 

10/05/2006 02:40:03 Não existe header.000335 

[day] [hour] [info] 


I need nagios to monitor this log file and turns service critical as soon as
it finds this specific message.

How on earth can I do this? 

I'm very clueless about this on... 

Some good soul here could point me the way? 


Thanks a lot!


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