Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Network Configuration Manager (NCM) > NCM 7.6 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 on Oct 03, 2016

Views: 8 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
11:06, 3 Oct 2016

Tags

Classifications

Public