icingaweb2-module-vspheredb
icingaweb2-module-vspheredb copied to clipboard
Provide a general health check for the module status
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.
The currently implemented
HealthCommanddoes 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.
