Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities.
NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > 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: 872 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

Tags

Classifications

Public