NetAgent UPS icon

NetAgent UPS

Interact with NetAgent UPS via SNMP

Get Current Status

AI-generated

Summary

Query the current UPS status using SNMP to retrieve system name, contact, location, and description information.

Inputs

  • SNMP OID — Optionally specify a custom SNMP OID to query; leave empty to use the default OIDs for current status.
  • Timeout (Seconds) — Specify the SNMP request timeout duration in seconds; defaults to 10 seconds.
  • Retries — Set the number of retry attempts for SNMP requests; defaults to 3 retries.

Output shape

a single JSON object containing fields: systemName, systemContact, systemLocation, systemDescription, and a timestamp

If SNMP queries fail, an error is thrown or returned depending on workflow error handling. The output always includes a timestamp of when the data was retrieved.

Examples

Example 1: Retrieve the current UPS status with default OIDs and default timeout/retries

No SNMP OID specified, timeout 10s, retries 3. Returns current status as JSON with systemName, systemContact, systemLocation, systemDescription, and a timestamp.

Discussion