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.

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

Adds a boolean value to the parameter map.

Table 1. Parameters
Name Type Description
dbName String The database name
paramName String The parameter name
paramMap String The parameter map
Table 2. Returns
Type Description
void

ProbeHandlerSNMP - addDebug(String paramMap)

Adds debugging to the probe handler.

Table 3. Parameters
Name Type Description
paramMap String The parameter map
Table 4. Returns
Type Description
void

ProbeHandlerSNMP - addJavascriptHandlers(String paramMap)

Adds a JavaScript handler.

Table 5. Parameters
Name Type Description
paramMap String The parameter map
Table 6. Returns
Type Description
void

ProbeHandlerSNMP - addOIDAutoResolve(String paramMap)

Adds OID automatic resolution.

Table 7. Parameters
Name Type Description
paramMap String The parameter map
Table 8. Returns
Type Description
void

ProbeHandlerSNMP - addOIDSpec(String paramMap)

Adds OID specifications to the parameter map.

Table 9. Parameters
Name Type Description
paramMap String The parameter map
Table 10. Returns
Type Description
void

ProbeHandlerSNMP - addSensorHandler(String paramMap)

Adds a sensor handler.

Table 11. Parameters
Name Type Description
paramMap String The parameter map
Table 12. Returns
Type Description
void

ProbeHandlerSNMP - addStage(String paramMap)

Adds the stage to the parameter map.

Table 13. Parameters
Name Type Description
paramMap String The parameter map
Table 14. Returns
Type Description
void

ProbeHandlerSNMP - addTimingSpecs(String paramMap)

Adds timing specifications to the parameter map.

Table 15. Parameters
Name Type Description
paramMap String The parameter map
Table 16. Returns
Type Description
void

ProbeHandlerSNMP - getParameters()

Returns the parameters added by this probe handler.

Table 17. Parameters
Name Type Description
None
Table 18. Returns
Type Description
String A hash map of the parameters added by this probe handler.

ProbeHandlerSNMP - run()

Runs the probe.

Table 19. Parameters
Name Type Description
None
Table 20. Returns
Type Description
void

ProbeHandlerSNMP - setProbeParameters(String params)

Sets the value of a given XML parameter element.

Table 21. Parameters
Name Type Description
params String The probe's parameters
Table 22. Returns
Type Description
void