Page 4 of 4

Re: Check file modification date timestamp

Posted: Mon Oct 19, 2015 4:56 pm
by ssax
In addition to Box293's questions, are the NSClient services running as the same user (Local System account)?

Re: Check file modification date timestamp

Posted: Tue Oct 20, 2015 7:06 am
by jkinning
Yes and yes.

The SYSTEM has full control and the NSClient++ is running as local system account.

(see attachments)

Re: Check file modification date timestamp

Posted: Tue Oct 20, 2015 4:11 pm
by lmiltchev
A few people on the Nagios Support team have tried to recreate the issue (including myself) unsuccessfully. This check worked for all of us. I am afraid we are running out of ideas. Have you checked the windows security logs for clues?

Re: Check file modification date timestamp

Posted: Thu Oct 22, 2015 8:28 am
by jkinning
I updated the NSClient++ with the nightly release 0.4.3.147 and it works!

Code: Select all

check_nrpe -H <host> -c check_files -a 'file=C:\\Windows\\System32\\dns\\CACHE.DNS' 'critical=written>-600s'
OK: All 1 files are ok|'CACHE.DNS_written'=1171800000;0;1445519815
I then uninstalled this version and went back to the 0.4.3.143 version and it also is working. This was strange but all looks alright. Thanks for all the assistance and time on this one. Close at your convenience.