dart_snmp library

Classes

Message
An SNMP v1 or v2c Message which contains the credential information necessary to package a Pdu to be sent to a target device
Oid
An Object Identifier which corresponds to a specific value or parameter on a target device
Pdu
An SNMP Protocol Data Unit which contains a list of Varbinds and may (when received as a response) contain error information from an snmp device
PduError
The type of error which occurred while the target device was attempting to respond to the snmp request
PduType
The type of snmp request which is sent to or received from the target device
Snmp
Creates SNMP sessions
SnmpVersion
The version of the snmp protocol to use
User
A user credential for authenticating, encrypting, and decrypting SNMP v3 Messages
Varbind
An SNMP Variable Binding which holds an Oid (Object Identifier), a tag which specifies the data type, and a data value to be read or written
VarbindType
The type of data contained within the Varbind

Enums

AuthProtocol
The type of authorization security to use (md5 or sha) when using snmp v3
PrivProtocol
The type of privacy (encryption) to use (des or aes) when using snmp v3
SecurityLevel
The level of security which the snmp v3 credential requires

Constants

BOOLEAN → const int
A true or false value
COUNTER → const int
Used to specify a value which represents a count.
COUNTER_64 → const int
Similar to Counter32, except the range is now (0 to 2e64 -1).
END_OF_MIB_VIEW → const int
Signifies the end of an SNMP "walk" or "get-next" (SNMP v2)
GAUGE → const int
A non-negative integer which may increase or decrease, but which holds at the maximum or minimum value specified in the range when the actual value goes over or below the range, respectively
INTEGER → const int
A value whose range may include both positive and negative numbers
IP_ADDRESS → const int
This type is used to specify an IPv4 address as a string of 4 octets
NO_SUCH_INSTANCE → const int
The requested instance of the object does not exist (SNMP v2)
NO_SUCH_OBJECT → const int
NoSuchObject is returned by the agent in response to a request when the requested object does not exist in its MIB. (SNMP v2)
NULL → const int
Typically used as a placeholder when the value is not known.
OCTET_STRING → const int
Used to specify octets of binary or textual information.
OID → const int
Used to identify a type that has an assigned object identifier value
OPAQUE → const int
Used to specify octets of binary information.
TIME_TICKS → const int
Used to specify the elapsed time between two events, in units of hundredth of a second. Range is 0 to 2e32 - 1.

Properties

log → Logger
An instance of Logger for logging and debugging
final