Is there a way to get a substring of the SNMP index returned by a discovery Rule?
I'm getting some temp sensor data from the ENTITY-SENSORS-MIB for my devices, and the 3rd digit of the SNMP Index tells me what line card the sensor is on.
I wanted to then create an item prototype with Name to include that value.
Ex. walking the MIB i get something like this, which tells me this is for Linecard 1
Name/OID: entPhysicalDescr.101006009; Value (OctetString): Front sensor
I wanted to then create an Item name like "#1 - Front sensor" from the index returned to {#SNMPVALUE}.
I'm getting some temp sensor data from the ENTITY-SENSORS-MIB for my devices, and the 3rd digit of the SNMP Index tells me what line card the sensor is on.
I wanted to then create an item prototype with Name to include that value.
Ex. walking the MIB i get something like this, which tells me this is for Linecard 1
Name/OID: entPhysicalDescr.101006009; Value (OctetString): Front sensor
I wanted to then create an Item name like "#1 - Front sensor" from the index returned to {#SNMPVALUE}.

Comment