SNMPGatherDocParts - Global
concept brazil Updated Sep 10, 2026 1 min read c_SNMPGatherDocPartsAPI.md
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. |
36 lines · 1.4 KB
--- title: SNMPGatherDocParts - Global description: The SNMPGatherDocParts script include provides methods to handle the gathering of parts of an SNMP response document for JavaScript SNMP sensors.Returns the given XML document with any data gathered by prior SNMP probes. locale: en-US canonical_url: https://www.servicenow.com/docs/r/api-reference/server-api-reference/c\_SNMPGatherDocPartsAPI.html release: brazil product: Server API Reference classification: server-api-reference topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Server API reference, API reference, API implementation and reference] --- # 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/server-api-reference/api-server.md) ## 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.|
| title | SNMPGatherDocParts - Global |
| description | The SNMPGatherDocParts script include provides methods to handle the gathering of parts of an SNMP response document for JavaScript SNMP sensors.Returns the given XML document with any data gathered by prior SNMP probes. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/api-reference/server-api-reference/c\_SNMPGatherDocPartsAPI.html |
| release | brazil |
| product | Server API Reference |
| classification | server-api-reference |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Server API referenceAPI referenceAPI implementation and reference |