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:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2008 18:53
An: nagios-users@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!
-------------------------------------------------------------------------
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@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