Ad Widget

Collapse

Trigger is not closing automatly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexxowo
    Junior Member
    • Sep 2021
    • 4

    #1

    Trigger is not closing automatly

    Hi guys!
    For a week I have been trying to deal with a bug / error that I have with some triggers in zabbix and i currently use version 5.4.3. The error occurs that certain triggers are not closing automatically, I have been doing internal tests with a router on the network, and the triggers work perfectly, but there are some devices that the trigger does not close, and they have up to 16 days open. The template I use is the default Mikrotik SNMP Offsite, and the triger that does not close properly is the indicator of when an ethernet port changes speed, and when it returns to the normal value, the trigger is not closed.

    I have carried out the tests by changing the speed of some port in my local network from winbox using a mikrotik router, but in this case if this trigger is correctly activated and deactivated. Is there a known bug about this? I am attaching the expression of the currently discovered trigger, and together with that, a snapshot of the problem.

    Code:
    change(/Interfaces SNMP Offsite/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/Interfaces SNMP Offsite/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
    and (
    last(/Interfaces SNMP Offsite/net.if.type[ifType.{#SNMPINDEX}])=6 or
    last(/Interfaces SNMP Offsite/net.if.type[ifType.{#SNMPINDEX}])=7 or
    last(/Interfaces SNMP Offsite/net.if.type[ifType.{#SNMPINDEX}])=11 or
    last(/Interfaces SNMP Offsite/net.if.type[ifType.{#SNMPINDEX}])=62 or
    last(/Interfaces SNMP Offsite/net.if.type[ifType.{#SNMPINDEX}])=69 or
    last(/Interfaces SNMP Offsite/net.if.type[ifType.{#SNMPINDEX}])=117
    )
    and
    (last(/Interfaces SNMP Offsite/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)
    And the recovery expression is:
    Code:
    (change(/Interfaces SNMP Offsite/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/Interfaces SNMP Offsite/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or
    (last(/Interfaces SNMP Offsite/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)
    And there is the capture for the problems and graphs
    Click image for larger version

Name:	Captura de pantalla-20210930135616-1284x85.png
Views:	299
Size:	15.7 KB
ID:	432481
    And there is the capture for the graphs, the normal value is 100mbps.
    Click image for larger version

Name:	Captura de pantalla-20210930135654-1293x293.png
Views:	236
Size:	107.8 KB
ID:	432482

    thanks for you help!
Working...