Hi,
I am running Zabbix 2.2.7 server, and I have decided to use some new zabbix trapper items.
So, first of all I have configured SNMPTrapperFile at the server side :
zabbix Server conf:
trappers are running at server side :
some traps flowing into /var/zabbix/tmp/zabbix_traps.tmp :
From this trap, I need to grab STRING: "41011091901430000070599" , and put it into item "BackupBattery" as a TEXT. (there will be differ strings started with 41011...., )
So, at host configuration, I have created item "BackupBattery"

but, oddly enough, it does not work. Item just stay as "enabled" and in the "latest data" there is nothing....
many thanks for your help.
F
I am running Zabbix 2.2.7 server, and I have decided to use some new zabbix trapper items.
So, first of all I have configured SNMPTrapperFile at the server side :
zabbix Server conf:
StartTrappers=60
SNMPTrapperFile=/var/zabbix/tmp/zabbix_traps.tmp
SNMPTrapperFile=/var/zabbix/tmp/zabbix_traps.tmp
/opt/infra/sbin/zabbix_server: trapper #1 [processed data in 0.004876 sec, waiting for connection]
/opt/infra/sbin/zabbix_server: trapper #2 [processed data in 0.000699 sec, waiting for connection]
/opt/infra/sbin/zabbix_server: trapper #3 [processed data in 0.000675 sec, waiting for connection]
/opt/infra/sbin/zabbix_server: trapper #4 [processed data in 0.003563 sec, waiting for connection]
/opt/infra/sbin/zabbix_server: trapper #5 [processed data in 0.000535 sec, waiting for connection]
....
/opt/infra/sbin/zabbix_server: trapper #60 [processed data in 0.000535 sec, waiting for connection]
/opt/infra/sbin/zabbix_server: trapper #2 [processed data in 0.000699 sec, waiting for connection]
/opt/infra/sbin/zabbix_server: trapper #3 [processed data in 0.000675 sec, waiting for connection]
/opt/infra/sbin/zabbix_server: trapper #4 [processed data in 0.003563 sec, waiting for connection]
/opt/infra/sbin/zabbix_server: trapper #5 [processed data in 0.000535 sec, waiting for connection]
....
/opt/infra/sbin/zabbix_server: trapper #60 [processed data in 0.000535 sec, waiting for connection]
06:46:08 2015/06/19 ZBXTRAP 10.128.191.14
PDU INFO:
errorindex 0
receivedfrom UDP: [10.128.191.14]:46493->[0.0.0.0]:0
version 1
messageid 0
transactionid 1338993
community public
requestid 0
notificationtype TRAP
errorstatus 0
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (45135243) 5 days, 5:22:32.43
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.32827.10.421
SNMPv2-SMI::enterprises.32827.10.421.1 type=2 value=INTEGER: 5
SNMPv2-SMI::enterprises.32827.10.421.2 type=2 value=INTEGER: 0
SNMPv2-SMI::enterprises.32827.10.421.11 type=4 value=STRING: "BackupBattery"
SNMPv2-SMI::enterprises.32827.10.421.12 type=4 value=STRING: "41011091901430000070599"
PDU INFO:
errorindex 0
receivedfrom UDP: [10.128.191.14]:46493->[0.0.0.0]:0
version 1
messageid 0
transactionid 1338993
community public
requestid 0
notificationtype TRAP
errorstatus 0
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (45135243) 5 days, 5:22:32.43
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.32827.10.421
SNMPv2-SMI::enterprises.32827.10.421.1 type=2 value=INTEGER: 5
SNMPv2-SMI::enterprises.32827.10.421.2 type=2 value=INTEGER: 0
SNMPv2-SMI::enterprises.32827.10.421.11 type=4 value=STRING: "BackupBattery"
SNMPv2-SMI::enterprises.32827.10.421.12 type=4 value=STRING: "41011091901430000070599"
So, at host configuration, I have created item "BackupBattery"

but, oddly enough, it does not work. Item just stay as "enabled" and in the "latest data" there is nothing....
many thanks for your help.
F

Comment