Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

SNMPGatherDocParts- Global

The SNMPGatherDocParts script include provides methods to handle the gathering of parts of an SNMP response document for JavaScript SNMP sensors.

Use this script include in a discovery script when you need to gather the parts of an SNMP response document.

Parent Topic:Server API reference

SNMPGatherDocParts - gather(String doc, Object probe)

Returns the given XML document with any data gathered by prior SNMP probes.

NameTypeDescription
docStringThe XML document for this sensor
probeObjectThe probe instance
TypeDescription
StringThe XML document with the gathered data.