{"action":"created","issue":{"url":"https://api.github.com/repos/ocf/puppet/issues/302","repository_url":"https://api.github.com/repos/ocf/puppet","labels_url":"https://api.github.com/repos/ocf/puppet/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/ocf/puppet/issues/302/comments","events_url":"https://api.github.com/repos/ocf/puppet/issues/302/events","html_url":"https://github.com/ocf/puppet/pull/302","id":304910461,"number":302,"title":"Add prometheus daemon and node_exporter to ocf_stats","user":{"login":"dkess","id":749522,"avatar_url":"https://avatars1.githubusercontent.com/u/749522?v=4","gravatar_id":"","url":"https://api.github.com/users/dkess","html_url":"https://github.com/dkess","followers_url":"https://api.github.com/users/dkess/followers","following_url":"https://api.github.com/users/dkess/following{/other_user}","gists_url":"https://api.github.com/users/dkess/gists{/gist_id}","starred_url":"https://api.github.com/users/dkess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkess/subscriptions","organizations_url":"https://api.github.com/users/dkess/orgs","repos_url":"https://api.github.com/users/dkess/repos","events_url":"https://api.github.com/users/dkess/events{/privacy}","received_events_url":"https://api.github.com/users/dkess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-13T19:49:02Z","updated_at":"2018-03-14T19:41:17Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ocf/puppet/pulls/302","html_url":"https://github.com/ocf/puppet/pull/302","diff_url":"https://github.com/ocf/puppet/pull/302.diff","patch_url":"https://github.com/ocf/puppet/pull/302.patch"},"body":"This PR should add the Prometheus monitoring daemon to dementors. Since this is just a trial run, it's a minimal configuration that only monitors dementors itself and leprosy (my staffvm).\r\n\r\nIn the future, we'd want to install `node_exporter` on all hosts, and install specialized exporters for specific software (like Apache). I'll document other goals in the project (other goals include Grafana for more dashboards, alerting, etc)\r\n\r\nRight now, this setup will run the `node_exporter` HTTP server on port 9100, and the Prometheus dashboard on port 9090 on dementors. I'd like to at least reverse proxy the dashboard through Apache (suggestions welcome on how to do this). We should also discuss the security model for this-- my intuition tells me that metrics should by firewalled off from the outside world, and the dashboard should be restricted to `ocfstaff` through HTTP auth, but dissent/discussion about these points is welcome."},"comment":{"url":"https://api.github.com/repos/ocf/puppet/issues/comments/373149924","html_url":"https://github.com/ocf/puppet/pull/302#issuecomment-373149924","issue_url":"https://api.github.com/repos/ocf/puppet/issues/302","id":373149924,"user":{"login":"chriskuehl","id":665269,"avatar_url":"https://avatars3.githubusercontent.com/u/665269?v=4","gravatar_id":"","url":"https://api.github.com/users/chriskuehl","html_url":"https://github.com/chriskuehl","followers_url":"https://api.github.com/users/chriskuehl/followers","following_url":"https://api.github.com/users/chriskuehl/following{/other_user}","gists_url":"https://api.github.com/users/chriskuehl/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskuehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskuehl/subscriptions","organizations_url":"https://api.github.com/users/chriskuehl/orgs","repos_url":"https://api.github.com/users/chriskuehl/repos","events_url":"https://api.github.com/users/chriskuehl/events{/privacy}","received_events_url":"https://api.github.com/users/chriskuehl/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T19:41:17Z","updated_at":"2018-03-14T19:41:17Z","author_association":"OWNER","body":"Since this is just a trial run, I would vote to do it on another VM (not dementors) so it's easier to clean up if we decide not to pursue this path."}}
{"actor":{"display_login":"chriskuehl"}}