Submit a ticketCall us

Announcing NPM 12.2
With NPM 12.2 you can monitor your Cisco ASA firewalls, to monitor VPN tunnels for basic visibility and troubleshooting tunnels. NPM 12.2 also uses the SolarWinds Orion Installer so you can easily install and upgrade one or more Orion Platform products simultaneously.
See new features and improvements.

Home > Success Center > Network Performance Monitor (NPM) > Syslog action or rule to execute an external program or VB script does not work

Syslog action or rule to execute an external program or VB script does not work

Table of contents
Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 31 Votes: 0 Revisions: 9

Issue:

A syslog action or rule that was created to execute an external program (for example, a .bat script file) or to execute an external VB script does not trigger and only works when the .bat file script and external VB script is executed from the SolarWinds server command line.  
 

Cause:

There are permission issues with the plink's initial SSH connection to the Linux server that the user is connected to.
 

Resolution:

When using SSH to connect to a server for the first time, the user will be prompted to trust the host key of the server with the following message:
The server's host key is not cached in the registry. You have no  guarantee that the 
server is the computer you think is. The server's rsa  key fingerprint is: 
ssh-rsa 2048  xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx. 
If your trust this  host, enter "y" to add the key to PuTTY's cache and carry on 
connecting.  If you want to carry on connecting just once, without adding the 
key to  the cache, enter "n". If you do not trust this host, press Return to  
abandon the connection. Store key in cache? (y/n)

Ran the .bat file under the same user that the SolarWinds Syslog Server uses and press y to cache the key in the registry. 


Applies to: NPM v11.0
 
Last modified
23:42, 22 Jun 2016

Tags

Classifications

Public