{"action":"opened","issue":{"url":"https://api.github.com/repos/unfoldingWord-dev/Door43/issues/55","labels_url":"https://api.github.com/repos/unfoldingWord-dev/Door43/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/unfoldingWord-dev/Door43/issues/55/comments","events_url":"https://api.github.com/repos/unfoldingWord-dev/Door43/issues/55/events","html_url":"https://github.com/unfoldingWord-dev/Door43/issues/55","id":85272723,"number":55,"title":"Write Recently Changed Files script","user":{"login":"jag3773","id":107731,"avatar_url":"https://avatars.githubusercontent.com/u/107731?v=3","gravatar_id":"","url":"https://api.github.com/users/jag3773","html_url":"https://github.com/jag3773","followers_url":"https://api.github.com/users/jag3773/followers","following_url":"https://api.github.com/users/jag3773/following{/other_user}","gists_url":"https://api.github.com/users/jag3773/gists{/gist_id}","starred_url":"https://api.github.com/users/jag3773/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jag3773/subscriptions","organizations_url":"https://api.github.com/users/jag3773/orgs","repos_url":"https://api.github.com/users/jag3773/repos","events_url":"https://api.github.com/users/jag3773/events{/privacy}","received_events_url":"https://api.github.com/users/jag3773/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unfoldingWord-dev/Door43/labels/Monitoring","name":"Monitoring","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-04T20:53:56Z","updated_at":"2015-06-04T20:53:56Z","closed_at":null,"body":"This should be a simple nagios shell script that checks the directory passed in on the cli to see if  files have changed in the amount of time specified.\r\n\r\ne.g. ./recent_files.sh -d /mnt/tmp/example -t 3\r\n\r\nThe above would check for files in the specified directory that have been modified in the past three days.\r\n\r\nThis would translate into a find command like:\r\n\r\nfind $DIR -type f -mtime -$TIME\r\n\r\nMay as well output nagios performance data as well, since that would allow graphing how many files had changed.\r\n\r\nNote that this will need to be *shell* compatible, steer clear of bashisms.\r\n\r\nThis is for monitoring backups on a per server basis."}}