Get Values
AI-generatedSummary
Retrieve the values of one or several OIDs from an SNMP agent.
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, which must contain at least one OID.
Output shape
a list of values corresponding to the requested OIDs.
The output will include the values retrieved for the specified OIDs. If an OID does not exist or cannot be fetched, it may not appear in the output.
Examples
Example 1: Fetch the system uptime OID from the device with IP 192.168.1.1 on port 161.
Set the IP Address to '192.168.1.1', Port to '161', and OIDs to include '.1.3.6.1.2.1.1.3.0'.