19.8. System Monitor

This option in the Properties Window allows DataHub users to access any system performance data item, such as CPU usage, memory usage, process ID, disk space, network traffic, etc. in the OPC DataHub.

For example, by monitoring process ID you could determine whether a particular process is running or not. Any information accessed here becomes part of the DataHub's data set, and can thus be tunneled across the network, used in scripts or as email triggers, viewed in a spreadsheet, or stored in a database.

To enable system monitoring, check the Enable system monitoring box. There are several configuration options.

Data Domain:

The name of any DataHub data domain. The values retrieved from the system will be shown as points in this data domain.

Update Rate:

The frequency that the system is polled and all selected points are updated. The minimum polling time is 100 ms., so the value entered here cannot be less than 100.

[Note]

A high update rate (a low number here) for many data points could use a great deal of CPU.

When a parameter is invalid

A parameter will be invalid if the object being monitored is not available. For example, if a process is not running then the parameters for that process will all be invalid. This is a useful way to monitor a system process or other object. For example, you could use a script or other client to watch a process ID, and when the process ID becomes -1 you could generate an alarm indicating that the process is no longer running.

Point Names

The System Monitor automatically creates OPC DataHub point names based on the names of the system properties. Some client programs cannot work with point names containing special characters. This section allows you to specify which characters will be removed from the property name when constructing the point name.

Monitored system parameters

This list shows the system properties you have chosen, and their corresponding point names in the DataHub. To add names to the list, click the Select From List button. This will open the Select System Properties dialog:

[Note]

Depending on your system, this dialog may take a few seconds to appear. If it does not come up, the Event Log will contain a message. Otherwise, just be patient, it will open eventually.

In the Select System Properties dialog you can specify which items to add to your list of monitored system properties, according to these criteria:

  1. Select a performance object, and counters and instances as applicable.
  2. Click the Add button to add the selected items to the Monitor system parameter list in the DataHub Properties window.
  3. Click the Apply or OK button in the Properties window when you are finished making your choices and filling the list, to apply your changes. You should be able to view the results in the Data Browser.
    [Note]

    If you change your mind on what points to monitor, you can change the list at any time. Any points you remove from the list will continue to exist in the DataHub until it is shut down and restarted. Please refer to Section 17.1, “Data Points” for more information on creating and deleting points.