Ad Widget

Collapse

snmptrap.sh and variable $str

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cameL
    Junior Member
    • Sep 2007
    • 7

    #1

    snmptrap.sh and variable $str

    by default, the $str variable contains five variables =)
    i am starting to think, that the parsing of this five variables doesnt work well.

    when i receive traps from a PIX Firewall sometimes the $hostname contains IPs of other Routers or Hostnames of other Devices

    same with the other variables


    the problem is, that i need the correct hostname and OID cause i want to use the hostname of the trap to identify the host in zabbix and finally i want to use the OID to identify the item.
    Last edited by cameL; 09-10-2007, 14:28.
Working...