check_nt FILEAGE returning odd dates and messages with NSClient 1084

Thomas Stocking tstocking at insynccom.com
Thu Sep 11 20:49:03 CEST 2003


Hi all,
I'm using the 1.0.8.4 version of NSClient, which incorporates the
FILEAGE check. It works  on one system. On two others, I only get date
12/31/69 at 7pm for certain files. Same thing if I check a file I know
is not there. Anyone seen this issue? Got a clue for me to look at? Some
(sanitized) details:

Errant Behavior:
 /usr/local/nagios/libexec/check_nt -H ntsrvr1 -v FILEAGE -l
"e:\\files\\file.txt","Date: %D %I:%M:%S %p" -w 5  -c 10
Date: 12/31/69 07:00:00 PM

Correct Behavior:
 /usr/local/nagios/libexec/check_nt -H ntsrvr1 -v FILEAGE -l
"c:\\ntldr","Date: %D %I:%M:%S %p" -w 5  -c 10
Date: 08/12/03 01:44:01 PM


	Thanks, 
		Thomas

Thomas Stocking, GCIA, GCIH
Captech Partners
thomas at captech.com
http://www.captech.com
(415) 507-9267 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list