Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

Home > Success Center > Network Performance Monitor (NPM) > Problem in Alert action: Execute External Program - .JAR script

Problem in Alert action: Execute External Program - .JAR script

Table of contents
Created by Alexander Aguilar, last modified by MindTouch on Jun 23, 2016

Views: 940 Votes: 0 Revisions: 8

Overview

This article addresses the issue where the .jar script does not run from the Orion Alert Action.

Environment

NPM 11 and later

Steps

Note: SolarWinds does not support troubleshooting of the .jar script functionality in NPM. The following steps describe how to test the functionality to execute a script on Orion without troubleshooting the script.

  1. Create two .cmd scripts. For example:
    • net stop Spooler​
    • net start Spooler
  2. Save the scripts (NStop.cmd and NStart.cmd) to a shared location in the main Orion server.
  3. Create the alert.
  4. On the Trigger Actions tab, click Add Action.
  5. Select to Execute an External Program and click Configure Actions.
  6. Assign a name.
  7. In the Network path to external program field, put \\<servername or IP>\<share name>\NStop.cmd
  8. Add another action.
  9. Select to Execute an External program and click Configure Actions.
  10. Assign a name.
  11. In the network path to external program field, put \\<servername or IP>\<share name>\NStart.cmd
  12. Simulate the action and check if the printer spooler stops and starts when you execute the action. 

 

Additional Resources:

 

Last modified

Tags

Classifications

Public