It should work with everything talking livestatus, this includes cmk.
So far i don't see any error message, just the query itself. Is it
possible to update Thruk as well?
On 16.12.24 11:40, Fabrice Le Dorze wrote:
> Even when backends are CheckMK ones ?
> I got :
> /lmd error - /var/cache/thruk/lmd/live.sock:
> peer $VAR1 = '/var/cache/thruk/lmd/live.sock';
> statement $VAR1 = 'GET hosts
> Backends: 36a9e 229c2
> Columns: 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 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 has_long_plugin_output last_state_change_order lmd_last_cache_update depends_exec depends_notify peer_key
> Filter: state = 1
> Filter: has_been_checked = 1
> And: 2
> Filter: groups !>= OT
> Filter: groups !>= NonProd
> Filter: groups !>= DockerContainers
> And: 4
> Sort: name asc
> OutputFormat: wrapped_json
> ResponseHeader: fixed16
> ';/
>
> Le lundi 16 décembre 2024 à 11:25:20 UTC+1, Sven Nierlein a écrit :
>
> Hi,
>
> i suggest using LMD when connecting to multiple or remote backends.
> See
https://thruk.org/documentation/lmd.html <
https://thruk.org/documentation/lmd.html>
>
> Regards,
> Sven
>
>
> On 16.12.24 11:10, Fabrice Le Dorze wrote:
> > Hi
> > We got a power outage in a site, making its CheckMK satellite unreachable.
> > Since, central Thruk became slow and Grafana elements using Central Thruk fail.
> > See below the installation :
> > * Thruk 3.16
> > * Grafana 11.2 with sni-thruk-datasource @ 2.0.4
> >
> > Setting hidden to 1 through WEB GUI or in /etc/thruk/thruk_local.conf solve the problem.
> >
> > But is there a way to do it in command line ?
> > Thx
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Thruk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to
thruk+un...@googlegroups.com <mailto:
thruk+un...@googlegroups.com>.
> > To view this discussion visit
https://groups.google.com/d/msgid/thruk/3f2d9bbf-a474-4d0f-96b4-5e1cfd85c214n%40googlegroups.com <
https://groups.google.com/d/msgid/thruk/3f2d9bbf-a474-4d0f-96b4-5e1cfd85c214n%40googlegroups.com> <
https://groups.google.com/d/msgid/thruk/3f2d9bbf-a474-4d0f-96b4-5e1cfd85c214n%40googlegroups.com?utm_medium=email&utm_source=footer <
https://groups.google.com/d/msgid/thruk/3f2d9bbf-a474-4d0f-96b4-5e1cfd85c214n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
> To view this discussion visit
https://groups.google.com/d/msgid/thruk/a57a112e-ebba-4ee2-a444-4febf648402cn%40googlegroups.com <
https://groups.google.com/d/msgid/thruk/a57a112e-ebba-4ee2-a444-4febf648402cn%40googlegroups.com?utm_medium=email&utm_source=footer>.