icingaweb2-module-vspheredb icon indicating copy to clipboard operation
icingaweb2-module-vspheredb copied to clipboard

Provide a general health check for the module status

Open lazyfrosch opened this issue 4 years ago • 1 comments

In addition to #2 we should provide a check command to monitor the status of vsphere DB from Icinga.

Checks:

  • Daemon running and OK
  • vCenter connections good and status up to date
  • Other problems with the module, like data latency and such

The currently implemented HealthCommand does not work, and seems to be more of a prototype.

I heard some work has been done in the next branch - but I'm unaware of the state and schedule.

lazyfrosch avatar Mar 26 '21 09:03 lazyfrosch

The currently implemented HealthCommand does not work, and seems to be more of a prototype. I heard some work has been done in the next branch - but I'm unaware of the state and schedule.

504144b is what you heard about ;-) It's all about vCenter connection state - not about the module itself. The problem I see with this is that it only replicates what happens in the daemon, IMHO it should run the checks through the daemon. This would effectively use the very same session information, and you wouldn't risk to run the checks with a different user, from a different SElinux context or whatsoever.

In the meantime, an additional check asking the DB for the current Daemon state should be a valuable addition. The DB also contains sub-process information, memory consumption and more - similar to what is shown in the UI daemon status tab.

Thomas-Gelf avatar Mar 26 '21 10:03 Thomas-Gelf

grafik

Thomas-Gelf avatar Sep 22 '22 13:09 Thomas-Gelf