centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

[VMware] Catch vCenter top-level alarms

Open UrBnW opened this issue 4 years ago • 2 comments

Hi,

I'm not sure whether or not it's possible (I did not find anything relevant yet), but would be pretty nice to be able to monitor the VMware Skyline health status :

Screenshot 2021-07-22 at 16 12 40

Mmmmh finally I just figured-out Skyline Health also appears as alarms. But at the very top level / VCSA (see below screenshot). Not at the datacenter level (mode alarm-datacenter), not at the host level (mode alarm-host). Perhaps we then miss some alarm modes ? VCSA ? Cluster ? VM ?

Screenshot 2021-07-23 at 15 58 05

Thank you 👍

UrBnW avatar Jul 22 '21 14:07 UrBnW

If you find a API, why not.

garnier-quentin avatar Jul 22 '21 14:07 garnier-quentin

Instead of using the triggeredAlarmState property of entities, and as there is apparently no "top level" entity, I wonder whether or not the GetAlarm method from the AlarmManager would do the trick, grabbing ALL alarms from the top level / VSCA. If so, we could imagine only one alarm mode, with some filter options (datacenter, cluster, host, vm...).

Default VCSA configuration defines a lot of alarms at top level, goal would then be to be able to catch them... Thx :+1:

UrBnW avatar Aug 05 '21 20:08 UrBnW