Page 1 of 1

How do I configure this?

Posted: Fri Mar 28, 2014 9:10 am
by peakyblinder
Hi,

Noob here.... I have nagios core setup and monitoring numerous hosts. So far I've been able to get away with using our of the box plugins and commands. I'm want to monitor certain files and their file age on a Windows server.

NSclient is installed with the NRPE plugin.
I notice there is a 'check_file_age' plguin in /usr/lib64/nagios/plugins, but how do I query a files age on a remote windows host? Do I need to add additional config to the nsclient.ini file on the remote host?

Either I'm having a really bad day or I just dont get this at all... Any assistance would be greatly appreciated.

Thanks,

Re: How do I configure this?

Posted: Fri Mar 28, 2014 12:59 pm
by slansing
That plugin will likely not work on a windows system, it is probably a shell script. You would want to install one of the windows agents such as nsclient++, then configure it's .ini file to use a custom plugin for windows, from our exchange. You can search the exchange for a windows file age plugin:

http://exchange.nagios.com/

And the information for installing and configuring of nsclient is located here:

http://nsclient.org/

Let us know if you have questions!