Quantcast
Channel: C# Based Open Source SNMP Library for .NET and Mono
Viewing all articles
Browse latest Browse all 576

New Post: Configurable EngineId, SNMPv3 Discovery and SNMP exception.

$
0
0
SNMP v3 response cache can be a nice addition to improve performance. But this cache needs to be per agent, and managed with timeout/exception in mind. I don't have any idea on how to implement it yet. BTW, it will not be only ReportMessage to be cached, but any reply from the agent should be.
In regards of caching the discovery information. Would it be an acceptable way to cache a new instance of ReportMessage for the specific agent using the information that I get in the response after calling GetResponse for that agent (for all requests regardless whether its a GetRequestMessage,GetBulkRequestMessage,SetRequestMessage...) . This approach is working however I am a bit thrown off by the fact that Messenger class requires a SnmpType for the GetNextDidscovery function implying that different information is needed for the discovery to take place. Isn't it the same information such as snmpEngineID, snmpEngineBoots etc. that is required for discovery to take place regardless of what type of SnmpV3 call is going to take place or am misunderstanding the process? To sum up the question is it acceptable to have a ReportMessage cached for any type of request for a specific agent?
(not addressing exceptional conditions & timeout in this question)

Viewing all articles
Browse latest Browse all 576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>