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: 794 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
 
Viewing 2 of 2 comments: view all
Interspire author is Paul Cardenas
Posted 18:43, 14 Aug 2015
Interspire author is Paul Cardenas
Posted 19:23, 14 Aug 2015
Viewing 2 of 2 comments: view all
You must to post a comment.
Last modified
05:42, 23 Jun 2016

Tags

Classifications

Public