{"action":"created","issue":{"url":"https://api.github.com/repos/centreon/centreon-engine/issues/46","repository_url":"https://api.github.com/repos/centreon/centreon-engine","labels_url":"https://api.github.com/repos/centreon/centreon-engine/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/centreon/centreon-engine/issues/46/comments","events_url":"https://api.github.com/repos/centreon/centreon-engine/issues/46/events","html_url":"https://github.com/centreon/centreon-engine/issues/46","id":155043927,"node_id":"MDU6SXNzdWUxNTUwNDM5Mjc=","number":46,"title":"Soft recovery after Non-OK->OK","user":{"login":"masgo","id":1336992,"node_id":"MDQ6VXNlcjEzMzY5OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1336992?v=4","gravatar_id":"","url":"https://api.github.com/users/masgo","html_url":"https://github.com/masgo","followers_url":"https://api.github.com/users/masgo/followers","following_url":"https://api.github.com/users/masgo/following{/other_user}","gists_url":"https://api.github.com/users/masgo/gists{/gist_id}","starred_url":"https://api.github.com/users/masgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masgo/subscriptions","organizations_url":"https://api.github.com/users/masgo/orgs","repos_url":"https://api.github.com/users/masgo/repos","events_url":"https://api.github.com/users/masgo/events{/privacy}","received_events_url":"https://api.github.com/users/masgo/received_events","type":"User","site_admin":false},"labels":[{"id":97550365,"node_id":"MDU6TGFiZWw5NzU1MDM2NQ==","url":"https://api.github.com/repos/centreon/centreon-engine/labels/Kind/Enhancement","name":"Kind/Enhancement","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"ganoze","id":6575378,"node_id":"MDQ6VXNlcjY1NzUzNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/6575378?v=4","gravatar_id":"","url":"https://api.github.com/users/ganoze","html_url":"https://github.com/ganoze","followers_url":"https://api.github.com/users/ganoze/followers","following_url":"https://api.github.com/users/ganoze/following{/other_user}","gists_url":"https://api.github.com/users/ganoze/gists{/gist_id}","starred_url":"https://api.github.com/users/ganoze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganoze/subscriptions","organizations_url":"https://api.github.com/users/ganoze/orgs","repos_url":"https://api.github.com/users/ganoze/repos","events_url":"https://api.github.com/users/ganoze/events{/privacy}","received_events_url":"https://api.github.com/users/ganoze/received_events","type":"User","site_admin":false},"assignees":[{"login":"ganoze","id":6575378,"node_id":"MDQ6VXNlcjY1NzUzNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/6575378?v=4","gravatar_id":"","url":"https://api.github.com/users/ganoze","html_url":"https://github.com/ganoze","followers_url":"https://api.github.com/users/ganoze/followers","following_url":"https://api.github.com/users/ganoze/following{/other_user}","gists_url":"https://api.github.com/users/ganoze/gists{/gist_id}","starred_url":"https://api.github.com/users/ganoze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganoze/subscriptions","organizations_url":"https://api.github.com/users/ganoze/orgs","repos_url":"https://api.github.com/users/ganoze/repos","events_url":"https://api.github.com/users/ganoze/events{/privacy}","received_events_url":"https://api.github.com/users/ganoze/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-05-16T14:41:47Z","updated_at":"2018-09-11T08:44:25Z","closed_at":null,"author_association":"NONE","body":"This is a feature request.\n\nWith non-OK states, we already can set via the _retries_ setting how often the check is retried until the host is considered down (hard state). I want to have the same for the OK state, i.e., to be able to **enforce multiple successful retries** before the host is considered OK.\n\nSometimes hosts (or services) are down and recover for a short time before failing again. This is not the same as flapping, since flapping checks for frequent OK<->non-OK changes. My case is more like non-OK, non-OK, ...., non-OK, **OK,** non-OK, ... , non-OK\n\nThe problem is, that the short period of OK causes two notifications (a host-up and another host-down notification).\n\nEscalation schemes also do not work well, because the downtime counter starts again at zero.\n"},"comment":{"url":"https://api.github.com/repos/centreon/centreon-engine/issues/comments/420196121","html_url":"https://github.com/centreon/centreon-engine/issues/46#issuecomment-420196121","issue_url":"https://api.github.com/repos/centreon/centreon-engine/issues/46","id":420196121,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDE5NjEyMQ==","user":{"login":"CPbN","id":40244829,"node_id":"MDQ6VXNlcjQwMjQ0ODI5","avatar_url":"https://avatars1.githubusercontent.com/u/40244829?v=4","gravatar_id":"","url":"https://api.github.com/users/CPbN","html_url":"https://github.com/CPbN","followers_url":"https://api.github.com/users/CPbN/followers","following_url":"https://api.github.com/users/CPbN/following{/other_user}","gists_url":"https://api.github.com/users/CPbN/gists{/gist_id}","starred_url":"https://api.github.com/users/CPbN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPbN/subscriptions","organizations_url":"https://api.github.com/users/CPbN/orgs","repos_url":"https://api.github.com/users/CPbN/repos","events_url":"https://api.github.com/users/CPbN/events{/privacy}","received_events_url":"https://api.github.com/users/CPbN/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T08:44:25Z","updated_at":"2018-09-11T08:44:25Z","author_association":"NONE","body":"I'm facing same sort of issue.\r\nI tried to deal with the _Recovery notification delay_ option.\r\nIt helps, muting the recovery notifications, but we still receive subsequent non-OK alerts.\r\nIssue opened regarding this here : https://github.com/centreon/centreon/issues/6602"}}
{"actor":{"display_login":"CPbN"}}