{"action":"created","issue":{"url":"https://api.github.com/repos/CSCfi/ansible-role-nrpe/issues/6","repository_url":"https://api.github.com/repos/CSCfi/ansible-role-nrpe","labels_url":"https://api.github.com/repos/CSCfi/ansible-role-nrpe/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/CSCfi/ansible-role-nrpe/issues/6/comments","events_url":"https://api.github.com/repos/CSCfi/ansible-role-nrpe/issues/6/events","html_url":"https://github.com/CSCfi/ansible-role-nrpe/issues/6","id":262043055,"number":6,"title":"Allow management of nrpe.cfg","user":{"login":"rlaurika","id":5939676,"avatar_url":"https://avatars3.githubusercontent.com/u/5939676?v=4","gravatar_id":"","url":"https://api.github.com/users/rlaurika","html_url":"https://github.com/rlaurika","followers_url":"https://api.github.com/users/rlaurika/followers","following_url":"https://api.github.com/users/rlaurika/following{/other_user}","gists_url":"https://api.github.com/users/rlaurika/gists{/gist_id}","starred_url":"https://api.github.com/users/rlaurika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlaurika/subscriptions","organizations_url":"https://api.github.com/users/rlaurika/orgs","repos_url":"https://api.github.com/users/rlaurika/repos","events_url":"https://api.github.com/users/rlaurika/events{/privacy}","received_events_url":"https://api.github.com/users/rlaurika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-02T10:31:46Z","updated_at":"2017-10-02T12:51:30Z","closed_at":null,"author_association":"OWNER","body":"I discovered today that nrpe.cfg as installed via RPM has some hardcoded \"example\" configurations in place:\r\n\r\n```\r\ncommand[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10\r\ncommand[check_load]=/usr/lib64/nagios/plugins/check_load -r -w .15,.10,.05 -c .30,.25,.20\r\ncommand[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1\r\ncommand[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z\r\ncommand[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200\r\n```\r\n\r\nEven if you configure check_load separately in a different place, this configuration will override it and give you warnings for very light load.\r\n\r\nIt would be nice if we could manage nrpe.cfg via this role so that it would be possible to get rid of these \"examples\"."},"comment":{"url":"https://api.github.com/repos/CSCfi/ansible-role-nrpe/issues/comments/333524918","html_url":"https://github.com/CSCfi/ansible-role-nrpe/issues/6#issuecomment-333524918","issue_url":"https://api.github.com/repos/CSCfi/ansible-role-nrpe/issues/6","id":333524918,"user":{"login":"rlaurika","id":5939676,"avatar_url":"https://avatars3.githubusercontent.com/u/5939676?v=4","gravatar_id":"","url":"https://api.github.com/users/rlaurika","html_url":"https://github.com/rlaurika","followers_url":"https://api.github.com/users/rlaurika/followers","following_url":"https://api.github.com/users/rlaurika/following{/other_user}","gists_url":"https://api.github.com/users/rlaurika/gists{/gist_id}","starred_url":"https://api.github.com/users/rlaurika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlaurika/subscriptions","organizations_url":"https://api.github.com/users/rlaurika/orgs","repos_url":"https://api.github.com/users/rlaurika/repos","events_url":"https://api.github.com/users/rlaurika/events{/privacy}","received_events_url":"https://api.github.com/users/rlaurika/received_events","type":"User","site_admin":false},"created_at":"2017-10-02T12:51:30Z","updated_at":"2017-10-02T12:51:30Z","author_association":"OWNER","body":"Party addressed by https://github.com/CSCfi/ansible-role-nrpe/pull/7"}}
{"actor":{"display_login":"rlaurika"}}