RES: How do I monitor a specific log message?

Guilherme Drago guilherme.silva at constat.com.br
Fri Nov 14 19:35:11 CET 2008


You’ll put on your plugin the exit codes of nagios.

 

ConStat ::: Comprometimento Gerando resultados desde 1991
Guilherme Drago - Vistor
(51) 30256681
 <blocked::http://www.constat.com.br/> www.constat.com.br /
<blocked::http://www.qualitor.com.br/> www.qualitor.com.br
Dúvidas, sugestões, reclamações:  <blocked::mailto:qualidade at constat.com.br>
qualidade at constat.com.br 

::: Preserve o ambiente. Imprima este email somente se for necessário :::

  _____  

De: Estevao Soares [mailto:estevaosoares at gmail.com] 
Enviada em: sexta-feira, 14 de novembro de 2008 16:28
Para: Guilherme Drago
Cc: nagios-users at lists.sourceforge.net
Assunto: Re: [Nagios-users] How do I monitor a specific log message?

 

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.

Thanks for you info anyway. 




2008/11/14 Guilherme Drago <guilherme.silva at constat.com.br>

Hi Estavam, did you tried mount the directory of the log archive via SAMBA
and read then whit cat and grep?

 

ConStat ::: Comprometimento Gerando resultados desde 1991
Guilherme Drago - Vistor
(51) 30256681
www.constat.com.br / www.qualitor.com.br
Dúvidas, sugestões, reclamações: qualidade at constat.com.br 

::: Preserve o ambiente. Imprima este email somente se for necessário :::

  _____  

De: Estevao Soares [mailto:estevaosoares at gmail.com] 
Enviada em: sexta-feira, 14 de novembro de 2008 15:53
Para: nagios-users at lists.sourceforge.net
Assunto: [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/a7325be5/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