Свойство | Type | Description | |
---|---|---|---|
_address | |||
_authenticationProtocol | AuthenticationDigests | ||
_authenticationSecret | MutableByte | ||
_contextEngineId | OctetString | ||
_contextName | OctetString | ||
_engineBoots | Integer32 | ||
_engineId | OctetString | ||
_engineTime | Integer32 | ||
_engineTimeStamp | System.DateTime | ||
_maxMessageSize | Integer32 | ||
_port | int | ||
_privacyProtocol | PrivacyProtocols | ||
_privacySecret | MutableByte | ||
_reportable | bool | ||
_retry | int | ||
_securityName | OctetString | ||
_timeout | int | ||
_version | SnmpVersion |
Méthode | Description | |
---|---|---|
GetCurrentEngineTime ( ) : int |
Calculates and returns current agents engine time. ValidateEngineTime is called prior to calculation to make sure current engine time is timely enough to use. EngineTime is calculated as last received engine time + difference in seconds between the time stamp saved when last time value was received and current time (using the internal GMT clock).
|
|
PreparePacketForTransmission ( |
Prepare packet for transmission by filling target specific information in the packet.
|
|
Reset ( ) : void |
Reset the class. Initialize all member values to class defaults.
|
|
UTarget ( ) : System |
Constructor
|
|
UpdateDiscoveryValues ( |
Update class values with SNMP version 3 discovery values from the supplied SnmpV3Packet class. Values updated are EngineId, EngineTime and EngineBoots.
|
|
UpdateTimeStamp ( ) : void |
Updates engine time timestamp. This value is used to determine if agents engine time stored in this class is valid. Timestamp is saved as DateTime class by default initialized to DateTime.MinValue. Timestamp value is stored in GMT to make it portable (if it is saved on one computer and loaded on another that uses a different time zone).
|
|
Valid ( ) : bool |
Checks validity of the class.
|
|
ValidateEngineTime ( ) : bool |
Validate agents engine time. Valid engine time value is time that has been initialized to a value other then default (DateTime.MinValue is default set in the constructor) and that has been updated in the last 10 times the SNMP v3 timely window (150 seconds). In other words, valid time is any time value in the last 1500 seconds (or 25 minutes).
|
|
ValidateReceivedPacket ( |
Validate received reply
|
Méthode | Description | |
---|---|---|
EngineTimeStamp ( ) : System.DateTime |
Get engine time stamp value (last time engine boots and time values were retrieved from the SNMP agent).
|
public PreparePacketForTransmission ( |
||
packet | SNMP packet class for the required version | |
Résultat | bool |
public UpdateDiscoveryValues ( |
||
packet | ||
Résultat | void |
public ValidateReceivedPacket ( |
||
packet | Received SNMP packet | |
Résultat | bool |
protected AuthenticationDigests _authenticationProtocol | ||
Résultat | AuthenticationDigests |
protected MutableByte _authenticationSecret | ||
Résultat | MutableByte |
protected DateTime,System _engineTimeStamp | ||
Résultat | System.DateTime |
protected PrivacyProtocols _privacyProtocol | ||
Résultat | PrivacyProtocols |