SNMP icon

SNMP

SNMP Node

Get Table

AI-generated

Summary

Retrieve values from multiple list-type OIDs formatted as a table.

Inputs

  • address (required) — The IP address of the agent/device.
  • port (required) — UDP port number where the agent is listening.
  • oids (required) — List of OIDs that will be fetched.
  • baseOID — The OID where the table starts. Should contain two more levels down.

Output shape

a list of table entries corresponding to the requested OIDs.

Returns an array of objects containing the fetched values. Ensure the baseOID contains the correct structure.

Examples

Example 1: Get SNMP table entries from a router

Set IP Address to the router's IP (e.g. 192.168.1.1), Port to 161, add relevant OIDs, specify Base OID (e.g. 1.3.6.1.2.1.2.2.1) for the desired table.

Discussion