Set Up Performance Monitoring

You can configure a connector to pause tasks temporarily if performance indicators on the local machine or a remote machine breach certain limits. For example, if there is a high load on the CPU or memory of the repository from which you are retrieving information, you might want the connector to pause until the machine recovers.

Note: Performance monitoring is available on Windows platforms only. To monitor a remote machine, both the connector machine and remote machine must be running Windows.

To configure the connector to pause

  1. Open the configuration file in a text editor.
  2. Find the [FetchTasks] section, or a [TaskName] section.

  3. Set the following configuration parameters:

    PerfMonCounterNameN The names of the performance counters that you want the connector to monitor. You can use any counter that is available in the Windows perfmon utility.
    PerfMonCounterMinN The minimum value permitted for the specified performance counter. If the counter falls below this value, the connector pauses until the counter meets the limits again.
    PerfMonCounterMaxN The maximum value permitted for the specified performance counter. If the counter exceeds this value, the connector pauses until the counter meets the limits again.
    PerfMonAvgOverReadings The number of readings that the connector averages before checking a performance counter against the specified limits. For example, if you set this parameter to 5, the connector averages the last five readings and pauses only if the average breaches the limits. Increasing this value makes the connector less likely to pause if the limits are breached for a short amount of time. Decreasing this value allows the connector to continue working faster following a pause.
    PerfMonQueryFrequency The amount of time, in seconds, that the connector waits between taking readings from a performance counter.

    For example:

    [FetchTasks]
    PerfMonCounterName0=\\machine-hostname\Memory\Available MBytes
    PerfMonCounterMin0=1024
    PerfMonCounterName1=\\machine-hostname\Processor(_Total)\% Processor Time
    PerfMonCounterMax1=70
    PerfMonAvgOverReadings=5
    PerfMonQueryFrequency=10
  4. Save and close the configuration file.

_HP_HTML5_bannerTitle.htm