On 07.02.2014 16:15, Carlos Cesario wrote:
Hey... someone has idea how can I set/enable the "execute_host_checks" livestatus param in icinga2 ? I tried enable/disable "checker" module, but livestatus always show me this colum as value 0 (disabled).
Icinga 2 does not execute any host checks. Instead hosts may inherit the service check's virtual state, if defined.
Our intent with setting that value to 0 by default was to tell the truth about it, but maybe it will harm addons screaming for an error then.
status.dat does have it set to 1 even if not true, because Classic UI doesn't like it either. Feel free to open a ticket / provide a patch for livestatus then.
"get status" query show me theses values { 'accept_passive_host_checks' => 1, 'accept_passive_service_checks' => 1, 'cached_log_messages' => 0, 'check_external_commands' => 1, 'check_host_freshness' => 0, 'check_service_freshness' => 1, 'connections' => 22, 'connections_rate' => '0.0355247', 'enable_event_handlers' => 1, 'enable_flap_detection' => 1, 'enable_notifications' => 1, 'execute_host_checks' => 0, 'execute_service_checks' => 1, 'external_command_buffer_max' => 0, 'external_command_buffer_slots' => 0, 'external_command_buffer_usage' => 0, 'external_commands' => 0, 'external_commands_rate' => 0, 'forks' => 0, 'forks_rate' => 0, 'host_checks' => 0, 'host_checks_rate' => 0, 'interval_length' => 0, 'last_command_check' => 0, 'last_log_rotation' => 0, 'livecheck_overflows' => 0, 'livecheck_overflows_rate' => 0, 'livechecks' => 0, 'livechecks_rate' => 0, 'livestatus_active_connections' => 0, 'livestatus_queued_connections' => 0, 'livestatus_threads' => 0, 'livestatus_version' => 'jenkins-DIST=ubuntu-precise-332-7-g7d9dc1a', 'log_messages' => 0, 'log_messages_rate' => 0, 'nagios_pid' => 31069, 'neb_callbacks' => 0, 'neb_callbacks_rate' => 0, 'num_hosts' => 4, 'num_services' => 22, 'obsess_over_hosts' => 0, 'obsess_over_services' => 0, 'process_performance_data' => 1, 'program_start' => 1391785437, 'program_version' => 'jenkins-DIST=ubuntu-precise-332-7-g7d9dc1a', 'requests' => 0, 'requests_rate' => 0, 'service_checks' => 43, 'service_checks_rate' => '0.0694346' } Greats Carlos _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users
-- DI (FH) Michael Friedrich mail: michael.friedr...@gmail.com twitter: https://twitter.com/dnsmichi jabber: dnsmi...@jabber.ccc.de irc: irc.freenode.net/icinga dnsmichi icinga open source monitoring position: lead core developer url: https://www.icinga.org _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users