Check Remote Fileage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
IT_TECHGENE
Posts: 4
Joined: Mon May 07, 2012 10:46 am

Check Remote Fileage

Post by IT_TECHGENE »

Hello to everybody,

i'm using NagiosXI and now in our company we want to check the fileage of some Logfiles on our Windows Servers.
I want to ask if somebody knows a Plugin to check the fileage of a Remote Windows Server. I've already found a Plugin but i get always an error of authentification.
Somebody has any solution to check the fileage on remote Servers?
Tanks! :)
IT_TECHGENE
Posts: 4
Joined: Mon May 07, 2012 10:46 am

Re: Check Remote Fileage

Post by IT_TECHGENE »

Ok now I have found a solution by Myselv:

Use the command:

check_nt -H $HOSTNAME -p 12489 -v FILEAGE -l C:/Test.txt

If you get the error Message: Check contains error. Check log for details (or enable show_errors in nsc.ini)

you need to downgrade the version of NSCLIENT, its a Bug of the 0.3.9 version.

You can read this also her:
http://www.nsclient.org/nscp/ticket/480

Bye ;)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Check Remote Fileage

Post by scottwilkerson »

Thanks for posting your solution for others.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked