Hi to everyone
I know that the discovery of network interfaces starts from walking some subtree and collecting the array of SNMP indices.
Say, if some switch has 28 ports the internal macros {#SNMPINDEX} will consequentially put the values from 1 to 28 to item prototypes.
Is it possible to use some manually created array of indices in the form of a custom macros, like {#MYCUSTOMINDEX}, and then use it instead of {#SNMPINDEX}?
The main goal is to get values from a specific port range (24-28, for example), rather than walking through the whole subtree.
Thank you.
I know that the discovery of network interfaces starts from walking some subtree and collecting the array of SNMP indices.
Say, if some switch has 28 ports the internal macros {#SNMPINDEX} will consequentially put the values from 1 to 28 to item prototypes.
Is it possible to use some manually created array of indices in the form of a custom macros, like {#MYCUSTOMINDEX}, and then use it instead of {#SNMPINDEX}?
The main goal is to get values from a specific port range (24-28, for example), rather than walking through the whole subtree.
Thank you.
Comment