As soon as a trigger is created for a host, the trigger becomes problem state and recovers immediately but triggers for network usage (Gig interface) doesn't recover.
This is for a trigger prototype which gets added to SNMP host. The host has few GigaBit interface and few 10Gig Interface and one Ether Management interface. Ethernet Management interface recovers instantly but all Gigabit interface are still in PROBLEM state.
Item: Incoming traffic and one more for outgoing traffic
Keys ifInOctets and IfOutOctets
units:bps
Custom Multiplier:8
All these triggers does not recover, they stay in Problem state.
Format 1:
({SNMP Interfaces:ifInOctets[{#SNMPVALUE}].last()}*100/{SNMP Interfaces:ifHighSpeed[{#SNMPVALUE}].last()})>75 or ifOutOctet/ifSpeed
Format 2:
100*({SNMP Interfaces:ifInOctets[{#SNMPVALUE}].last(0)}/{SNMP Interfaces:ifHighSpeed[{#SNMPVALUE}].last(0)})>75 or ifOutOctet/ifSpeed
Format 3:
{Custom SNMP Interfaces:ifInOctets[{#SNMPVALUE}].last()}>{Custom SNMP Interfaces:ifHighSpeed[{#SNMPVALUE}].last()}*0.8 or ifOutOctet > ifSpeed
Looks like it gets resolved if the value is 0bps. Any idea why the trigger is wrong?
I've tested the expression constructor and the current trigger values return false when testing but alert still in PROBLEM
Current value for Incoming traffic: 2 Mbps
Current value for Outgoing traffic: 4 Mbps
Very low traffic for other interfaces atm. But all gig interface are stuck
I think it will also trigger falsely if the traffic becomes low (in kbps).
This is for a trigger prototype which gets added to SNMP host. The host has few GigaBit interface and few 10Gig Interface and one Ether Management interface. Ethernet Management interface recovers instantly but all Gigabit interface are still in PROBLEM state.
Item: Incoming traffic and one more for outgoing traffic
Keys ifInOctets and IfOutOctets
units:bps
Custom Multiplier:8
All these triggers does not recover, they stay in Problem state.
Format 1:
({SNMP Interfaces:ifInOctets[{#SNMPVALUE}].last()}*100/{SNMP Interfaces:ifHighSpeed[{#SNMPVALUE}].last()})>75 or ifOutOctet/ifSpeed
Format 2:
100*({SNMP Interfaces:ifInOctets[{#SNMPVALUE}].last(0)}/{SNMP Interfaces:ifHighSpeed[{#SNMPVALUE}].last(0)})>75 or ifOutOctet/ifSpeed
Format 3:
{Custom SNMP Interfaces:ifInOctets[{#SNMPVALUE}].last()}>{Custom SNMP Interfaces:ifHighSpeed[{#SNMPVALUE}].last()}*0.8 or ifOutOctet > ifSpeed
Looks like it gets resolved if the value is 0bps. Any idea why the trigger is wrong?
I've tested the expression constructor and the current trigger values return false when testing but alert still in PROBLEM
Current value for Incoming traffic: 2 Mbps
Current value for Outgoing traffic: 4 Mbps
Very low traffic for other interfaces atm. But all gig interface are stuck
I think it will also trigger falsely if the traffic becomes low (in kbps).
Comment