From: Graf, P. <Pas...@al...> - 2011-04-28 12:10:12
|
Hello I have an agentx connection between two agents. The connection is established and it works. I can send traps from one agent to the other. my snmpd.conf file: ########### rwcommunity rwtest agentAddress 127.0.0.1:2000 ########### my snmptrapd file: ########### authCommunity log,execute,net rwtest snmpTrapdAddr 1162 ########### it's just a basic and very simple configuration i start the two agents with: sudo /usr/local/sbin/snmpd -x tcp:localhost:705 -Dagentx -a -f -C -c snmpd.conf -Lo and sudo /usr/local/sbin/snmptrapd -x tcp:localhost:705 -Dagentx -f -C -c snmptrapd.conf -Lo after this i got the message "packet built okay" and "registered ok" then i send a trap with the following command: snmptrap -v 2c -c rwtest 127.0.0.1:1162 42 NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification and the other agent receives the trap in my opinion this received trap should be logged in the table nlmLogTable!? but with the command: snmptable -v 2c -c rwtest 127.0.0.1:2000 NOTIFICATION-LOG-MIB::nlmLogTable it returns no entries! in the agentxConnectionTable are no entries as well! This table should track all current AgentX transport connections cause of this fact i think the problem has to be the connection?!? thanks for your help! pascal |