Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Network Configuration Manager (NCM) > NCM Documentation > NCM 7.9 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: 544 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