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

ProbeHandlerSNMP- Global

The ProbeHandlerSNMP script include is a discovery probe handler for SNMP probes, invoked when an SNMP probe is about to be created.

You can use this script include in any server-side script where you need to configure an SNMP probe.

Parent Topic:Server API reference

ProbeHandlerSNMP - addBoolean(String dbName, String paramName, String paramMap)

Adds a boolean value to the parameter map.

NameTypeDescription
dbNameStringThe database name
paramNameStringThe parameter name
paramMapStringThe parameter map
TypeDescription
void 

ProbeHandlerSNMP - addDebug(String paramMap)

Adds debugging to the probe handler.

NameTypeDescription
paramMapStringThe parameter map
TypeDescription
void 

ProbeHandlerSNMP - addJavascriptHandlers(String paramMap)

Adds a JavaScript handler.

NameTypeDescription
paramMapStringThe parameter map
TypeDescription
void 

ProbeHandlerSNMP - addOIDAutoResolve(String paramMap)

Adds OID automatic resolution.

NameTypeDescription
paramMapStringThe parameter map
TypeDescription
void 

ProbeHandlerSNMP - addOIDSpec(String paramMap)

Adds OID specifications to the parameter map.

NameTypeDescription
paramMapStringThe parameter map
TypeDescription
void 

ProbeHandlerSNMP - addSensorHandler(String paramMap)

Adds a sensor handler.

NameTypeDescription
paramMapStringThe parameter map
TypeDescription
void 

ProbeHandlerSNMP - addStage(String paramMap)

Adds the stage to the parameter map.

NameTypeDescription
paramMapStringThe parameter map
TypeDescription
void 

ProbeHandlerSNMP - addTimingSpecs(String paramMap)

Adds timing specifications to the parameter map.

NameTypeDescription
paramMapStringThe parameter map
TypeDescription
void 

ProbeHandlerSNMP - getParameters()

Returns the parameters added by this probe handler.

NameTypeDescription
None  
TypeDescription
StringA hash map of the parameters added by this probe handler.

ProbeHandlerSNMP - run()

Runs the probe.

NameTypeDescription
None  
TypeDescription
void 

ProbeHandlerSNMP - setProbeParameters(String params)

Sets the value of a given XML parameter element.

NameTypeDescription
paramsStringThe probe's parameters
TypeDescription
void