Zabbix 4.2.8
I SNMP item with Dynamic index:
It should get index (CCC) from BBB with value 0 and append this index to
AAA resulting SNMP OID query to AAA.CCC.
But if BBB returns more then 1 line with matched value "0" then BBB will contain index from the latest value found (see the tests below).
What I want is BBB to obtain index from the first value match.
In my particular case when doing
.1.3.6.1.2.1.47.1.1.1.1.11["index",".1.3.6.1.2.1.47.1.1.1.1.4","0"]
I am interested in 67109120 index: Because my value is under this index:
But what I see using tcpdump sniffer Zabbix server is requesting
SNMPv2-SMI::mib-2.47.1.1.1.1.11.67109633
I think because 67109633 was the last index with the matched value "0".
Is there a way to get index from the first matched value? Or limit index lists to only 1 item? Any ideas? Thanks!
I SNMP item with Dynamic index:
Code:
AAA["index","BBB","0"]
AAA resulting SNMP OID query to AAA.CCC.
But if BBB returns more then 1 line with matched value "0" then BBB will contain index from the latest value found (see the tests below).
What I want is BBB to obtain index from the first value match.
In my particular case when doing
.1.3.6.1.2.1.47.1.1.1.1.11["index",".1.3.6.1.2.1.47.1.1.1.1.4","0"]
Code:
lufa@DESKTOP-F0LR1RK:~/tmp$ snmpwalk -v 2c -c SECRET 172.28.32.230 .1.3.6.1.2.1.47.1.1.1.1.4 SNMPv2-SMI::mib-2.47.1.1.1.1.4.67109120 = INTEGER: 0 SNMPv2-SMI::mib-2.47.1.1.1.1.4.67109505 = INTEGER: 0 SNMPv2-SMI::mib-2.47.1.1.1.1.4.67109633 = INTEGER: 0
I am interested in 67109120 index: Because my value is under this index:
Code:
lufa@DESKTOP-F0LR1RK:~/tmp$ snmpwalk -v 2c -c SECRET 172.28.32.230 .1.3.6.1.2.1.47.1.1.1.1.11 SNMPv2-SMI::mib-2.47.1.1.1.1.11.67109120 = STRING: "DNI22340051" SNMPv2-SMI::mib-2.47.1.1.1.1.11.67109505 = "" SNMPv2-SMI::mib-2.47.1.1.1.1.11.67109633 = ""
But what I see using tcpdump sniffer Zabbix server is requesting
SNMPv2-SMI::mib-2.47.1.1.1.1.11.67109633
I think because 67109633 was the last index with the matched value "0".
Is there a way to get index from the first matched value? Or limit index lists to only 1 item? Any ideas? Thanks!