Answer the question
In order to leave comments, you need to log in
[[+content_image]]
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"
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.
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
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"
# 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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question