Submit a ticketCall us

Cloud Workloads: Meet Your New Hybrid IT Reality
Have you found yourself in that evolving, hybrid IT grey area and wondering if cloud workloads are now part of your purview? And if so, will monitoring cloud workloads require a new set of dedicated cloud monitoring tools? Your answers: yes, they should be, and no, they don’t.

Find out how SolarWinds® Server & Application Monitor (SAM) can help you monitor your cloud workloads side by side with your on-premises workloads. Register Now.

Home > Success Center > Network Configuration Manager (NCM) > NCM 7.7 Administrator Guide > Alerts for SolarWinds NCM actions > Add scripted commands to the default NCM alert

Add scripted commands to the default NCM alert

Table of contents
No headers
Created by Caroline Juszczak, last modified by Anthony.Rinaldi_ret on Oct 03, 2016

Views: 34 Votes: 1 Revisions: 4

You can modify the default SolarWinds NCM advanced alert to execute specific command scripts at the time the alert is triggered. The following example adds a simple show version command as a scripted action.

  1. Click Alerts & Activity > Alerts.
  2. Click Manage Alerts.
  3. Select Object Type from the Group By list, and select Node.
  4. Select Alert Me and Trigger an NCM Action.
  5. Click Duplicate & Edit.
  6. On Trigger Actions, click Add Action.
  7. Select Execute an NCM Action, and click Configure Action.
  8. Select Execute Config Script, and enter a command in Command Script to Execute. For example:

    show version

    When executed, this command runs on the context node, receives detailed software and hardware information, and includes it in the ${Notes} macro of an Orion database alerts table.

  9. Click Add Action.
  10. Drag the new action into the desired position in the list.

    By default, the software positions a new action at the end of the action list. In this case, it makes sense to position this action third, after NCM backs up the running config and determines the last config changes.

  11. Click Summary.
  12. On Summary, review and edit settings. We recommend enabling Alert Integration.
  13. Click Submit.

 

Last modified

Tags

Classifications

Public