ProbeHandlerWMI - Global

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • The ProbeHandlerWMI script include is the discovery probe handler for Windows Management Instrumentation (WMI) probes.

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

    ProbeHandlerWMI - getParameters()

    Returns the parameters added by this probe handler.

    Table 1. Parameters
    Name Type Description
    None
    Table 2. Returns
    Type Description
    String A hash map of the parameters added by this probe

    ProbeHandlerWMI - getWMIFields()

    Generates a string containing the WMI fields to fetch.

    Table 3. Parameters
    Name Type Description
    None
    Table 4. Returns
    Type Description
    String The WMI fields to fetch.

    ProbeHandlerWMI - run()

    Runs the probe.

    Table 5. Parameters
    Name Type Description
    None
    Table 6. Returns
    Type Description
    void

    ProbeHandlerWMI - setProbeParameters(Object params)

    Sets the probe parameters.

    Table 7. Parameters
    Name Type Description
    params Object The probe parameters
    Table 8. Returns
    Type Description
    void