Checking contents of a file on MS Windows

Gerhard Lausser Gerhard.Lausser at consol.de
Tue Mar 4 18:21:38 CET 2008


Hi Mark,
 
maybe this http://www.consol.com/opensource/nagios/check-logfiles 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.
 
Gerhard


  _____  

Von: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von
mark.potter at academy.com
Gesendet: Dienstag, 4. März 2008 17:16
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] Checking contents of a file on MS Windows



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. 

Best Regards,

Mark L. Potter
Systems Engineer
Academy Sports & Outdoors
1800 N. Mason Rd
Katy, Texas 77449
Office: 281-646-5857
Cell: 281-734-6965


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080304/b2457e93/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- 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