Quantcast
Viewing all articles
Browse latest Browse all 20396

Re: Solarwinds Won't Execute External Program

Jumping in here and taking a small step back:

 

Both of the programs you specified (SecureCRT and Calc) are basically programs that run in a window. If you think about it, when you aren't logged into the Polling engine, there's no user to SEE that program run. It may be running, but no way to view or interact with it.

 

To test that your "execute program" is working *at all*, create a directory:

C:\sw_actions

 

In the directory, create the file "test1.bat"

Open that file in notepad (or the text editor of your choice) and add the following lines:

@echo off

echo BEGIN test message >> test1.out

echo %date% %time% >> test1.out

echo END test message >> test1.out

 

In your test alert, get rid of calc and SecureCRT (for the moment) and add an "Execute external program" action that reads:

C:\sw_actions\test1.bat

 

Now trigger your alert. Once you trigger it, check the C:\sw_actions directory to see if there's a file "test1.out"

 

If you have that (and I'm pretty sure you will) then you have confirmed external programs will work IN GENERAL.

 

Let me know your results and we'll keep working from there.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 20396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>