Also, you mentioned that the check was successful for one directory even if it was empty but the last test you ran shows there was a file:
33181067405936000173550020004117741291520250.xml 2018-Oct-29 19:17:23
Can you run the tests again but this time make sure both directories are empty so we get a valid comparision?
Check_file_age returns error
Re: Check_file_age returns error
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
BrunoLosse1
- Posts: 40
- Joined: Tue Oct 23, 2018 1:22 pm
Re: Check_file_age returns error
Here's the log file attached.
- Attachments
-
nsclient.log- (1020.47 KiB) Downloaded 250 times
-
BrunoLosse1
- Posts: 40
- Joined: Tue Oct 23, 2018 1:22 pm
Re: Check_file_age returns error
It says the name of the last file in the directory.cdienger wrote:Also, you mentioned that the check was successful for one directory even if it was empty but the last test you ran shows there was a file:
33181067405936000173550020004117741291520250.xml 2018-Oct-29 19:17:23
Can you run the tests again but this time make sure both directories are empty so we get a valid comparision?
I don't know if it is supposed to do that by the way.
I have noticed that the time of the file is 3 hours foward, it might be the reason I'm experiencing this issue.
The problem is that I don't know where my timezone may be misconfigured.
At the Linux server, the Windows Server and the Web interface they are all with the correct time.
Re: Check_file_age returns error
After labbing this up I receive the same error when no files are present that match the wildcard (and check_nt does not allow you to adjust that functionality) so you'll likely need to switch to NRPE as npolovenko stated in the previous posts.