enum

SNMP::V3::UsmStat

Inherits Enum / Comparable / Value / Object

The usmStats counters (RFC 3414 5). A Report PDU names exactly one.

Constants

UnsupportedSecLevel = 1
NotInTimeWindow = 2
UnknownUserName = 3
UnknownEngineID = 4
WrongDigest = 5
DecryptionError = 6

Class methods

from_oid?(oid : String) : UsmStat | Nil

Map a reported OID (with or without its trailing .0 instance) to the counter, or nil if it is not under the usmStats subtree.

Source

Instance methods

decryption_error?

Returns true if this enum value equals DecryptionError

Source
not_in_time_window?

Returns true if this enum value equals NotInTimeWindow

Source
resyncable?

Recoverable by re-syncing the engine params and retrying the request once. The other counters signal a configuration error where a retry is futile.

Source
unknown_engine_id?

Returns true if this enum value equals UnknownEngineID

Source
unknown_user_name?

Returns true if this enum value equals UnknownUserName

Source
unsupported_sec_level?

Returns true if this enum value equals UnsupportedSecLevel

Source
wrong_digest?

Returns true if this enum value equals WrongDigest

Source