Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icinga-powershell-framework 1.13.2 - Heartbeat: Warning threshold range "13" is greater than Critical threshold range "6" #784

Open
Aleksey-Maksimov opened this issue Feb 6, 2025 · 1 comment

Comments

@Aleksey-Maksimov
Copy link

Hello,

After we updated icinga-powershell-framework to the current version 1.13.2, on all Hyper-V virtualization hosts we got a new problem with the Invoke-IcingaCheckHyperVVMHealth cmdlet.

On all hosts for all virtual machines a strange warning appeared 'Heartbeat: Warning threshold range "13" is greater than Critical threshold range "6"' and virtual machine monitoring for all hosts now has the status "[UNKNOWN]"

Invoke-IcingaCheckHyperVVMHealth -NegateVMState -NoPerfData -Verbosity 2 -VmEnabledState Enabled

[UNKNOWN] Virtual Computers: 6 Unknown 1 Ok [UNKNOWN] SRV-DEV01, SRV-DEV05, SRV-DEV11, SRV-DEV20, SRV-DEV21, SRV-DEV30
\_ [OK] Active VMs: 6
\_ [UNKNOWN] SRV-DEV01
   \_ [OK] SRV-DEV01 Blackout Time: 700ms
   \_ [OK] SRV-DEV01 HealthState: OK
   \_ [UNKNOWN] SRV-DEV01 Heartbeat: Warning threshold range "13" is greater than Critical threshold range "6"
   \_ [OK] SRV-DEV01 State: Enabled
\_ [UNKNOWN] SRV-DEV05
   \_ [OK] SRV-DEV05 Blackout Time: 500ms
   \_ [OK] SRV-DEV05 HealthState: OK
   \_ [UNKNOWN] SRV-DEV05 Heartbeat: Warning threshold range "13" is greater than Critical threshold range "6"
   \_ [OK] SRV-DEV05 State: Enabled
\_ [UNKNOWN] SRV-DEV11
   \_ [OK] SRV-DEV11 Blackout Time: 2.1s
   \_ [OK] SRV-DEV11 HealthState: OK
   \_ [UNKNOWN] SRV-DEV11 Heartbeat: Warning threshold range "13" is greater than Critical threshold range "6"
   \_ [OK] SRV-DEV11 State: Enabled
\_ [UNKNOWN] SRV-DEV20
   \_ [OK] SRV-DEV20 Blackout Time: 500ms
   \_ [OK] SRV-DEV20 HealthState: OK
   \_ [UNKNOWN] SRV-DEV20 Heartbeat: Warning threshold range "13" is greater than Critical threshold range "6"
   \_ [OK] SRV-DEV20 State: Enabled
\_ [UNKNOWN] SRV-DEV21
   \_ [OK] SRV-DEV21 Blackout Time: 800ms
   \_ [OK] SRV-DEV21 HealthState: OK
   \_ [UNKNOWN] SRV-DEV21 Heartbeat: Warning threshold range "13" is greater than Critical threshold range "6"
   \_ [OK] SRV-DEV21 State: Enabled
\_ [UNKNOWN] SRV-DEV30
   \_ [OK] SRV-DEV30 Blackout Time: 500ms
   \_ [OK] SRV-DEV30 HealthState: OK
   \_ [UNKNOWN] SRV-DEV30 Heartbeat: Warning threshold range "13" is greater than Critical threshold range "6"
   \_ [OK] SRV-DEV30 State: Enabled
3
@audiocoach
Copy link

It seems that there are more checks which don't work correctly anymore. Probably a result of the reworked threshold handling #750

`
Invoke-IcingaCheckNetworkInterface -PackteReceivedErrorWarn '10' -PackteReceivedErrorCrit '15' -PackteOutboundErrorWarn '1%' -PackteOutboundErrorCrit '2%' -PacketOutboundDiscardedWarn '1%' -PacketOutboundDiscardedCrit '2%' -LinkSpeedWarn '1 GBit' -LinkSpeedCrit '0 MBit' -IfTeamStatusWarn 'Degraded' -IfTeamStatusCrit 'Down' -IfSlaveEnabledStateWarn 'InTest' -IfSlaveEnabledStateCrit 'EnabledButOffline' -IfAdminStatusWarn 'Down' -IfOperationalStatusWarn 'LowerLayerDown' -IfOperationalStatusCrit 'Down' -IfConnectionStatusWarn 'HardwareMalfunction' -IfConnectionStatusCrit 'Disconnected' -Verbosity '2'

[UNKNOWN] Network Device Package: 1 Unknown [UNKNOWN] Interface Ethernet
_ [UNKNOWN] Interface Ethernet
_ [OK] eth 1: AdminLocked: 0
_ [OK] eth 1: bytes received/sec: 349.8834B
_ [OK] eth 1: bytes sent/sec: 1003.716B
_ [OK] eth 1: bytes total/sec: 1.25KiB
_ [OK] eth 1: Interface AdminStatus: Up
_ [UNKNOWN] eth 1: Interface OperationalStatus: Warning threshold range "7" is greater than Critical threshold range "2"
_ [UNKNOWN] eth 1: LinkSpeed: Warning threshold range "1 GBit" is greater than Critical threshold range "0 MBit"
_ [UNKNOWN] eth 1: NetConnectionStatus: Warning threshold range "6" is greater than Critical threshold range "0"
_ [OK] eth 1: packets outbound discarded: 0c (0%)
_ [OK] eth 1: packets outbound errors: 0c (0%)
_ [OK] eth 1: packets received discarded: 0c
_ [OK] eth 1: packets received errors: 0c
_ [OK] eth 1: packets received/sec: 7.916879c
_ [OK] eth 1: packets sent/sec: 8.685275c
_ [OK] eth 1: VlanID: 0
| eth1::ifw_networkinterface::linkspeed=10000000000;;;; eth1::ifw_networkinterface::bytesreceivedsec=349.8834;;;0;1250000000 eth1::ifw_networkinterface::bytessentsec=1003.716;;;0;1250000000 eth1::ifw_networkinterface::bytestotalsec=1280.548;;;0;1250000000 eth1::ifw_networkinterface::packetsoutbounddiscarded=0;0;0;0;8.685275 eth1::ifw_networkinterface::packetsoutbounderrors=0;0;0;0;8.685275 eth1::ifw_networkinterface::packetsreceiveddiscarded=0;;;0;7.916879 eth1::ifw_networkinterface::packetsreceivederrors=0;10;15;0;7.916879 eth1::ifw_networkinterface::packetsreceivedsec=7.916879;;;; eth1::ifw_networkinterface::packetssentsec=8.685275;;;;
3
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants