{"action":"closed","issue":{"url":"https://api.github.com/repos/angoca/monitor-db2-with-nagios/issues/50","repository_url":"https://api.github.com/repos/angoca/monitor-db2-with-nagios","labels_url":"https://api.github.com/repos/angoca/monitor-db2-with-nagios/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/angoca/monitor-db2-with-nagios/issues/50/comments","events_url":"https://api.github.com/repos/angoca/monitor-db2-with-nagios/issues/50/events","html_url":"https://github.com/angoca/monitor-db2-with-nagios/issues/50","id":239510587,"number":50,"title":"check_instance_memory: Database connection errors overwritten in loop","user":{"login":"UberPinguin","id":638306,"avatar_url":"https://avatars1.githubusercontent.com/u/638306?v=4","gravatar_id":"","url":"https://api.github.com/users/UberPinguin","html_url":"https://github.com/UberPinguin","followers_url":"https://api.github.com/users/UberPinguin/followers","following_url":"https://api.github.com/users/UberPinguin/following{/other_user}","gists_url":"https://api.github.com/users/UberPinguin/gists{/gist_id}","starred_url":"https://api.github.com/users/UberPinguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UberPinguin/subscriptions","organizations_url":"https://api.github.com/users/UberPinguin/orgs","repos_url":"https://api.github.com/users/UberPinguin/repos","events_url":"https://api.github.com/users/UberPinguin/events{/privacy}","received_events_url":"https://api.github.com/users/UberPinguin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-29T15:03:49Z","updated_at":"2018-03-09T15:27:52Z","closed_at":"2018-03-09T15:27:52Z","author_association":"NONE","body":"In the loop that checks for SELECT and CONNECT errors, the LONG_OUTPUT variable is overwritten on each pass. This means that if more than one database has errors, only the last database's errors are captured.\r\n\r\nhttps://github.com/angoca/monitor-db2-with-nagios/blob/master/check_instance_memory#L392-L421"}}
{"actor":{"display_login":"angoca"}}