SNMPGatherDocParts - Global

concept brazil Updated Sep 10, 2026 1 min read c_SNMPGatherDocPartsAPI.md
Raw file servicenow.com

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.

Name Type Description
doc String The XML document for this sensor
probe Object The probe instance
Type Description
String The XML document with the gathered data.
Search documentation
Search document titles and file paths on the brazil branch