Hi,
I'm looking for a way to control the data which is coming from the zabbix sender,
I'm using it to forward the SNMP traps to Zabbix server, for example:
/usr/local/bin/zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k LPGeneralSnmpKey -o msg="demo", current="10"
And I want for example to set the message text to only have the text inside "msg",
I can present all the value: "msg="demo", current="10"" but didn't find a way to split it into variables.
Is it possible?
Thanks,
Oren.
I'm looking for a way to control the data which is coming from the zabbix sender,
I'm using it to forward the SNMP traps to Zabbix server, for example:
/usr/local/bin/zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k LPGeneralSnmpKey -o msg="demo", current="10"
And I want for example to set the message text to only have the text inside "msg",
I can present all the value: "msg="demo", current="10"" but didn't find a way to split it into variables.
Is it possible?
Thanks,
Oren.