Unfortunately, I am using old-api.

Even using a table handler, if I need these information in the subagent
(not master agent), it may still a problem. 

Thanks,

Fong
 

-----Original Message-----
From: Tony Lee [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 10, 2004 11:07 AM
To: Fong Tsui
Cc: Wes Hardaker; Net-Snmp-Coders (E-mail)
Subject: Re: API to get source & community info

I found that when I used table handler, I can trace down the
netsnmp_agent_request_info....  
netsnmp_transport_s - snmp_transport.h:37


REGISTER_MIB call back handler don't have access to those
info.




On Tue, 9 Nov 2004 10:45:33 -0800, Fong Tsui <[EMAIL PROTECTED]> wrote:
> 
> Where should be the right place in the code to look into this?
> 
> Thanks,
> 
> Fong
> 
> 
> 
> -----Original Message-----
> From: Wes Hardaker [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 09, 2004 6:37 AM
> To: Fong Tsui
> Cc: Net-Snmp-Coders (E-mail)
> Subject: Re: API to get source & community info
> 
> >>>>> On Mon, 8 Nov 2004 16:49:32 -0800, "Fong Tsui" <[EMAIL PROTECTED]>
> said:
> 
> Fong> We want to log the destination and community (v1/2c) or user
> Fong> (v3) information when a snmpset is executed.  Is there any API
> Fong> which can get those information?
> 
> Not currently.  I'd actually like to implement something like that as
> well, but there isn't a mechanism for doing that at this point.
> 
> --
> Wes Hardaker
> Sparta
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id065&opclick
> _______________________________________________
> Net-snmp-coders mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
> 


-- 
-Tony
Having a lot of fun with Xilinx Virtex Pro reconfigurable HW + ppc +
Linux




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to