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.
- group: device-group
- key: sys.name ### ABC0123456789
- 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.