Closed oneingan closed 7 years ago
Thanks, @juaningan. I was unable to use socat
to extract info, and your first example is working for me :+1:
socat does not play nicely with livestatus. I spend hours of stracing this setup already. It seems like it has something to do with the buffersize of socat. In the end we switched to ssh tunnel. There is also the advice in the Thruk FAQ not to use socat: https://www.thruk.org/documentation/faq.html#backend-not-available
Thanks, @sni. That documentation page you referred to, mentions "the normal xinetd way". What does that mean? Is there any further explanation? In other words, barring socat, what is the "best practice" way of extracting information from mk_livestatus ?
When using OMD, you can enable this by "omd config" in the "Distributed Monitoring" Subsection.
I solved this by adding the -t
Hi, I would like to make queries to livestatus without using shell pipes or redirections. I'm playin with socat and found some weird behaviour.
If I run
works well, but if I run:
some debug
Do you have any hint about the difference between both commands?