...
Info |
---|
This article provides information on Livestatus queries. |
Status | ||||
---|---|---|---|---|
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]~# ssh -t root@host ''su -site' "lq 'GET hosts\nColumns: name'" |
For TLS connection
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]~# echo -e "GET hosts\nColumns: name\n"| openssl s_client -connect "ipaddress:port number" -ign_eof -quiet |
...