hi
I want to connect snmptrap, and then show in zabbix, but failed to show in zabbix gui, here is the config:
/etc/zabbix/zabbix_server.conf:
#SNMP Trapper
StartSNMPTrapper=1
SNMPTrapperFile=/var/log/snmptt/snmptt.log
/etc/snmp/snmptt.ini:
log_file = /var/log/snmptt/snmptt.log
/etc/snmp/snmptt.conf:
EVENT general .* "General event" Normal
FORMAT ZBXTRAP $aA $ar
created a host:
SNMP interfaces: 192.168.254.37 port 161
add item to host:
Type: snmp trap
key:snmptrap["General"]
hostinterface:192.168.254.37:161
Type of information:character
I can see the snmptrap in /var/log/snmptt/snmptt.log:
17:42:19 2015/11/06 .2.3.6.1.4.1.1916.0.3 Normal "General event" 192.168.254.37 - ZBXTRAP 192.168.254.37 192.168.254.37
Anybody knows what's wrong or how to find why? thanks.
BTW: I found no log in zabbix server log.
I want to connect snmptrap, and then show in zabbix, but failed to show in zabbix gui, here is the config:
/etc/zabbix/zabbix_server.conf:
#SNMP Trapper
StartSNMPTrapper=1
SNMPTrapperFile=/var/log/snmptt/snmptt.log
/etc/snmp/snmptt.ini:
log_file = /var/log/snmptt/snmptt.log
/etc/snmp/snmptt.conf:
EVENT general .* "General event" Normal
FORMAT ZBXTRAP $aA $ar
created a host:
SNMP interfaces: 192.168.254.37 port 161
add item to host:
Type: snmp trap
key:snmptrap["General"]
hostinterface:192.168.254.37:161
Type of information:character
I can see the snmptrap in /var/log/snmptt/snmptt.log:
17:42:19 2015/11/06 .2.3.6.1.4.1.1916.0.3 Normal "General event" 192.168.254.37 - ZBXTRAP 192.168.254.37 192.168.254.37
Anybody knows what's wrong or how to find why? thanks.
BTW: I found no log in zabbix server log.
Comment