-
Problem report
-
Resolution: Incomplete
-
Minor
-
None
-
3.4.6
-
Ubuntu 16.04
I configure zabbix to receive snmptraps from network devices. In the item key field I use double quotes in regexp and escape it with backslash.
But the escaped double quotes and brackets will be removed too by autodiscovery?!
The item key field:
snmptrap["(IF-MIB::linkDown|IF-MIB::linkUp)(.|[[:space:]])*(\"{#IFDESCR}\")"]
And the generated item will be the following:
snmptrap["(IF-MIB::linkDown|IF-MIB::linkUp)(.|[[:space:]])*ge-0/0/20"]
The problem is, the generated item matches multiple interfaces eg. ge-0/0/20 and ge-0/0/2 too.