Dart.Snmp Namespace : ReportType Enumeration |
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
Member | Value | Description |
---|---|---|
AuthenticationFailed | 1 | Digest included in packet did not match the computed digest. |
DecryptionFailed | 4 | Message Privacy failed, likely due to a mismatch in PrivacyProtocol used. |
None | 0 | When 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). |
NotInTimeWindow | 3 | Packet time or boots is outside the 150 sec. time window defined by the authoritative engine. |
UnknownEngineId | 5 | Packet contains an unknown EngineId. The authoritative engine's Engine.Id does not match the one found in the packet. |
UnknownUsername | 2 | The Username in the request was not found in AuthoritativeEngine.Users. |
UnsupportedSecurityLevel | 6 | Packet contains a security level that does not match the security level of the username in the authoritative engine. |
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. |
System.Object
System.ValueType
System.Enum
Dart.Snmp.ReportType