Ad Widget

Collapse

Zabbix_server 1.1 crashes after snmptraps recieved

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nem
    Junior Member
    • Dec 2004
    • 2

    #1

    Zabbix_server 1.1 crashes after snmptraps recieved

    Hi all,

    System
    FreeBSD 5.14, mysql 4.1.20, zabbix 1.1

    i have setuped snmptrap forward to zabbix. (according to documentation and readings in this forum).

    snmptraps "Type of information" configured as log.
    when i tried to change to text it is ok. No crashes.

    fragments from snmptrap.sh script:

    str="$hostname $address $community $enterprise $oid"
    $ZABBIX_SENDER $ZABBIX_SERVER $ZABBIX_PORT $HOST $KEY \'"$str"\'

    i have tried even simple request from command line:
    zabbix_sender localhost 10051 snmptraps snmptraps test
    zabbix_server went down again...

    maybe someone hade the same problems with zabbix 1.1 or FreeBSD.
    I need to findout if it is Zabbix or FreeBSD problem.
    Has someone setuped snmptraps on zabbix 1.1 ?? how it works?
    --------------------
    zabbix_server.log

    000464:20060608:120457 Got line:<req><host>c25tcHRyYXBz</host><key>c25tcHRyYXBz</key><data>J0xFX01lZGlhZm9uX3N3MSBkdXBsZXhNaXNtYXRj aEhEWCB3YXJuIG1lZGl1bSBIUC1
    JQ0YtRkFVTFQtRklOREVSLU1JQjo6aHBpY2ZGYXVsdEZpbmRlc lRyYXAn</data><lastlogsize>MA==</lastlogsize></req
    000464:20060608:120457 Trapper got [<req><host>c25tcHRyYXBz</host><key>c25tcHRyYXBz</key><data>J0xFX01lZGlhZm9uX3N3MSBkdXBsZXhNaXNtYXRj aEhEWCB3YXJuIG1lZGl1bSB
    IUC1JQ0YtRkFVTFQtRklOREVSLU1JQjo6aHBpY2ZGYXVsdEZpb mRlclRyYXAn</data><lastlogsize>MA==</lastlogsize></req]
    000464:20060608:120457 XML received [<req><host>c25tcHRyYXBz</host><key>c25tcHRyYXBz</key><data>J0xFX01lZGlhZm9uX3N3MSBkdXBsZXhNaXNtYXRj aEhEWCB3YXJuIG1lZGl1bS
    BIUC1JQ0YtRkFVTFQtRklOREVSLU1JQjo6aHBpY2ZGYXVsdEZp bmRlclRyYXAn</data><lastlogsize>MA==</lastlogsize></req]
    000464:20060608:120457 In process_data([snmptraps],[snmptraps],['SWITCH duplexMismatchHDX warn medium HP-ICF-FAULT-FINDER-MIB::hpicfFaultFinderTrap']
    ,[0])
    000464:20060608:120457 Executing query:select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,
    i.history,i.lastvalue,i.prevvalue,i.hostid,h.statu s,i.value_type,h.errors_from,i.snmp_port,i.delta,i .prevorgvalue,i.lastclock,i.units,i.multiplier,i.s nmpv3_se
    curityname,i.snmpv3_securitylevel,i.snmpv3_authpas sphrase,i.snmpv3_privpassphrase,i.formula,h.availa ble,i.status,i.trapper_hosts,i.logtimefmt,i.valuem apid fro
    m hosts h, items i where h.status=0 and h.hostid=i.hostid and h.host='snmptraps' and i.key_='snmptraps' and i.status=0 and i.type in (2,7)
    000464:20060608:120457 Processing ['SWITCH duplexMismatchHDX warn medium HP-ICF-FAULT-FINDER-MIB::hpicfFaultFinderTrap']
    000464:20060608:120457 In process_new_value()
    000464:20060608:120457 In add_history(snmptraps,,2,4)
    000464:20060608:120457 In add_history(11163,STRING:'SWITCH duplexMismatchHDX warn medium HP-ICF-FAULT-FINDER-MIB::hpicfFaultFinderTrap')
    000464:20060608:120457 In add_history_log()
    000453:20060608:120457 One server process died. Shutting down...
    000454:20060608:120457 Server [1]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 0. Killing PID=[454]
    000455:20060608:120457 Server [2]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 1. Killing PID=[455]
    000456:20060608:120457 Server [3]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 2. Killing PID=[456]
    000457:20060608:120457 Server [4]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 3. Killing PID=[457]
    000458:20060608:120457 Server [5]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 4. Killing PID=[458]
    000459:20060608:120457 Server [6]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 5. Killing PID=[459]
    000460:20060608:120457 Server [7]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 6. Killing PID=[460]
    000461:20060608:120457 Server [8]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 7. Killing PID=[461]
    000462:20060608:120457 Server [9]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 8. Killing PID=[462]
    000463:20060608:120457 Server [10]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 9. Killing PID=[463]
    000453:20060608:120457 10. Killing PID=[464]
    000466:20060608:120457 Server [12]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 11. Killing PID=[466]
    000467:20060608:120457 Server [13]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 12. Killing PID=[467]
    000468:20060608:120457 Server [14]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 13. Killing PID=[468]
    000469:20060608:120457 Server [15]. Got QUIT or INT or TERM or PIPE signal. Exiting...
    000453:20060608:120457 14. Killing PID=[469]
    Last edited by nem; 08-06-2006, 12:44.
  • Brice.F
    Junior Member
    • Jun 2006
    • 9

    #2
    I had the same problem

    The server went down and i run it again and it works.

    I use a pl program instead of the snmptrap script.

    Comment

    Working...