Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.0.0P1

Table of Contents

Livestatus queries over network

For SSH connection

Code Block
languagebash
themeRDark
OMD[mysite]~# ssh -t root@host ''su -site' "lq 'GET hosts\nColumns: name'"

...

Code Block
themeRDark
OMD[mysite]~# echo -e  "GET hosts\nColumns: name\n" | nc -q1 127.0.0.1 6999  

OMD[mysite]~# telnet 127.0.0.1 6999


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("lql","lql_queries","livestatus") and type = "page" and space = "KB"
labelslivestatus lql lql_queries

...