Skip to content

SNMP

SNMP is the standard monitoring protocol of network and infrastructure equipment: UPSs, switches, generator controllers, air conditioning units, servers. inSCADA supports it natively, in the client role only.

Addressing is by OID (object identifier): a dot-separated numeric path defined in the device’s MIB.

LevelWhat it carries
ConnectionThe agent’s address and port, the version, the security
DeviceThe polling interval
FrameThe set of OIDs asked for together
VariableOne OID and the type of its value
ParameterDefaultDescription
Version—V1, V2C or V3
Timeout (ms)2000The request timeout (100 – 60000)
Retries1How many retries (0 – 10)
Max OIDs Per Request20The most OIDs asked for in one request (1 – 100)

A single community string is used. It is a password, and it travels unencrypted.

ParameterDescription
CommunityThe community string (max 255 characters)

v3 uses user-based security and configures authentication and encryption separately.

ParameterDescription
Security NameThe v3 user name (max 32 characters)
Auth ProtocolNONE, MD5, SHA, SHA224, SHA256, SHA384, SHA512
Auth PassphraseThe authentication passphrase
Priv ProtocolNONE, DES, TRIPLE_DES, AES128, AES192, AES256
Priv PassphraseThe encryption passphrase
Context NameThe context name (max 32 characters)

A passphrase must be at least 8 characters — RFC 3414’s minimum.

ParameterDescription
OIDThe dot-separated numeric OID (3 – 400 characters)
TypeThe value’s SNMP type
TypeDescription
INTEGER32A 32-bit signed integer
GAUGE32A 32-bit measure that can go up and down
COUNTER32 / COUNTER64A counter that only increases
TIMETICKSA duration in hundredths of a second
OCTET_STRINGA byte string or text
IP_ADDRESSAn IP address
OBJECT_IDENTIFIERAn OID as a value
TRUTH_VALUETrue or false

inSCADA can browse the agent’s OID tree, so while defining a variable you pick the OID from a list instead of typing it.