{"action":"created","issue":{"url":"https://api.github.com/repos/naparuba/shinken/issues/1756","repository_url":"https://api.github.com/repos/naparuba/shinken","labels_url":"https://api.github.com/repos/naparuba/shinken/issues/1756/labels{/name}","comments_url":"https://api.github.com/repos/naparuba/shinken/issues/1756/comments","events_url":"https://api.github.com/repos/naparuba/shinken/issues/1756/events","html_url":"https://github.com/naparuba/shinken/issues/1756","id":117374149,"number":1756,"title":"serviceescalation assignet to servicegroups","user":{"login":"lesteff","id":13567009,"avatar_url":"https://avatars.githubusercontent.com/u/13567009?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteff","html_url":"https://github.com/lesteff","followers_url":"https://api.github.com/users/lesteff/followers","following_url":"https://api.github.com/users/lesteff/following{/other_user}","gists_url":"https://api.github.com/users/lesteff/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteff/subscriptions","organizations_url":"https://api.github.com/users/lesteff/orgs","repos_url":"https://api.github.com/users/lesteff/repos","events_url":"https://api.github.com/users/lesteff/events{/privacy}","received_events_url":"https://api.github.com/users/lesteff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/naparuba/shinken/labels/TOSORT","name":"TOSORT","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/naparuba/shinken/milestones/10","html_url":"https://github.com/naparuba/shinken/milestones/Not%20prioritized","labels_url":"https://api.github.com/repos/naparuba/shinken/milestones/10/labels","id":164737,"number":10,"title":"Not prioritized","description":"If you need a feature in this milestone, please assign yourself the ticket and propose a patch. Thank you :)","creator":{"login":"naparuba","id":445325,"avatar_url":"https://avatars.githubusercontent.com/u/445325?v=3","gravatar_id":"","url":"https://api.github.com/users/naparuba","html_url":"https://github.com/naparuba","followers_url":"https://api.github.com/users/naparuba/followers","following_url":"https://api.github.com/users/naparuba/following{/other_user}","gists_url":"https://api.github.com/users/naparuba/gists{/gist_id}","starred_url":"https://api.github.com/users/naparuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naparuba/subscriptions","organizations_url":"https://api.github.com/users/naparuba/orgs","repos_url":"https://api.github.com/users/naparuba/repos","events_url":"https://api.github.com/users/naparuba/events{/privacy}","received_events_url":"https://api.github.com/users/naparuba/received_events","type":"User","site_admin":false},"open_issues":78,"closed_issues":82,"state":"open","created_at":"2012-08-23T13:25:11Z","updated_at":"2016-06-18T15:33:25Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-11-17T15:09:05Z","updated_at":"2016-08-07T18:26:44Z","closed_at":null,"body":"I think there is an issue with escalations which are *assigned* to a servicegroup\r\n\r\nDescribed in [in the Advanced Docs] (http://shinken.readthedocs.org/en/latest/07_advanced/objecttricks.html#all-services-in-multiple-servicegroups) and mentioned in [the shinken Forum](\r\nhttp://forum.shinken-monitoring.org/threads/1457-serviceescalation-not-working)\r\n\r\n\r\nBase Set:\r\n```\r\ndefine host {\r\n  host_name\t  ServerDummy\r\n  address\t  localhost\r\n  contacts\t  admin\r\n  use\t\t  generic-host\r\n}\r\n\r\ndefine service {\r\n service_description      Service\r\n host_name                ServerDummy\r\n check_command            always_critical\r\n check_interval           3\r\n max_check_attempts       1\r\n retry_interval           1  \r\n notification_interval    1\r\n servicegroups\t\t\t  urgent\r\n escalations              to_boss1\r\n}\r\ndefine servicegroup{\r\n servicegroup_name   urgent\r\n alias               All critcal service\r\n }\r\n```\r\nThis \"old\" fashioned Nagios escalation doesnt work  - boss2 gets never informed. \r\n```\r\ndefine serviceescalation{\r\n\tservicegroup_name       urgent\r\n\tcontact \t\t\t\tboss2\r\n\tfirst_notification      2\r\n\tlast_notification       10\r\n\tnotification_interval   1\r\n}\r\n```\r\nThe \"new\" escalation works nice (but does not fit well within my setup)\r\n```\r\ndefine escalation{\r\n    escalation_name\t\t\tto_boss1\r\n    contacts                boss1         \r\n    first_notification_time 2\r\n    last_notification_time  10\r\n    notification_interval   1\r\n}\r\n```\r\nFresh shinken 2.4.2 (pip) - Configuration migration from an (working)  Nagios Setup cannot say if its new in 2.4.2...\r\n\r\nMaybe somebody can me some advice to start troubleshooting? Is there a way to see the \"compiled\" running configuration which shinken use?\r\nNo Special findings in the daemon debug logs.\r\n\r\nthanks in advance\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/naparuba/shinken/issues/comments/238099242","html_url":"https://github.com/naparuba/shinken/issues/1756#issuecomment-238099242","issue_url":"https://api.github.com/repos/naparuba/shinken/issues/1756","id":238099242,"user":{"login":"justinpryzby","id":6146401,"avatar_url":"https://avatars.githubusercontent.com/u/6146401?v=3","gravatar_id":"","url":"https://api.github.com/users/justinpryzby","html_url":"https://github.com/justinpryzby","followers_url":"https://api.github.com/users/justinpryzby/followers","following_url":"https://api.github.com/users/justinpryzby/following{/other_user}","gists_url":"https://api.github.com/users/justinpryzby/gists{/gist_id}","starred_url":"https://api.github.com/users/justinpryzby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinpryzby/subscriptions","organizations_url":"https://api.github.com/users/justinpryzby/orgs","repos_url":"https://api.github.com/users/justinpryzby/repos","events_url":"https://api.github.com/users/justinpryzby/events{/privacy}","received_events_url":"https://api.github.com/users/justinpryzby/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T18:26:44Z","updated_at":"2016-08-07T18:26:44Z","body":"It'd be really nice to know if this was expected/intended/tested to work.\r\n\r\nI tried using servicegroup dependencies as described and found another problem.\r\nhttp://shinken.readthedocs.io/en/latest/07_advanced/objecttricks.html#id7\r\n  File \"/usr/local/lib/python2.7/dist-packages/shinken/objects/servicedependency.py\", line 189, in explode\r\n    dep_snames = [d.strip() for d in sd.dependent_service_description.split(',')]\r\nAttributeError: 'Servicedependency' object has no attribute 'dependent_service_description'\r\n\r\nIt seems to me that servicegroups aren't exploded, as needed at least for dependencies and escalations .. no ?"}}
{"actor":{"display_login":"justinpryzby"}}