3

I'm reworking an Icinga setup I inherited. One of the things it perpetually complains about is ido2db not running (and idomod unable to connect to it).

Before figuring out, how to configure/fix it, I'm trying to find out, if we even need it in the first place. Unfortunately, all of the documentation I am able to find online talks about how to configure the functionality, not why do (or not do) it...

In particular, here is the most recent error on the subject in the log:

[1504809535] idomod: Still unable to connect to data sink.  83915 items lost, 5000 queued items to flush. Is ido2db running and processing data?

I'm guessing, the "items" are the check-results, etc. What feature(s) are we not benefiting from because of the cited losses?

Mikhail T.
  • 2,338
  • 1
  • 24
  • 55

1 Answers1

4

IDO is used for modern interfaces (Icinga Web) and things like graphing support to interact with Icinga. Basically, it writes all status information, checks etc. into an SQL database (that's ido2db's job).

If you only run a Icinga v1 interface with the classic (Nagios style) UI, you don't strictly need it, but if your reworking includes "Make Icinga not looking like a web page from 1998 anymore", you likely will end up using it.

Sven
  • 98,649
  • 14
  • 180
  • 226
  • 1
    Thanks. We use Grafana for graphing here and are fine with the 90-ies web-interface style :) Icinga is only used for alerting here so, maybe, we do not need it. – Mikhail T. Sep 07 '17 at 18:36
  • 1
    Also, where is Icinga keeping state _without_ this? Somehow it does retain the state of checks between restarts... – Mikhail T. Sep 07 '17 at 20:36
  • 2
    Look for retention.dat and keep it safe. – dnsmichi Oct 02 '17 at 18:40
  • 1
    I have the same doubts as @MikhailT. `ido2db` inconsistencies are time consuming, it's a pain to drop the tables, recreate them, etc., every time with small differences in behavior that make it very hard to create a bash script able to handle the whole process once and for all. I'm think I'm done with it. – Avio Feb 13 '19 at 13:13