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,
How do I configure this?
-
peakyblinder
- Posts: 63
- Joined: Tue Mar 25, 2014 4:39 am
How do I configure this?
Last edited by slansing on Fri Mar 28, 2014 10:04 am, edited 1 time in total.
Reason: Please do not double post, edit your previous post to add more information, double posting will only bump you lower on our reply list.
Reason: Please do not double post, edit your previous post to add more information, double posting will only bump you lower on our reply list.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How do I configure this?
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!
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!