I'm getting really frustrated now, I created a regex to match cisco or HP equipment interface names that I care about:
^.*Ethernet[\d][\/][\d].*$|^\w\d{1,2}$
Feel free to play around here:
It basically matches any interface that has
Cisco: xEthernetx/xxx
OR
HP: A1 - XX or 1-XX
This works fine on my regex tester.. but when I add it to zabbix in the global regex, it complaints:
Incorrect regular expression "^.*Ethernet[\d][\\/][\d].*$|^\w\d{1,2}$": "Unknown modifier ']'"
Oookay.. it did an escape on my escape delimiter ??
So I remove the escape I have on /
^.*Ethernet[\d][/][\d].*$|^\w\d{1,2}$
And it tests ok on all my tests in Zabbix regex tester..
But I get nothing discovered..
My discovery filter:

My global Regex:

What am I doing wrong??
^.*Ethernet[\d][\/][\d].*$|^\w\d{1,2}$
Feel free to play around here:
It basically matches any interface that has
Cisco: xEthernetx/xxx
OR
HP: A1 - XX or 1-XX
This works fine on my regex tester.. but when I add it to zabbix in the global regex, it complaints:
Incorrect regular expression "^.*Ethernet[\d][\\/][\d].*$|^\w\d{1,2}$": "Unknown modifier ']'"
Oookay.. it did an escape on my escape delimiter ??
So I remove the escape I have on /
^.*Ethernet[\d][/][\d].*$|^\w\d{1,2}$
And it tests ok on all my tests in Zabbix regex tester..
But I get nothing discovered..
My discovery filter:

My global Regex:

What am I doing wrong??
Comment