|Author||Forum: PowerSNMP for .NET|
Topic: How to handle set requests
Member Since: 10/18/17
|posted October 18, 2017 1:17 PM
Agent updated automatically variable when i send set command from manager, but i want to handle set command and take variable. I could not get variable in the following method
private void agent1_RequestReceived (Agent agent, RequestMessage request, object state)
// I want to handle request.Varibles but Variable count is ZERO
|Nick B (Admin)
From: Utica, NY USA
Member Since: 05/25/10
Extra Support Options
Custom Application Development
|posted October 18, 2017 1:43 PM
Are you sure the SetMessage contains a variable?
If this is an SNMPv3 message, does the Agent contain the user credentials that the Manager is using?
If this is an SNMPv3 message, is this the first message? There is some negotiation (Discovery) performed initially. You can check if this is the case if request.Security.ReportFlag is ReportType.UnknownEngineId or NotInTimeWindow (the property can indicate other issues as well).
|Reply | PowerSNMP for .NET Topics | Forums|
|This site is powered by PowerTCP WebServer for ActiveX|