-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
2.2.9
-
None
-
Ubuntu LTS 14.04, Zabbix 2.2.9, Apache 2.4, PostgreSQL, and some Ricoh printer
Hello,
I have aproblem with zabbix, SNMP, LLD and regexp and I think its a Bug maybe.
I've the following snmpwalk:
snmpwalk -v2c -c public _IP_ SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6 SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.1 = STRING: "Counter: Machine Total" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.2 = STRING: "Counter:Copy:Total" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.3 = STRING: "Counter:Copy:Black & White" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.4 = STRING: "Counter:Copy:Single/Two-color" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.5 = STRING: "Counter:Copy:Full Color" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.6 = STRING: "Counter:FAX:Total" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.7 = STRING: "Counter:FAX:Black & White" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.8 = STRING: "Counter:Print:Total" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.9 = STRING: "Counter:Print:Black & White" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.10 = STRING: "Counter:Print:Single/Two-col." SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.11 = STRING: "Counter:Print:Full Color" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.12 = STRING: "Counter: Machine Total" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.13 = STRING: "Total Prints: Full Color" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.14 = STRING: "Total Prints: Monocolor" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.15 = STRING: "Development: Color" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.16 = STRING: "Development: Black & White" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.17 = STRING: "Copier: Color" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.18 = STRING: "Copier: Black & White" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.19 = STRING: "Printer: Color" SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6.20 = STRING: "Printer: Black & White" [...]
but i want only the first 11 entrys so I did
snmpwalk -v2c -c public _IP_ SNMPv2-SMI::enterprises.367.3.2.1.2.19.5.1.6 |egrep '\.([1-9]|10|11)\ '
and it work as expected.. so when i create a LLD-Rule with Filter: Macro: {#SNMPINDEX} Regexp:
\.([1-9]|10|11)\
it doesnt work, i also try
\.([1-9]|10|11) = 6\.([1-9]|10|11)\ 6\.([1-9]|10|11) =
but nothing works, i think the regexp is correct, so my opinion is thats a bug?