{"action":"created","issue":{"url":"https://api.github.com/repos/sni/Thruk/issues/539","labels_url":"https://api.github.com/repos/sni/Thruk/issues/539/labels{/name}","comments_url":"https://api.github.com/repos/sni/Thruk/issues/539/comments","events_url":"https://api.github.com/repos/sni/Thruk/issues/539/events","html_url":"https://github.com/sni/Thruk/issues/539","id":116291805,"number":539,"title":"Contact Group is missing from Configuration View Hosts and Services","user":{"login":"gitmopp","id":5023900,"avatar_url":"https://avatars.githubusercontent.com/u/5023900?v=3","gravatar_id":"","url":"https://api.github.com/users/gitmopp","html_url":"https://github.com/gitmopp","followers_url":"https://api.github.com/users/gitmopp/followers","following_url":"https://api.github.com/users/gitmopp/following{/other_user}","gists_url":"https://api.github.com/users/gitmopp/gists{/gist_id}","starred_url":"https://api.github.com/users/gitmopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitmopp/subscriptions","organizations_url":"https://api.github.com/users/gitmopp/orgs","repos_url":"https://api.github.com/users/gitmopp/repos","events_url":"https://api.github.com/users/gitmopp/events{/privacy}","received_events_url":"https://api.github.com/users/gitmopp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-11T08:56:30Z","updated_at":"2015-11-11T13:06:54Z","closed_at":"2015-11-11T09:45:05Z","body":"The Configuration View System -> Configuration -> Hosts / Services does not show Contact Groups.\r\n\r\nThe column contact_groups is missing for hosts and services.\r\nCurrent hosts live status query without contact_groups:\r\nGET hosts\r\nColumns: accept_passive_checks acknowledged action_url action_url_expanded active_checks_enabled address alias check_command check_freshness check_interval check_options check_period check_type checks_enabled childs comments current_attempt current_notification_number event_handler event_handler_enabled execution_time custom_variable_names custom_variable_values first_notification_delay flap_detection_enabled groups has_been_checked high_flap_threshold icon_image icon_image_alt icon_image_expanded is_executing is_flapping last_check last_notification last_state_change latency long_plugin_output low_flap_threshold max_check_attempts name next_check notes notes_expanded notes_url notes_url_expanded notification_interval notification_period notifications_enabled num_services_crit num_services_ok num_services_pending num_services_unknown num_services_warn num_services obsess_over_host parents percent_state_change perf_data plugin_output process_performance_data retry_interval scheduled_downtime_depth state state_type modified_attributes_list last_time_down last_time_unreachable last_time_up display_name in_check_period in_notification_period contacts\r\nOutputFormat: json\r\nResponseHeader: fixed16\r\n\r\n\r\nCan you please extend the query to support contact_groups."},"comment":{"url":"https://api.github.com/repos/sni/Thruk/issues/comments/155782041","html_url":"https://github.com/sni/Thruk/issues/539#issuecomment-155782041","issue_url":"https://api.github.com/repos/sni/Thruk/issues/539","id":155782041,"user":{"login":"sni","id":150844,"avatar_url":"https://avatars.githubusercontent.com/u/150844?v=3","gravatar_id":"","url":"https://api.github.com/users/sni","html_url":"https://github.com/sni","followers_url":"https://api.github.com/users/sni/followers","following_url":"https://api.github.com/users/sni/following{/other_user}","gists_url":"https://api.github.com/users/sni/gists{/gist_id}","starred_url":"https://api.github.com/users/sni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sni/subscriptions","organizations_url":"https://api.github.com/users/sni/orgs","repos_url":"https://api.github.com/users/sni/repos","events_url":"https://api.github.com/users/sni/events{/privacy}","received_events_url":"https://api.github.com/users/sni/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T13:06:54Z","updated_at":"2015-11-11T13:06:54Z","body":"Thats ugly. But you could add a if clause like here:\r\nhttps://github.com/sni/Thruk/blob/master/lib/Thruk/Controller/cmd.pm#L397"}}