[ZBXNEXT-9376] Support for asynchronius polling of dynamic values within SNMP Created: 2024 Jul 30 Updated: 2025 Jun 11 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Bartosz Kruszewski (Inactive) | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 3 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Since 7.0 asynchronous SNMP polling functionality is available. However, these are usable only with the use of walk and get for OID. Walk and get don't seem to work with the index function for dynamic indexes.{} Will it be possible to implement this? |
Comments |
Comment by Alexandre Favre [ 2024 Jul 31 ] |
It's already possible, you just need to not use the snmp index for the key but to use the name for example. |
Comment by Marek Konecny [ 2024 Jul 31 ] |
Alexandre, could you be more specific? How is it possible to use get without an index and address a specific oid instance via another OID in the MIB table? |
Comment by Alexandre Favre [ 2024 Aug 01 ] |
Hi Marek, On our side for interfaces (and other OID with a dynamic index), we have replaced {#SNMPINDEX} by {#IFNAME}:
We applied this solution after discuting with the zabbix' support. |
Comment by Marek Konecny [ 2024 Aug 01 ] |
Hi Alexandre, Yes, of course, it works in the case of LLD, because discovering items is linked to the item key (it must be unique) and subsequently data from the same source will always be linked to the same key. And if a unique identifier interface name is in the item key, so it handles the problem of dynamic indexes for LLD. However, the index function handles the situation where it is necessary to collect specific metrics without LLD. I think that since Zabbix already has an index function, it should be possible to use it together with get and take advantage of the new asynchronous SNMP pollers in version 7.0. |
Comment by Alexandre Favre [ 2024 Aug 02 ] |
Hi Marek,
I'm sorry but I don't understand. |
Comment by Giorgio Clavello [ 2025 Jun 11 ] |
Hi all, SYNC (SNMP OID):
ENTITY-MIB::entPhysicalModelName["index","ENTITY-MIB::entPhysicalClass","{$PHY.CLASS}"]
ASYNC (SNMP OID):
get[ENTITY-MIB::entPhysicalModelName["index","ENTITY-MIB::entPhysicalClass","{$PHY.CLASS}"]]
The async item become "not supported" with error "Invalid SNMP OID at position 80" |