Hi all,
Im using the SNMP extension 2.0 to collect metrics of devices in different rooms.
Each device have a hostname - sys.name - with the id of the room and I would like to collect the device name and transform the variable to become a tag or property, but i need to remove some chars in string.
snmp: - group: device-group interval: minutes: 1 dimensions: - key: sys.name ### ABC0123456789 value: oid:1.3.6.1.2.1.1.5.0
- key: device.room
query: # device.room = sys.name → 1234
I would like to know if its possible to change the string value of keys in any way possible.