{"action":"created","issue":{"url":"https://api.github.com/repos/Jimdo/puppet-periodicnoise/issues/31","labels_url":"https://api.github.com/repos/Jimdo/puppet-periodicnoise/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/Jimdo/puppet-periodicnoise/issues/31/comments","events_url":"https://api.github.com/repos/Jimdo/puppet-periodicnoise/issues/31/events","html_url":"https://github.com/Jimdo/puppet-periodicnoise/pull/31","id":59636228,"number":31,"title":"send messages to multiple nagios endpoints","user":{"login":"Bonko","id":222657,"avatar_url":"https://avatars.githubusercontent.com/u/222657?v=3","gravatar_id":"","url":"https://api.github.com/users/Bonko","html_url":"https://github.com/Bonko","followers_url":"https://api.github.com/users/Bonko/followers","following_url":"https://api.github.com/users/Bonko/following{/other_user}","gists_url":"https://api.github.com/users/Bonko/gists{/gist_id}","starred_url":"https://api.github.com/users/Bonko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bonko/subscriptions","organizations_url":"https://api.github.com/users/Bonko/orgs","repos_url":"https://api.github.com/users/Bonko/repos","events_url":"https://api.github.com/users/Bonko/events{/privacy}","received_events_url":"https://api.github.com/users/Bonko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-03T12:41:54Z","updated_at":"2015-03-03T16:22:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Jimdo/puppet-periodicnoise/pulls/31","html_url":"https://github.com/Jimdo/puppet-periodicnoise/pull/31","diff_url":"https://github.com/Jimdo/puppet-periodicnoise/pull/31.diff","patch_url":"https://github.com/Jimdo/puppet-periodicnoise/pull/31.patch"},"body":"this can be e.g. useful for softmigrations to a new monitoring host"},"comment":{"url":"https://api.github.com/repos/Jimdo/puppet-periodicnoise/issues/comments/76978072","html_url":"https://github.com/Jimdo/puppet-periodicnoise/pull/31#issuecomment-76978072","issue_url":"https://api.github.com/repos/Jimdo/puppet-periodicnoise/issues/31","id":76978072,"user":{"login":"nightlyone","id":1767118,"avatar_url":"https://avatars.githubusercontent.com/u/1767118?v=3","gravatar_id":"","url":"https://api.github.com/users/nightlyone","html_url":"https://github.com/nightlyone","followers_url":"https://api.github.com/users/nightlyone/followers","following_url":"https://api.github.com/users/nightlyone/following{/other_user}","gists_url":"https://api.github.com/users/nightlyone/gists{/gist_id}","starred_url":"https://api.github.com/users/nightlyone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightlyone/subscriptions","organizations_url":"https://api.github.com/users/nightlyone/orgs","repos_url":"https://api.github.com/users/nightlyone/repos","events_url":"https://api.github.com/users/nightlyone/events{/privacy}","received_events_url":"https://api.github.com/users/nightlyone/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T16:22:00Z","updated_at":"2015-03-03T16:22:00Z","body":"The code does `sh -c \"STUFF\"` where STUFF is everything after the `=` sign until the line ending in the config. So it will be handled like a shell oneliner. see https://github.com/Jimdo/periodicnoise/blob/master/cmd/pn/monitor.go#L112-L119 for reference.\r\n\r\nThe chaining issue still persists. You can either ignore everything but the last error via `;` or make it fail all on the first failure using `&&` as @mlafeldt mentioned. I would vote for chaining via semicolon as this makes a best effort on reporting and should be the safest for transition to icinga. \r\n\r\nIf you put the icinga host last, you will get it's errors in the log, which might be more useful for debugging it."}}