<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=031131817-04032008><FONT face=Arial
color=#0000ff size=2>Hi Mark,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=031131817-04032008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=031131817-04032008><FONT face=Arial
color=#0000ff size=2>maybe this <A
href="http://www.consol.com/opensource/nagios/check-logfiles">http://www.consol.com/opensource/nagios/check-logfiles</A> is
what you're looking for. You tell the plugin the logfile and the patterns you
expect and it raises an alert if one of the patterns was appended to the logfile
since the last run. It is also possible to go the other way round. You tell the
plugin which pattern you expect to find (e.g. backup succeeded) and it alerts if
no such pattern appears.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=031131817-04032008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=031131817-04032008><FONT face=Arial
color=#0000ff size=2>Gerhard</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>Im Auftrag von
</B>mark.potter@academy.com<BR><B>Gesendet:</B> Dienstag, 4. März 2008
17:16<BR><B>An:</B> nagios-users@lists.sourceforge.net<BR><B>Betreff:</B>
[Nagios-users] Checking contents of a file on MS Windows<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=sans-serif size=2>So I have run across one for which
I can't figure out a starting point. We are using Tivoli to backup our farm
including databases. For the most part this is easy to monitor as we can just
monitor Tivoli. However the database backups are not scheduled through Tivoli
but rather in their respective DBs as scheduled procedures. (I am not a DBA so
forgive me if my language on that piece is off). The only actual method for
determining the success or failure of these backups is a log file on the
Windows server. We are using SNMP for all our Windows monitoring at the moment
but are open to other solutions. I need to be able to access this file, grep
out the date and status, and process those results for Nagios. Does anyone
know of a simple way to do this and if not then does anyone know of a
complicated method? I am not locked into to any solution and would be willing
to use active or passive checks, snmp, nc_net, or any other solution. Thanks
in advance for any replies or advice.</FONT> <BR><BR><FONT face=sans-serif
size=2>Best Regards,<BR><BR>Mark L. Potter<BR>Systems Engineer<BR>Academy
Sports & Outdoors<BR>1800 N. Mason Rd<BR>Katy, Texas 77449<BR>Office:
281-646-5857<BR>Cell: 281-734-6965<BR></BLOCKQUOTE></FONT></BODY></HTML>