Answer the question
In order to leave comments, you need to log in
How to force Zabbix to process non-standard SNMP Traps?
To be honest, I'm not sure if this is a non-standard Trap, we are talking about SNMP traffic received from a Moxa 5150 device (interface converter).
What I have come to at the moment:
1. Moxa sends SNMP Traps, and linux (on which Zabbix is based) receives them, this is evidenced by the log from the file /var/log/zabbix/snmptrapfmt.log
2. As I learned from the Internet sources:
There are three options for configuring zabbix to receive snmp traps.
a) SNMPTT (SNMP Trap Translator)
b) Perl script
c) Bash script and zabbix_sender
But which one is right for me? I haven't decided on this yet.
3. Also, as far as I know, Zabbix can process any log files and issue events on them ... That is, the idea immediately arises to process the snmptrapfmt.log file, but I'm not sure if this is the right thing to do?
Answer the question
In order to leave comments, you need to log in
I do it like this
1. in snmptrapd I write the OID of the trap that I want to catch and process and the path to the handler
like this:
traphandle .1.3.6.1.4.1.9.9.315.0.0.1 /etc/zabbix/externalscripts/traphandlers/cisco-psec-traphandler.py
traphandle .1.3.6.1.4.1.9.9.548.0.1.1 /etc/zabbix/externalscripts/traphandlers/cisco-psec-traphandler.py
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question