{"action":"created","issue":{"url":"https://api.github.com/repos/mickem/nscp/issues/139","labels_url":"https://api.github.com/repos/mickem/nscp/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/mickem/nscp/issues/139/comments","events_url":"https://api.github.com/repos/mickem/nscp/issues/139/events","html_url":"https://github.com/mickem/nscp/issues/139","id":66934940,"number":139,"title":"NSClient++: CheckFile2 reported a 'futuristic' file and flagged it old","user":{"login":"Klang0340","id":11839144,"avatar_url":"https://avatars.githubusercontent.com/u/11839144?v=3","gravatar_id":"","url":"https://api.github.com/users/Klang0340","html_url":"https://github.com/Klang0340","followers_url":"https://api.github.com/users/Klang0340/followers","following_url":"https://api.github.com/users/Klang0340/following{/other_user}","gists_url":"https://api.github.com/users/Klang0340/gists{/gist_id}","starred_url":"https://api.github.com/users/Klang0340/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Klang0340/subscriptions","organizations_url":"https://api.github.com/users/Klang0340/orgs","repos_url":"https://api.github.com/users/Klang0340/repos","events_url":"https://api.github.com/users/Klang0340/events{/privacy}","received_events_url":"https://api.github.com/users/Klang0340/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mickem/nscp/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-07T16:45:11Z","updated_at":"2015-04-15T16:22:29Z","closed_at":"2015-04-15T16:22:29Z","body":"Good morning Support,\r\n\r\n     I am using CheckFile2 to report when a directory contains a file over 60 minutes old. We had an instance where a file was reported with a time stamp in the future and was flagged for being over 60 minutes old. The check has been working fine in the past and still appears to be working today. Not sure if such an issue was reported before. We do not have the file as Admins delete these files when an issue in detected. The files I am monitoring indicate a problem with a job and are deleted upon resolving a further issue.\r\n\r\nTwo issues I am reporting\r\n1) File time stamp was in the future\r\n2) A futuristic date reported to be 60 minutes old or older\r\n\r\nCMD Name: check_nrpe_windows_checkFile_age-export-mru\r\nCMD Line: $USER1$/check_nrpe -u -s -H $HOSTADDRESS$ -c CheckFile2 -a path=e:/export/mru/ pattern=*.*tmp \"filter+creation=gt:60m\" \"syntax=%filename%: %creation%\" MaxWarn=1\r\n\r\nBonus Question: Any way to watch only files and ignore directories?\r\n\r\n![github pic](https://cloud.githubusercontent.com/assets/11839144/7028413/58682d2e-dd1b-11e4-9b3f-4a23a113d9f3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/mickem/nscp/issues/comments/93473750","html_url":"https://github.com/mickem/nscp/issues/139#issuecomment-93473750","issue_url":"https://api.github.com/repos/mickem/nscp/issues/139","id":93473750,"user":{"login":"mickem","id":1434697,"avatar_url":"https://avatars.githubusercontent.com/u/1434697?v=3","gravatar_id":"","url":"https://api.github.com/users/mickem","html_url":"https://github.com/mickem","followers_url":"https://api.github.com/users/mickem/followers","following_url":"https://api.github.com/users/mickem/following{/other_user}","gists_url":"https://api.github.com/users/mickem/gists{/gist_id}","starred_url":"https://api.github.com/users/mickem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickem/subscriptions","organizations_url":"https://api.github.com/users/mickem/orgs","repos_url":"https://api.github.com/users/mickem/repos","events_url":"https://api.github.com/users/mickem/events{/privacy}","received_events_url":"https://api.github.com/users/mickem/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T16:22:29Z","updated_at":"2015-04-15T16:22:29Z","body":"If you grab build 141 from here you can use the new syntax go get date in local time: http://www.nsclient.org/download/nightly/\r\n\r\nPlease reopen if you have issues or want some further enhancements"}}