Changing IP address with SNMP object.
Francois Bouchard <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAAZiaZfMfqckXJSwy7FnEp5Xrtqdvt_tZs0F8f3Jwj10gSsOuw@mail.gmail.com> |
the SNMP Agent calls a sub-program to change IP address, netmask, etc. But the SNMP agent doesn't send the get-response of that object after the set was done. By the Way, the sub-program worked. The SNMP agent returns from object handle without error. The traces let me believe that an answer was sent: > > > > > > > > > > > *sess_process_packet: sending message id#17 reqid#17 len > 125transport:send: 125 bytes to UDP: > [172.27.37.29]:1836->[172.27.42.191]:161trace: netsnmp_udpbase_send(): > transports/snmpUDPBaseDomain.c, 173:netsnmp_udp: send 125 bytes from > 0x800705e3 to UDP: [172.27.37.29]:1836->[172.27.42.191]:161 on fd 5trace: > netsnmp_udpbase_sendto(): transports/snmpUDPBaseDomain.c, > 297:udpbase:sendto: sending from 172.27.42.191 iface 4trace: > netsnmp_remove_and_free_agent_snmp_session(): snmp_agent.c, > 1842:snmp_agent: REMOVE session == 0x800464f0trace: > free_agent_snmp_session(): snmp_agent.c, 1424:snmp_agent: agent_session > 0x800464f0 released* But in wireshark, no answer was sent. I'm launching agent with: -d : dump packets on screen -DALL : show all tokens -f : not forking from shell -Lo : log to std out (Screen) Could it be because of what the sub-program is doing that stop the answer from being sent? Thanks, Francois ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users