AW: [Nagiosplug-help] Nagios and syslog

Sand Philipp Philipp.Sand at sycor.de
Thu Mar 18 05:31:50 CET 2004


Ah thanks! Must have overseen this one. Problem with this plugin is, that you can only check for one keyword, right? Or is there a possibility to check for more than one?
An option may be just to create one "oldfile" for each querrystring. But if there is a more elegant solution let me know :) 

> -----Ursprüngliche Nachricht-----
> Von: Blake [mailto:blakes_email at yahoo.com] 
> Gesendet: Donnerstag, 18. März 2004 13:40
> An: Sand Philipp; nagiosplug-help at lists.sourceforge.net
> Betreff: Re: [Nagiosplug-help] Nagios and syslog
> 
> 
> you can use the check_log script located in your libexec 
> directory.  the first time you run the script it creates a 
> copy (-O oldfile) of the log file (-F
> logfile) you would like to scan ... the results of your scan 
> will be zero ... however the next time you run check_log on 
> the log file then it will execute a diff on the real log file 
> vs the copy it made and reports matches on the patter you 
> request (-q query). 
> there is more information if you edit the script.  I also 
> think you could use something like swatch but I have never 
> used it nagios.
> 
> --- Sand Philipp <Philipp.Sand at sycor.de> wrote:
> > Hi,
> > 
> > Is there a possibility to monitor /var/log/messages for 
> keywords e.g. 
> > "zone transfer failed" with nagios?
> > Same thing for windows, is there a chance to monitor the 
> syslog with 
> > nagios?
> > 
> > Thanks in advance
> > Philipp
> > 
> > _____________________________
> > 
> > Philipp Sand
> > OC-CC-TEC-SYS
> > 
> > SYCOR GmbH
> > Heinrich-von-Stephan-Straße 1-5
> > D - 37073 Göttingen
> > 
> > Telefon	+49 (0) 551 / 490 - 0
> > Telefax	+49 (0) 551 / 490 - 2000
> > 
> > philipp.sand at sycor.de
> > www.sycor.de
> > ------------------------------------------------
> > 
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam 
> http://mail.yahoo.com
> 
> 




More information about the Help mailing list