Ad Widget

Collapse

"Trapper" Item Template Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clahti
    Senior Member
    • Jan 2007
    • 126

    #1

    "Trapper" Item Template Question

    Hello all:

    I am setting up a template with some trapper type items, here is a snippet example:

    --snip
    <item type="2" key="io_avg_queue[sda]" value_type="0">
    <description>IO: sda: avg queue length</description>
    <delay>60</delay>
    <history>30</history>
    <trends>365</trends>
    <trapper_hosts>127.0.0.1</trapper_hosts>
    <snmp_port>161</snmp_port>
    </item>

    --snip

    My question is since the trapper_hosts value should be the IP address of the zabbix server, is there a macro I can place here, something like $ZABBIXHOST that will translate into the correct IP? Conversely if this template exists on the correct zabbix server does the value of 127.0.0.1 work for trapper items defined on this host? I am actually wondering why this value exists at all, is it because you might have more than one zabbix server in a distributed model?

    Thanks!

    /Chris
Working...