windows fileage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

windows fileage

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: windows fileage

Post by scottwilkerson »

There is a Windows file age script here that may fit your need
http://exchange.nagios.org/directory/Pl ... nt/details
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

Re: windows fileage

Post by ahmad.zuhd »

is it possible to do that using nrds and how?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: windows fileage

Post 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?
ahmad.zuhd
Posts: 44
Joined: Sun Jul 01, 2012 2:33 am

Re: windows fileage

Post by ahmad.zuhd »

is there any passive equivalent?
do u have a plugin support for the nrds?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: windows fileage

Post by scottwilkerson »

Actually, you can put this file in /usr/local/nrdp/plugins/Windows

Then you can add the command using nrds
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked