Skip to main content

General

Connect SNMP

Complete reference for the SNMP driver: connection parameters, SNMPv3 security, OID addressing, and tag browsing.

The SNMP driver provides native support for monitoring network devices, switches, routers, UPS systems, environmental sensors, and any SNMP-enabled industrial equipment.

Connection Parameters

Basic Settings

ParameterTypeRequiredDefaultDescription
HoststringYes-SNMP agent IP address or hostname (e.g., 192.168.1.10)
PortintNo161SNMP agent port
VersionstringNoVersion2cSNMP version: Version1, Version2c, or Version3
PollingIntervalintNo1000Read cycle interval in milliseconds
ConnectTimeoutTimeSpanNo00:00:05Connection timeout
ReceiveTimeoutTimeSpanNo00:00:05Response timeout
RetriesintNo1Number of retry attempts on failure

SNMPv1/v2c Authentication

ParameterTypeRequiredDefaultDescription
CommunitystringNopublicCommunity string for read access
info
Community String

For SNMPv1 and v2c, the community string acts as a simple password. Use public for read-only access (default) or configure a custom string matching your device.


SNMPv3 Security

SNMPv3 provides authentication and encryption for secure SNMP communication.

Security Levels

ValueDescription
NoAuthNoPrivNo authentication, no encryption (default)
AuthNoPrivAuthentication only, no encryption
AuthPrivAuthentication and encryption

SNMPv3 Parameters

ParameterTypeRequiredDescription
UsernamestringYes (v3)SNMPv3 security name
PasswordstringConditionalAuthentication password (required for AuthNoPriv and AuthPriv)
AuthProtocolstringNoAuthentication protocol: MD5, SHA1 (default), SHA256
PrivacyPasswordstringConditionalEncryption password (required for AuthPriv; falls back to Password if not set)
PrivacyProtocolstringNoEncryption protocol: DES, AES (default: DES)
SecLevelstringNoSecurity level override
EngineIdstringNoSNMP engine ID (auto-discovered if not set)
warning
SNMPv3 Requirements

SNMPv3 requires at minimum a Username. For AuthNoPriv level, a Password and AuthProtocol are also required. For AuthPriv level, additionally a PrivacyPassword and PrivacyProtocol are needed.


OID Addressing

SNMP uses Object Identifiers (OIDs) to identify monitored values.

OID Format

OIDs are dot-separated numeric sequences that form a hierarchical tree:

1.3.6.1.2.1.1.1.0     → sysDescr (System Description)
1.3.6.1.2.1.1.3.0     → sysUpTime (System Uptime)
1.3.6.1.2.1.2.2.1.10  → ifInOctets (Interface Input Bytes)

Common OID Prefixes

PrefixMIBDescription
1.3.6.1.2.1.1SNMPv2-MIBSystem information (description, uptime, contact)
1.3.6.1.2.1.2IF-MIBNetwork interface statistics
1.3.6.1.2.1.25HOST-RESOURCESHost resources (CPU, memory, disk)
1.3.6.1.4.1EnterpriseVendor-specific OIDs

Examples

1.3.6.1.2.1.1.1.0     → System description string
1.3.6.1.2.1.1.3.0     → System uptime in timeticks
1.3.6.1.2.1.2.2.1.6.1 → MAC address of interface 1
1.3.6.1.2.1.25.3.3.1.2.1 → CPU load percentage
1.3.6.1.4.1.318.1.1.1.2.2.1.0 → APC UPS battery capacity

Browse Tags

After configuring connection parameters, you can browse the SNMP agent's MIB tree to select OIDs visually. On the Tags tab, click the Browse Tags button.

Browse Tags Button
Browse Tags Button

The browser performs an SNMP walk starting from the configured root OID and displays all discovered OIDs with their current values. Select the OIDs you want to monitor and import them as tags.

SNMP Tag Browser
SNMP Tag Browser

lightbulb
Gateway-Routed Discovery

All SNMP walk operations are executed through the selected edge gateway, ensuring the browser accesses devices on the gateway's local network.


Advanced Settings

Transport Quotas

ParameterTypeDefaultDescription
MaxStringLengthint65535Maximum string value length
MaxArrayLengthint65535Maximum array length
MaxByteStringLengthint1048576Maximum byte string length (1 MB)
MaxMessageSizeint4194304Maximum SNMP message size (4 MB)
DisableBatchReadboolfalseForce sequential reads instead of batch GET

Data Types

Proxus TypeSNMP TypeDescription
BoolInteger320 = false, non-zero = true
ShortInteger32Signed 16-bit
UShortInteger32Unsigned 16-bit
IntInteger32Signed 32-bit
UIntGauge32 / Counter32Unsigned 32-bit
LongCounter64Signed 64-bit
ULongCounter64Unsigned 64-bit
FloatOctetStringIEEE 754 32-bit (encoded as string)
DoubleOctetStringIEEE 754 64-bit (encoded as string)
StringOctetStringUTF-8 text

Performance Features

Batch Reading

Multiple OID reads are grouped into a single SNMP GET request, reducing network round-trips. Use DisableBatchRead to fall back to sequential reads if your device has limitations with multi-OID requests.

OID Caching

Parsed OIDs are cached per adapter instance to avoid repeated parsing overhead.

Automatic Retry

Failed reads are retried up to the configured Retries count with automatic reconnection between attempts.


Troubleshooting

ErrorCauseSolution
TimeoutAgent not respondingCheck network connectivity, verify host/port, increase timeout
Cannot resolve hostDNS resolution failedUse IP address instead of hostname, or fix DNS configuration
SNMP v3 requires UsernameMissing v3 credentialsSet Username in connection parameters
Response errorAgent returned error statusVerify OID exists and community string has read access
No valid OIDs foundInvalid OID format in tagsCheck OID syntax (dot-separated numbers)
lightbulb
Testing Connectivity

Use snmpwalk -v2c -c public <host> from the gateway to verify SNMP agent accessibility before configuring in Proxus.

info
See Also

For a unified view of all protocol browsers, see the Tag Browser page.

Official Resources