2 Replies Latest reply on Jul 5, 2016 9:13 PM by blue0o0



      I am testing on NPM 11.5.2, and I created a new alert definition, then defined a new action to execute external bat file.

      This bat file can normally run in cmd mode on the Orion server. But doesn't work in the alert action testing. I have tested same alert action in NPM 10.0, it's OK.


      I have checked ActionsExecutionAlert*.log files in C:\ProgramData\SolarWinds\Logs\Orion, there's no related log message.


      Then I used Log Adjuster to modify the log level for Actions Execution, Actions Execution for Alertin and Alert Engine. Changed the levels to All.


      Then I tested again, and I found only ActionsExecution.log file in C:\ProgramData\SolarWinds\Logs\Orion was updated.There is a message in the end of ActionsExecution.log file:

      2016-07-02 22:39:54,929 [15] TRACE SolarWinds.Orion.Core.Actions.Services.ActionMessageStorage - ActionMessageStorage: alertActiveId:0, alertObjectId:0, canStoreMessage: False.


      BTW, I found that NPM 10.0 basic alert can work with system environment  variable, but the advanced alert cannot recognize system environment  variable.

      I added the full path of the batch file in the system environment  variable. In the basic alert action(execute external program), I just only enter the batch file name with related parameters, it works.

      However, same operation in the advanced alert action cannot work. I must enter full path to get the advanced alert action work.


      Anyone can help me?  Thanks in advanced.