check windows file?

Gerhard Lausser Gerhard.Lausser at consol.de
Tue Nov 18 22:44:04 CET 2008


Hi Dave,

you might try http://www.consol.com/opensource/nagios/check-logfiles
You call it with
check_logfiles --logfile path_to_your_file --criticalpatterns
"whatever_you_consider_an_error_message"
If the file doesn't exists, you will get at least an UNKNOWN, although you
can add program the plugin so it will return a CRITICAL if the file is
missing.

Gerhard  

> -----Ursprüngliche Nachricht-----
> Von: dave stern - e-mail.pluribus.unum [mailto:dit.dash at gmail.com] 
> Gesendet: Dienstag, 18. November 2008 19:16
> An: nagios-users at lists.sourceforge.net
> Betreff: [Nagios-users] check windows file?
> 
> I'm looking for a plugin that I can run from the unix side to 
> connect to a windows host and at least test for the existance 
> of a file, although checking for its contents would be even 
> more ideal. I couldn't find anything at nagiosexchange unless 
> my search string wasn't specific enough.
> Anyone?
> 
> Thanks
> 
> --------------------------------------------------------------
> -----------
> 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 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
> 


-------------------------------------------------------------------------
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 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