[[+content_image]]
K
K
Konkase2015-03-27 14:18:54
SNMP
Konkase, 2015-03-27 14:18:54

Why is snmptrad not receiving traps from the remote host?

Good afternoon! The essence of the issue is in the topic.
send locally:

[[email protected] /]# snmptrap -v1 -c public 192.168.0.1:162 .1.3.6.1.6.3.1.1.5.2 0 0 "" "" .1.3.6.1.4.1 s "hello"

tcpdump:
14:00:49.795531 IP 192.168.0.1.35611 > 192.168.0.1.snmptrap: C=SiebniuB9823bfsdboBSA Trap(46) .1.3.6.1.6.3.1.1.5.2 0.0.0.0 coldStart 8306"h4.1=6.1.3.6.

and poured into the log:
14:04:02 2015/03/27 .1.3.6.1.6.3.1.1.5.1 Normal "General event" zproxy - ZBXTRAP 192.168.0.1 hello

and nothing is written to the log from the remote machine.
tcpdump:
14:04:49.112614 IP 192.168.0.5.53880 > 192.168.0.1.snmptrap: C=SiebniuB9823bfsdboBSA Trap(47) .1.3.6.1.6.3.1.1.5.2 0.0.0.0hStart "coldStart 25759765 .1.3.6"

How to treat?
# cat /etc/hosts.allow
snmptrapd : 0.0.0.0/0.0.0.0 : allow
# grep -Ev '^#|^$' /etc/snmp/snmptrapd.conf
authCommunity log,execute,net public
traphandle default /usr/ sbin/snmptt
disableAuthorization yes

iptables disabled

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question