Re: Inform Handling

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 17/09/2007, Steve Kittleson <[email protected]> wrote:
>        Does the agent handle the necessary retries and timeouts

Yes.

> Who/what does the processing when there is no response to an inform?

The snmp library handles this automatically.


> Specifically, how are the timeout and retrycount in the TargetAddrTable from
> the Target-MIB handled.

I have a sneaking suspicion that they are not.

  The retries/timeout processing uses the relevant fields from the
netsnmp_session structure.  (See create_trap_session2() in agent_trap.c)
The snmpTargetAddrTimeout and snmpTargetAddrRetryCount objects
manipulate the relevant fields in the targetAddrTable_struct structure.
(See write_snmpTargetAddrTimeout()/write_snmpTargetAddrRetryCount()
 in mibgroup/target/target.c)

I can't immediately spot anything that links these two structures together.
So I strongly suspect that the snmpTargetAddrTable values are ignored.
Feel free to experiment and confirm/reject this.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.