hello,
using Zabbix 4.4
I have a discovery rule
discovery[{#SNMPVALUE},IF-MIB::ifDescr]
for a device that retrieve json structured data like
[{"{#SNMPINDEX}":"1","{#SNMPVALUE}":"eth_base"},{"{ #SNMPINDEX}":"2","{#SNMPVALUE}":"eth0"}}]
I wan't to substitute "eth_base" with "interface toto" and "eth0" with "interface titi"
How can I do it with regexp preprocessing rule ?
using Zabbix 4.4
I have a discovery rule
discovery[{#SNMPVALUE},IF-MIB::ifDescr]
for a device that retrieve json structured data like
[{"{#SNMPINDEX}":"1","{#SNMPVALUE}":"eth_base"},{"{ #SNMPINDEX}":"2","{#SNMPVALUE}":"eth0"}}]
I wan't to substitute "eth_base" with "interface toto" and "eth0" with "interface titi"
How can I do it with regexp preprocessing rule ?
Comment