SNMPGatherDocParts - Global

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • The SNMPGatherDocParts API handles gathering the parts of an SNMP response document for JavaScript SNMP sensors.

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

    SNMPGatherDocParts - gather(String doc, Object probe)

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

    Table 1. Parameters
    Name Type Description
    doc String The XML document for this sensor
    probe Object The probe instance
    Table 2. Returns
    Type Description
    String The XML document with the gathered data.