sni / lmd

Livestatus Multitool Daemon - Create livestatus federation from multiple sources
https://labs.consol.de/omd/packages/lmd/
GNU General Public License v3.0
43 stars 31 forks source link

livestatus waiting examples don't work with lmd #14

Closed hkowallik closed 5 years ago

hkowallik commented 7 years ago

The livestatus documentation at https://mathias-kettner.de/checkmk_livestatus.html says that it is valid to use a Wait Trigger without a WaitCondition.

but lmd says bad request: WaitTrigger without WaitCondition

I wanted to use the example for polling the logs GET log Filter: time >= 1265062900 WaitTrigger: log WaitTimeout: 2000 which works for naemon but not for LMD.

To me this query seems like a good way to push logs into an external logging system.

Is this intentional? Are you protecting lmd (and me) from doing something stupid?

sni commented 7 years ago

Well, having no WaitCondition is not implemented in LMD, but since thats for the log table, the test should be skipped, since that query is forwarded only anyway.

sni commented 5 years ago

it should work now