Ad Widget

Collapse

Zabbix and snmptt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vitalev
    Junior Member
    • Mar 2013
    • 9

    #1

    Zabbix and snmptt

    Good morning,
    I configured Zabbix and snmptt for interpreting traps snmp, by testing generic Zabbix is ​​able to recognize the trap but now I find myself configure snmptt to interpret traps from some of the video wall Conrac, they send traps as those set out below :

    02/12/2015 14:06:35 172.30.12.12 (UDP: [172.30.12.12]: 1031 -> [172.30.0.155]: 162) TRAP, SNMP v1, community public
    SNMPv2-SMI :: enterprises.30329.1.1 Enterprise Specific Trap (1) Uptime: 1 day, 2: 34: 26.10
    SNMPv2-SMI :: = INTEGER enterprises.30329.1.1.2.1.2.8.0: 0
    04/12/2015 09:41:00 172.30.12.90 (UDP: [172.30.12.90]: 1044 -> [172.30.0.155]: 162) TRAP, SNMP v1, community public
    SNMPv2-SMI :: enterprises.30329.1.1 Enterprise Specific Trap (1) Uptime: 15 days, 9: 23: 11.65
    SNMPv2-SMI :: = INTEGER enterprises.30329.1.1.2.1.1.2.0: 91

    I snmptt.conf.conrac configured as follows:

    #
    MIB: CONRAC (file: /usr/share/snmp/mibs/IPCIX45GM_2.mib) converted on Sun Nov. 15 2015 21:04:56 using snmpttconvertmib v1.3
    ##
    EVENT Display_CPU_TEMP CONRAC :: ipc.0.1 "DU event" Warning
    FORMAY ZVXTRAP $ ar CPU Temp: "$ 1"
    SDESC
    Temperature High CPU
    EDESC
    ##
    ##
    ##
    EVENT Display_CPUFAN CONRAC :: speed-1.0 "DU event" Warning
    FORMAY ZVXTRAP $ ar CPU FAN speed: "$ 1"
    SDESC
    CPU fan Locked
    EDESC

    With this configuration snmptt not recognize the trap and then file snmpttunknown.log

    02/12/2015 14:06:35: Unknown traps (.1.3.6.1.4.1.30329.1.1.0.1) received from at 172.30.12.12:
    Value 0: 172.30.12.12
    Value 1: 172.30.12.12
    Value 2: 1: 2: 34: 26.10
    Value 3: .1.3.6.1.4.1.30329.1.1.0.1
    Value 4: 172.30.12.12
    Value 5: public
    Value 6: .1.3.6.1.4.1.30329.1.1
    Value 7:
    Value 8:
    Value 9:
    Value 10:
    Ent Value 0: 0 = .1.3.6.1.4.1.30329.1.1.2.1.2.8.0
    04/12/2015 09:40:54: Unknown traps (.1.3.6.1.4.1.30329.1.1.0.1) received from at 172.30.12.90:
    Value 0: 172.30.12.90
    Value 1: 172.30.12.90
    Value 2: 15: 9: 23: 05.67
    Value 3: .1.3.6.1.4.1.30329.1.1.0.1
    Value 4: 172.30.12.90
    Value 5: public
    Value 6: .1.3.6.1.4.1.30329.1.1
    Value 7:
    Value 8:
    Value 9:
    Value 10:
    Ent Value 0: .1.3.6.1.4.1.30329.1.1.2.1.1.2.0 = 91

    I did not understand how to set parameters snmptt.con.conrac
    Someone able to help me?
    Greetings
  • syndeysider
    Senior Member
    • Oct 2013
    • 115

    #2
    First, take a read through, https://ori0nx.wordpress.com/2010/12...-using-snmptt/

    Are you using snmptt_helper script?

    Comment

    Working...