Page 1 of 1

windows fileage

Posted: Sun Sep 09, 2012 10:24 am
by ahmad.zuhd
I'm trying to monitor the update time of file in windows 2003 server.

I'm not able to do that with the nrds scripts. I tried the NSClient++, but i failed.

please advice.

Re: windows fileage

Posted: Mon Sep 10, 2012 8:59 am
by scottwilkerson
There is a Windows file age script here that may fit your need
http://exchange.nagios.org/directory/Pl ... nt/details

Re: windows fileage

Posted: Mon Sep 10, 2012 10:36 am
by ahmad.zuhd
is it possible to do that using nrds and how?

Re: windows fileage

Posted: Mon Sep 10, 2012 2:30 pm
by slansing
It appears this check is set up to be active because it checks against certain criteria at certain times. And NRDS is for use with passive checks. So the way this check is written is so that Nagios triggers it's actions, does that make sense?

Re: windows fileage

Posted: Mon Sep 10, 2012 2:34 pm
by ahmad.zuhd
is there any passive equivalent?
do u have a plugin support for the nrds?

Re: windows fileage

Posted: Mon Sep 10, 2012 4:48 pm
by scottwilkerson
Actually, you can put this file in /usr/local/nrdp/plugins/Windows

Then you can add the command using nrds