Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA Enterprise SCADA

Monitor service status

  • Last UpdatedApr 24, 2025
  • 3 minute read

The following procedure details how to set up a service status monitor.

To monitor service status

  1. On the desktop, double-click the Windows PowerShell for DNA shortcut.

    Windows PowerShell for DNA opens.

  2. To execute the Config WMI Monitor, execute the following commands:

    set-silo Common

    ConfigWMIMonitor

    The OASyS DNA WMI Monitor Wizard opens.

  3. Select Next.

    The Select Action page appears.

  4. Select either Add a new configuration or Edit existing configuration, and then select Next.

    The Select the Namespace/Class to monitored page appears.

    Embedded Image (65% Scaling) (LIVE)

  5. Make the following selections:

    1. From the Namespace pane, select CIMV2.

    2. From the Available classes pane, select Win32_Service.

  6. Select Next.

    The Configure Class page appears.

  7. Select Next.

    The Choose Fields page appears.

    Embedded Image (65% Scaling) (LIVE)

  8. From the Available Class Fields pane, select State, and select the icon to add it to the Configured Class Fields pane.

    Note: For monitoring a Windows service state, no calculated field is required.

  9. Select Next.

    The Define Health State page appears.

  10. In the Configured Fields pane, select State.

  11. Configure the following fields:

    1. In the Bad Health State Condition field, enter State = 'Stopped' or State = 'Unknown'.

    2. In the Bad Health State Message field, enter Service Stopped.

    3. In the Warning Health State Condition field, enter State <> 'Running'.

    4. In the Warning Health State Message field, enter Service State Unknown.

    Note: Conditions are written using WMI Query Language (WQL) (Microsoft SQL for WM). For more information on using SQL, refer to the Windows SDK documentation (https://docs.microsoft.com/en-us/windows/win32/wmisdk/wql-sql-for-wmi).

  12. Select Next.

    The Revise Query page appears.

    Embedded Image (65% Scaling) (LIVE)

  13. To view a list of service names, select Retrieve sample data using the Basic Query.

    The FilterResults dialog box appears.

    Embedded Image (65% Scaling) (LIVE)

  14. Take note of the name of services that you want to monitor (for example, pibufss and pilogsrv), and select Cancel.

    The Revise Query page appears.

    Embedded Image (65% Scaling) (LIVE)

  15. In the Where Clause field, enter Name = 'pibufss' or Name = 'pilogsrv'.

  16. To verify the services you want to monitor, select Retrieve sample data with where clause.

    The FilterResults dialog box appears.

    Embedded Image (65% Scaling) (LIVE)

  17. Select Cancel.

  18. Select Next on all subsequent pages, and then select Finish.