Networking

Retrieve a SNMP OID monitoring

Retrieves the SNMP OID monitoring with the given ID.

get/admin/networking/monitoring-snmp-oid/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/networking/monitoring-snmp-oid/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

SNMP OID monitoring ID

Response

monitoring_idnumber required

ID of the monitoring group this OID belongs to.

titlestring required

Description of the OID entry.

oidstring required

SNMP OID that is being checked (in this case, likely for interface name).

activestring

Whether the OID is active (1 = active, 0 = inactive).

check_everystring

Polling interval in minutes.

result_0string

Latest result of the SNMP check (string type).

result_1string

Previous result.

result_2string

Previous result.

result_3string

Previous result.

result_4string

Previous result.

result_5string

Previous result.

last_checknumber

Last check timestamp (UNIX format).

last_statusstring

Status of the last check (OK, FAIL, or null if unset).

rrd_dst'NONE' | 'COUNTER' | 'DERIVE' | 'ABSOLUTE' | 'GAUGE'

RRD storage mode

idnumber

SNMP OID monitoring ID

Example response

{
  "monitoring_id": 1,
  "title": "Interface",
  "oid": "1.3.6.1.2.1.31.1.1.1.1.1",
  "active": "1",
  "check_every": "1",
  "result_0": "ether1",
  "result_1": "``",
  "result_2": "``",
  "result_3": "``",
  "result_4": "``",
  "result_5": "``",
  "last_check": 1752129469,
  "last_status": "null",
  "rrd_dst": "NONE",
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.