You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
René Jochum c2df0f6cf0 Improve example.sh 4 years ago
cmd Rename socket -> lql-{site}-client.socket 4 years ago
debian Update changelog 4 years ago
internal Try reconnect on EPIPE maybe fixes conn problems 4 years ago
lql Try reconnect on EPIPE maybe fixes conn problems 4 years ago
version Initial commit 4 years ago
.gitignore Enable versioning 4 years ago
LICENSE Initial commit 4 years ago
Makefile Rename lql_api -> lql-api 4 years ago
README.md Update readme, add 0.0.3 to debian/changelog 4 years ago
example.sh Improve example.sh 4 years ago
go.mod Rename host -> hosts in stats/tactical_overview 4 years ago
go.sum Add /v1/table/:name and /v1/table/:name/columns 4 years ago
main.go Rename lql_api -> lql-api 4 years ago

README.md

lql-api

LQL API Client/Server for check_mk

See the LQL Docs for what LQL can do for you.

Commands the client supports

localclient - Local LQL Client

requires a local lql unix socket

localserver: Local LQL Server

requires a local lql unix socket

sshclient: SSH LQL Client

connects to your Server by SSH opens a SSH tunnel to the server's lql Socket and runs a query on it.

sshserver: SSH LQL Server

Connects to your Server by SSH opens a SSH tunnel to the server's lql Socket and runs an API Server for that socket.

Version

Prints the version

OpenAPI 3.0 Support in sshserver and localserver

This support's OpenAPI 3.0 use the url http://localhost:8080/openapi.json and browse it over an OpenAPI browser.

Build a debian package

if you use gvm

gvm use system; make debian; gvm use go1.15.1

else

make debian

License

MIT - Copyright 2020 by Webmeisterei GmbH