Hello
I try to get snmp traps into zabbix. i use for test reason the zabbix appliance.
On the zabbix website (https://www.zabbix.com/documentation...tion/appliance) they say, that the zabbix appliance is fulfilling snmp feature build in. but when an agent sends snmp traps to zabbix appliance nothing will show…
So I googled around and found the zabbix how to enable snmp and checked if zabbix snmp support is active (https://www.zabbix.com/documentation...types/snmptrap). So I opened zabbix_server.conf and there was no active snmp configuration.
Next I enabled snmp traps in zabbix_server.conf:
zabbix_server.conf - configure Zabbix to start SNMP trapper and set the trap file:
StartSNMPTrapper=1
SNMPTrapperFile=/tmp/my_zabbix_traps.tmp
Now to continue, i should do these steps:
1. snmptrapd.conf - add SNMPTT as the trap handler:
traphandle default snmptt
2. snmptt.ini - configure output file and time format:
log_file = /tmp/my_zabbix_traps.tmp
date_time_format = %H:%M:%S %Y/%m/%d
3. snmptt.conf - define a default trap format:
EVENT general .* "General event" Normal
FORMAT ZBXTRAP $aA $ar
4. Create an SNMP item TEST:
Host's SNMP interface IP: 127.0.0.1
Key: snmptrap["General"]
Log time format: hh:mm:ss yyyy/MM/dd
But I do not have a snmptrapd.conf, snmptt.ini and snmptt.conf.
Can please anyone help to find out how to activate receiving snmp traps in zabbix?
Best regards
relesys
I try to get snmp traps into zabbix. i use for test reason the zabbix appliance.
On the zabbix website (https://www.zabbix.com/documentation...tion/appliance) they say, that the zabbix appliance is fulfilling snmp feature build in. but when an agent sends snmp traps to zabbix appliance nothing will show…
So I googled around and found the zabbix how to enable snmp and checked if zabbix snmp support is active (https://www.zabbix.com/documentation...types/snmptrap). So I opened zabbix_server.conf and there was no active snmp configuration.
Next I enabled snmp traps in zabbix_server.conf:
zabbix_server.conf - configure Zabbix to start SNMP trapper and set the trap file:
StartSNMPTrapper=1
SNMPTrapperFile=/tmp/my_zabbix_traps.tmp
Now to continue, i should do these steps:
1. snmptrapd.conf - add SNMPTT as the trap handler:
traphandle default snmptt
2. snmptt.ini - configure output file and time format:
log_file = /tmp/my_zabbix_traps.tmp
date_time_format = %H:%M:%S %Y/%m/%d
3. snmptt.conf - define a default trap format:
EVENT general .* "General event" Normal
FORMAT ZBXTRAP $aA $ar
4. Create an SNMP item TEST:
Host's SNMP interface IP: 127.0.0.1
Key: snmptrap["General"]
Log time format: hh:mm:ss yyyy/MM/dd
But I do not have a snmptrapd.conf, snmptt.ini and snmptt.conf.
Can please anyone help to find out how to activate receiving snmp traps in zabbix?
Best regards
relesys


Comment