Ad Widget

Collapse

Control the value coming from zabbix_sender

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • orenkatz
    Junior Member
    • Nov 2013
    • 1

    #1

    Control the value coming from zabbix_sender

    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.
    Last edited by orenkatz; 12-11-2013, 08:43.
Working...