Icinga / icingaweb2-module-vspheredb

The easiest way to monitor a VMware vSphere environment.

Home Page:https://icinga.com/docs/vsphere/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alarm that changed Overall VMware Object State is missing

slalomsk8er opened this issue · comments

Expected Behavior

[CRITICAL] Virtual Machine, according configured rules
[CRITICAL] Object State Policy
[CRITICAL] Overall VMware Object State
\_ [CRITICAL] Overall VMware status is 'red' 
    \_[CRITICAL] Alarm 'Virtual machine CPU usage' on vmrmgln01 changed from Green to Red
[OK] Power State
\_ [OK] Virtual Machine is powered on 
\_ [OK] System booted 21h 25m ago 
[OK] Compute Resource Usage
[OK] CPU Usage
\_ [OK] 3.77 GHz out of 3.09 GHz used, -680 MHz (-21.99%) free 
[OK] Memory Usage
\_ [OK] -23.00 MiB out of 512.00 MiB (-4.49%) free 
[OK] Active Memory Usage
\_ [OK] 507.00 MiB out of 512.00 MiB (99.02%) free 
[OK] Disk Health
[OK] Snapshot Policy
\_ [OK] There are no snapshots 
[OK] Configuration Policy
[OK] Guest Utilities Policy
\_ [OK] Guest Tools (v2147483647) are NOT running

Current Behavior

[CRITICAL] Virtual Machine, according configured rules
[CRITICAL] Object State Policy
[CRITICAL] Overall VMware Object State
\_ [CRITICAL] Overall VMware status is 'red' 
[OK] Power State
\_ [OK] Virtual Machine is powered on 
\_ [OK] System booted 21h 25m ago 
[OK] Compute Resource Usage
[OK] CPU Usage
\_ [OK] 3.77 GHz out of 3.09 GHz used, -680 MHz (-21.99%) free 
[OK] Memory Usage
\_ [OK] -23.00 MiB out of 512.00 MiB (-4.49%) free 
[OK] Active Memory Usage
\_ [OK] 507.00 MiB out of 512.00 MiB (99.02%) free 
[OK] Disk Health
[OK] Snapshot Policy
\_ [OK] There are no snapshots 
[OK] Configuration Policy
[OK] Guest Utilities Policy
\_ [OK] Guest Tools (v2147483647) are NOT running

Your Environment

  • VMware vCenter®/ESXi™-Version: 6.7.0 build-18010599
  • Version/GIT-Hash of this module: 1.6.0

Note for myself: this requires synchronizing currently triggered Alarm states from the vCenter

I'm also missing this information in the alarms of the vmhosts. A message like "_ [CRITICAL] Overall VMware status is 'red'" is probably not sufficient or helpful for informing an on-duty-team at the weekend.
Maybe I'm wrong but it looks like the message is almost present in the "full_message"-column of the alarm_history-table:
| Alarm 'Host CPU usage' on examplehost.com changed from Yellow to Red