Ad Widget

Collapse

Exclude interface from "Network Interfaces Discovery" trigger prototype

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Morten Rask Christensen
    Junior Member
    • Jul 2019
    • 3

    #1

    Exclude interface from "Network Interfaces Discovery" trigger prototype

    Hello,

    We have been using Zabbix for a couple of weeks now, being able to customize it to our needs so far.

    But I can't seem to acomplish what I want to do with the template "Module Interfaces SNMPv2". We like the idea of having monitoring on the interfaces of our switches with the item prototype "Interface {#IFNAME}({#IFALIAS}): Operational status", but the trigger prototype is a bit much.

    We have descriptions on our interfaces, such as VoIP/User. Could it be possible to filter these out on the trigger prototype "Interface {#IFNAME}({#IFALIAS}): Link down"?

    By default it says the following: "{$IFCONTROL:"{#IFNAME}"}=1 and ({Template Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2 and {Template Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].diff()}=1)"

    I'd imagine it would be something along the lines of #IFALIAS not equal to VoIP/User, but I wouldn't know how write that.

    Can anyone help us out?
  • Morten Rask Christensen
    Junior Member
    • Jul 2019
    • 3

    #2
    No suggestions? The prototype is quite good, we'd just like to be able to filter on the triggers.

    Comment

    • hh_ph
      Junior Member
      • Nov 2020
      • 15

      #3
      I'm also working on this and would love a filter or regex answer

      Comment

      Working...