Convert Livestatus command line to a service check for a host

I have a Livetsatus command that I used to query a host and I want to create a service check for those hosts with the output from the Livestatus command.

Is there a way to do that ? I though of using local checks but “lq” doesn’t exist on my host.

Hi,
you can use livestatus in a network environment:
https://docs.checkmk.com/latest/en/livestatus.html#network

Karl

1 Like

Yes this should work I think. Is it a good idea to do that for all the hosts in my monitoring because I was interested in executing the same livestatus command from all my hosts probable like once a day ?

Hi,

that should be no problem :slight_smile:

Karl

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.