{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/2110","repository_url":"https://api.github.com/repos/DataDog/dd-agent","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2110/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2110/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2110/events","html_url":"https://github.com/DataDog/dd-agent/pull/2110","id":119574073,"number":2110,"title":"Daemontools integration.","user":{"login":"gphat","id":45159,"avatar_url":"https://avatars.githubusercontent.com/u/45159?v=3","gravatar_id":"","url":"https://api.github.com/users/gphat","html_url":"https://github.com/gphat","followers_url":"https://api.github.com/users/gphat/followers","following_url":"https://api.github.com/users/gphat/following{/other_user}","gists_url":"https://api.github.com/users/gphat/gists{/gist_id}","starred_url":"https://api.github.com/users/gphat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gphat/subscriptions","organizations_url":"https://api.github.com/users/gphat/orgs","repos_url":"https://api.github.com/users/gphat/repos","events_url":"https://api.github.com/users/gphat/events{/privacy}","received_events_url":"https://api.github.com/users/gphat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/DataDog/dd-agent/milestones/62","html_url":"https://github.com/DataDog/dd-agent/milestones/Triage","labels_url":"https://api.github.com/repos/DataDog/dd-agent/milestones/62/labels","id":1485890,"number":62,"title":"Triage","description":null,"creator":{"login":"remh","id":1311477,"avatar_url":"https://avatars.githubusercontent.com/u/1311477?v=3","gravatar_id":"","url":"https://api.github.com/users/remh","html_url":"https://github.com/remh","followers_url":"https://api.github.com/users/remh/followers","following_url":"https://api.github.com/users/remh/following{/other_user}","gists_url":"https://api.github.com/users/remh/gists{/gist_id}","starred_url":"https://api.github.com/users/remh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remh/subscriptions","organizations_url":"https://api.github.com/users/remh/orgs","repos_url":"https://api.github.com/users/remh/repos","events_url":"https://api.github.com/users/remh/events{/privacy}","received_events_url":"https://api.github.com/users/remh/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":2,"state":"open","created_at":"2016-01-05T21:06:49Z","updated_at":"2016-02-05T16:37:06Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-11-30T20:26:31Z","updated_at":"2016-02-05T19:48:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DataDog/dd-agent/pulls/2110","html_url":"https://github.com/DataDog/dd-agent/pull/2110","diff_url":"https://github.com/DataDog/dd-agent/pull/2110.diff","patch_url":"https://github.com/DataDog/dd-agent/pull/2110.patch"},"body":"# What's this PR do?\r\n\r\nAdds an integration for the service manager [daemontools](http://cr.yp.to/daemontools.html).\r\n\r\n# Motivation\r\n\r\nStripe uses daemontools to manage most of our services. Many of those services have first-class integrations within Datadog so verifying their liveness is handled elsewhere. Some of these services, however, are lightweight, internal daemons that will likely never have healthcheck endpoints or other metrics. This check would allow liveness checks and uptime tracking. The goal is to detect failed or flapping services.\r\n\r\n# Notes\r\n\r\n* Adds a gauge metric for `daemontools.service.uptime` (tagged with the service name) and a service check of `daemontools.is_running` tagged by service.\r\n* `svstat` that emits the info we need usually requires root privs, so this integration needs some love from `sudoers`. This miiiight be a candidate for storage in [our repository](https://github.com/stripe/stripe-datadog-checks)?"},"comment":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments/180525866","html_url":"https://github.com/DataDog/dd-agent/pull/2110#issuecomment-180525866","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2110","id":180525866,"user":{"login":"irabinovitch","id":289654,"avatar_url":"https://avatars.githubusercontent.com/u/289654?v=3","gravatar_id":"","url":"https://api.github.com/users/irabinovitch","html_url":"https://github.com/irabinovitch","followers_url":"https://api.github.com/users/irabinovitch/followers","following_url":"https://api.github.com/users/irabinovitch/following{/other_user}","gists_url":"https://api.github.com/users/irabinovitch/gists{/gist_id}","starred_url":"https://api.github.com/users/irabinovitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irabinovitch/subscriptions","organizations_url":"https://api.github.com/users/irabinovitch/orgs","repos_url":"https://api.github.com/users/irabinovitch/repos","events_url":"https://api.github.com/users/irabinovitch/events{/privacy}","received_events_url":"https://api.github.com/users/irabinovitch/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T19:48:40Z","updated_at":"2016-02-05T19:48:40Z","body":"@truthbk did we come to a consensus on the sudoers issue? "}}