lozzd/Nagdash

Livestatus support

ppanula opened this issue · 4 comments

I am using Naemon and Nagios with Livestatus. Not sure there is nagios-api for Nagios v4 or Naemon (basicly Nagios v4)

Would like to have support for using Livestatus TCP socket as backend.

My +1C for this request.

I wrote some very basic livestatus -> nagios-api (and therefore: Nagdash) glue code. Please don't judge... it doesn't do any error handling, has lots of duplicate code, the variable naming is horrible and it probably doesn't scale very well for lots of hosts and services. But it's a start and can probably be enhanced and extended to a working livestatus implementation for Nagdash.

https://gist.github.com/foobar0815/4484cd2bbea1d387ef4898ca0bb9ae19