@@ -122,11 +122,11 @@ def _get_status(self):
122122 # define CGI URLs for hosts and services
123123 if self .cgiurl_hosts is None and self .cgiurl_services is None and self .cgiurl_monitoring_health is None :
124124 # services (unknown, warning or critical?)
125- self .cgiurl_services = {'hard' : self .monitor_cgi_url + '/icingadb/services?service.state.is_problem=y&service.state.state_type=hard&columns=service.state.last_update,service.state.is_reachable&format=json' , \
126- 'soft' : self .monitor_cgi_url + '/icingadb/services?service.state.is_problem=y&service.state.state_type=soft&columns=service.state.last_update,service.state.is_reachable&format=json' }
125+ self .cgiurl_services = {'hard' : self .monitor_cgi_url + '/icingadb/services?service.state.is_problem=y&service.state.state_type=hard&columns=service.host.name,service.host.display_name,service.name,service.display_name,service. state.hard_state,service.state. last_update,service.state.check_attempt,service.max_check_attempts,service.state.output,service.active_checks_enabled,service.notifications_enabled,service.state.is_flapping,service.state.is_acknowledged,service.state.in_downtime,service.state.last_state_change ,service.state.is_reachable&format=json' , \
126+ 'soft' : self .monitor_cgi_url + '/icingadb/services?service.state.is_problem=y&service.state.state_type=soft&columns=service.host.name,service.host.display_name,service.name,service.display_name,service. state.soft_state,service.state. last_update,service.state.check_attempt,service.max_check_attempts,service.state.output,service.active_checks_enabled,service.notifications_enabled,service.state.is_flapping,service.state.is_acknowledged,service.state.in_downtime,service.state.last_state_change ,service.state.is_reachable&format=json' }
127127 # hosts (up or down or unreachable)
128- self .cgiurl_hosts = {'hard' : self .monitor_cgi_url + '/icingadb/hosts?host.state.is_problem=y&host.state.state_type=hard&columns=host.state.last_update&format=json' , \
129- 'soft' : self .monitor_cgi_url + '/icingadb/hosts?host.state.is_problem=y&host.state.state_type=soft&columns=host.state.last_update&format=json' }
128+ self .cgiurl_hosts = {'hard' : self .monitor_cgi_url + '/icingadb/hosts?host.state.is_problem=y&host.state.state_type=hard&columns=host.name,host.display_name,host. state.hard_state,host.state. last_update,state.check_attempt,max_check_attempts,state.output,active_checks_enabled,notifications_enabled,state.is_flapping,state.is_acknowledged,state.in_downtime,state.last_state_change &format=json' , \
129+ 'soft' : self .monitor_cgi_url + '/icingadb/hosts?host.state.is_problem=y&host.state.state_type=soft&columns=host.name,host.display_name,host. state.soft_state,host.state. last_update,state.check_attempt,max_check_attempts,state.output,active_checks_enabled,notifications_enabled,state.is_flapping,state.is_acknowledged,state.in_downtime,state.last_state_change &format=json' }
130130 # monitoring health
131131 self .cgiurl_monitoring_health = self .monitor_cgi_url + '/health?format=json'
132132
0 commit comments