Hello,
I'm new to Zabbix and I'm trying to use traps.
I used several guides to set up traps. All posted here in several threads discussing issues with traps ins Zabbix.
I’ve got to the point that there is content in my tmp/my_zabbix_traps.tmp
I can send testtraps to it and I can read them in the file.
I've created a host with SNMP Interface 127.0.0.1
I’ve set up a
Template "SNMP trap fallback" with an
Item "SNMP trap fallback"
Type "SNMP Trap"
Key "snmptrap.fallback"
Type of information "Log"
I’ve set up a second template
Template "SNMP traps" linked it to "SNMP trap fallback" and added an
Item "General "
Type "SNMP Trap"
Key "snmptrap["general"]"
Type of information "Log"
Unfortunately there are no value in "latest data", wether for "snmptrap.fallback" nor "snmptrap["general"]".
I searched for a solution but nobody seemed to have this exact problem. Either they can’t fill the tmp/my_zabbix_traps.tmp or they already have values in “latest data” but have problems filtering the content.
So I’m stuck here and need help.
Kinds regards
I'm new to Zabbix and I'm trying to use traps.
I used several guides to set up traps. All posted here in several threads discussing issues with traps ins Zabbix.
I’ve got to the point that there is content in my tmp/my_zabbix_traps.tmp
I can send testtraps to it and I can read them in the file.
Code:
17:52:55 2016/08/05 IF-MIB::linkDown.0.33 Normal "General event" localhost - ZBXTRAP 127.0.0.1 general linkDown:teststring000
I’ve set up a
Template "SNMP trap fallback" with an
Item "SNMP trap fallback"
Type "SNMP Trap"
Key "snmptrap.fallback"
Type of information "Log"
I’ve set up a second template
Template "SNMP traps" linked it to "SNMP trap fallback" and added an
Item "General "
Type "SNMP Trap"
Key "snmptrap["general"]"
Type of information "Log"
Unfortunately there are no value in "latest data", wether for "snmptrap.fallback" nor "snmptrap["general"]".
I searched for a solution but nobody seemed to have this exact problem. Either they can’t fill the tmp/my_zabbix_traps.tmp or they already have values in “latest data” but have problems filtering the content.
So I’m stuck here and need help.
Kinds regards
Comment