Ad Widget

Collapse

Filtering Discovery rule

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • novazion
    Junior Member
    • Sep 2013
    • 13

    #1

    Filtering Discovery rule

    Hello,

    I recently tried to create a template with snmp discovery.
    To fine tune my template i need to use filter.
    But it dosn't seem to work.

    My zabbix version is 4.0.3.

    My snmp OID rule I discover is :
    Code:
    discovery[{#IFDESCR},.1.3.6.1.4.1.11256.1.4.1.1.2,{#IFALIAS},.1.3.6.1.4.1.11256.1.4.1.1.6]
    My filter Rule is:
    Code:
    {#IFALIAS} matches "^Ethernet|^Dialup"
    But nothing is created.
    If I Disable the filter every Interface are created.

    I tried to use #IFTYPE in replacement of #IFALIAS.

    I surely miss something, but cant find what.

    Also I didn't find any source about predefined MACROS usable.

    Many thanks for your help.
    Emeric.
  • novazion
    Junior Member
    • Sep 2013
    • 13

    #2
    Up.
    I tried to update to 4.0.19 with no change.

    Thanks.

    Comment

    • novazion
      Junior Member
      • Sep 2013
      • 13

      #3
      Ok Correct syntax is
      {#IFALIAS} matches Ethernet|Dialup I can't do a regex correctly, don't know if it's hereditary...

      Comment

      Working...