PowerSNMP for .NET
ReportType Enumeration




Defines the possible values of ReportMessage.Type and Security.ReportFlag.
Syntax
Public Enum ReportType 
   Inherits System.Enum
Dim instance As ReportType
public enum ReportType : System.Enum 
__value public enum ReportType : public System.Enum 
public enum class ReportType : public System.Enum 
Members
MemberValueDescription
AuthenticationFailed1 Digest included in packet did not match the computed digest.
DecryptionFailed4 Message Privacy failed, likely due to a mismatch in PrivacyProtocol used.
None0When used in ReportMessage.Type, indicates the first variable is an unknown IID. When used in Security.ReportFlag, indicates no ReportMessage should be generated (SnmpBase.CreateResponse should create a ResponseMessage).
NotInTimeWindow3 Packet time or boots is outside the 150 sec. time window defined by the authoritative engine.
UnknownEngineId5Packet contains an unknown EngineId. The authoritative engine's Engine.Id does not match the one found in the packet.
UnknownUsername2The Username in the request was not found in AuthoritativeEngine.Users.
UnsupportedSecurityLevel6 Packet contains a security level that does not match the security level of the username in the authoritative engine.
Remarks

When decoding a request into a RequestMessage, an agent may need to send a ReportMessage to the requestor. The logic proceeds as follows to set Security.ReportFlag:

When creating a ResponseMessage, SnmpBase.CreateResponse will key on the request's Security.ReportFlag to create a ReportMessage that should be sent to the requestor. When the ReportFlag is not ReportType.None, the ReportMessage will be generated as follows:

AuthenticationFailed A usmStatsWrongDigests Variable will be included.
UnknownUsername A usmStatsUnknownUserNames Variable will be included.
NotInTimeWindow A usmStatsNotInTimeWindows Variable will be included. Typically used to "discover" the engine time and boot values.
DecryptionFailed A usmStatsDecryptionErrors Variable will be included.
UnknownEngineId A usmStatsUnknownEngineIds Variable will be included. Typically used to "discover" the engine ID.
UnsupportedSecurityLevel A usmStatsUnsupportedSecLevels Variable will be included.
BadPrivacyPassword SnmpBase.CreateResponse will return null. No response should be generated when the configured password cannot decrypt the PDU.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Dart.Snmp.ReportType

See Also

Reference

Dart.Snmp Namespace


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic