RE: Speeding Up SNMPv3 / C Net-SNMP-v5.4.1

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0CBEB547@mailserver.metatv-ds.metatv.com>
> From: [email protected]
> [mailto:[email protected]]
> Sent: Wednesday, July 29, 2009 5:08 AM


> 1. Is there any less time consuming alternative for the Net-SNMP function
> init_snmp() to get SNMPv3 requests running?
> Without using init_snmp() we get an error in snmp_synch_response () for
> SNMPv3 "Unkonwn engine ID". With using init_snmp() - it works,
> but in charge for waste a lot of time for searching a lot of files, loading configs
> and MIBs and so on and this each pollcycle and a lot of instances for this Nagios
> Plugin.

	Nagios plugin?  init-snmp()?  There's quite a leap between the two, and I have no idea how you're crossing them, but the Frankenstein experiments won't help.  The one tip I can give is to store the remote engineIDs on the client to skip the discovery phase.

> 2. Is there an option and an example to can cache Authorization and Priveledge
> Keys that will be generated by the NetSNMP function "generate_Ku" normaly at
> each poll cycle
> the SNMPv3 request will take place?

	Just store and use the keys!

> I imagine that it could speed up SNMPv3
> dramatically, if you can read the keys from the cache, instead to generate same
> keys each polling cycle.

	I think your terminology is wrong, but if you have a cache, cache the keys.


	HTH,

Mike

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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.