Monitor and restart stopped Windows services in SAM

To automate the monitoring and restarting of stopped Windows services, you can assign the Windows Service component monitor to nodes and then set up an alert to restart services and send email.

See the Orion Platform Administrator Guide to learn more about alerts. You can also watch an in-depth SolarWinds Lab episode, All About Alerts.

Create the monitor

  1. Click Settings > All Settings > SAM Settings > Component Monitor Wizard.
  2. Select Windows Service Monitor, and then click Next.
  3. Enter the IP address of the Windows node you want to monitor, or click Browse to select the node from a list.
  4. Enter or select the appropriate credentials, choose a Platform type, and then click Next.
  5. Select services to monitor and click Next.
  6. Select component monitors and edit properties as necessary, and then click Next.
  7. On the Add to Application Monitor or Template tab, type a name for the new template and click Next.
  8. On the Assign to Nodes tab, select the desired nodes to monitor and click Next.
  9. On the Confirm tab, click OK, Create.

Create an alert to restart stopped Windows services and send email

  1. Click Alerts & Activity > Alerts.
  2. On the All Active Alerts page, click Manage Alerts.
  3. On the Manage Alerts page, click Add New Alert.
  4. In the Add New Alert wizard, provide alert details on the Properties tab and click Next.
  5. On the Properties tab, provide alert details.
  6. On the Trigger Condition page:
    1. For "I want to alert on", select Component.
    2. Choose an alert scope.
    3. Configure a trigger condition as follows: Component > Component Name (Component Alerting Properties) > Is equal to > Windows Service Monitor, as shown here:

    4. Click Next to advance to the Reset Condition tab.
  7. Enter values on the Reset Condition and Time of Day tabs, clicking Next to advance to the next page.
  8. On the Trigger Actions tab:
    1. Click Add New Action.
    2. Select Send an E-Mail / Page and click OK.
    3. Complete the e-mail info and click OK.
    4. Click OK.
  9. Provide alert details on the Reset Action and Summary tabs, and then click Submit to save the alert.

See also Create an alert for monitored components in SAM.