{"action":"created","issue":{"url":"https://api.github.com/repos/HeavensGate/Eternal/issues/24","labels_url":"https://api.github.com/repos/HeavensGate/Eternal/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/HeavensGate/Eternal/issues/24/comments","events_url":"https://api.github.com/repos/HeavensGate/Eternal/issues/24/events","html_url":"https://github.com/HeavensGate/Eternal/issues/24","id":60653045,"number":24,"title":"Server restart script","user":{"login":"woothie","id":4448675,"avatar_url":"https://avatars.githubusercontent.com/u/4448675?v=3","gravatar_id":"","url":"https://api.github.com/users/woothie","html_url":"https://github.com/woothie","followers_url":"https://api.github.com/users/woothie/followers","following_url":"https://api.github.com/users/woothie/following{/other_user}","gists_url":"https://api.github.com/users/woothie/gists{/gist_id}","starred_url":"https://api.github.com/users/woothie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woothie/subscriptions","organizations_url":"https://api.github.com/users/woothie/orgs","repos_url":"https://api.github.com/users/woothie/repos","events_url":"https://api.github.com/users/woothie/events{/privacy}","received_events_url":"https://api.github.com/users/woothie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HeavensGate/Eternal/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/HeavensGate/Eternal/labels/server%20management","name":"server management","color":"003300"},{"url":"https://api.github.com/repos/HeavensGate/Eternal/labels/URGENT","name":"URGENT","color":"FF0000"}],"state":"open","locked":false,"assignee":{"login":"woothie","id":4448675,"avatar_url":"https://avatars.githubusercontent.com/u/4448675?v=3","gravatar_id":"","url":"https://api.github.com/users/woothie","html_url":"https://github.com/woothie","followers_url":"https://api.github.com/users/woothie/followers","following_url":"https://api.github.com/users/woothie/following{/other_user}","gists_url":"https://api.github.com/users/woothie/gists{/gist_id}","starred_url":"https://api.github.com/users/woothie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woothie/subscriptions","organizations_url":"https://api.github.com/users/woothie/orgs","repos_url":"https://api.github.com/users/woothie/repos","events_url":"https://api.github.com/users/woothie/events{/privacy}","received_events_url":"https://api.github.com/users/woothie/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-11T12:48:16Z","updated_at":"2015-12-20T17:58:46Z","closed_at":null,"body":"We need a server-side script that checks if the server is alive every five minutes or so, and restarts it if it is not. Bonus points if you can make it log the CPU usage and force-close it if CPU is above 90% over the course of three checks (equal to 15 minutes), meaning the server is stuck and then restart it (maybe check if restart was successfull even). Add to Crontab or ask Woothie to add it to Crontab."},"comment":{"url":"https://api.github.com/repos/HeavensGate/Eternal/issues/comments/166141256","html_url":"https://github.com/HeavensGate/Eternal/issues/24#issuecomment-166141256","issue_url":"https://api.github.com/repos/HeavensGate/Eternal/issues/24","id":166141256,"user":{"login":"Davnik","id":8213817,"avatar_url":"https://avatars.githubusercontent.com/u/8213817?v=3","gravatar_id":"","url":"https://api.github.com/users/Davnik","html_url":"https://github.com/Davnik","followers_url":"https://api.github.com/users/Davnik/followers","following_url":"https://api.github.com/users/Davnik/following{/other_user}","gists_url":"https://api.github.com/users/Davnik/gists{/gist_id}","starred_url":"https://api.github.com/users/Davnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Davnik/subscriptions","organizations_url":"https://api.github.com/users/Davnik/orgs","repos_url":"https://api.github.com/users/Davnik/repos","events_url":"https://api.github.com/users/Davnik/events{/privacy}","received_events_url":"https://api.github.com/users/Davnik/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T17:58:46Z","updated_at":"2015-12-20T17:58:46Z","body":"Bump. Maybe every two minutes, the players are impatient sorts."}}