How do I configure AppManager to keep a log of attempts made by any of the Action knowledge scripts (NETIQKB4429)

  • 7704429
  • 02-Feb-2007
  • 01-Oct-2010

Environment

NetIQ AppManager 6.x
NetIQ AppManager 7.0.x

Situation

How do I configure AppManager to keep a log of attempts made by any of the Action knowledge scripts to execute the specified Action?

Resolution

By designt, action knowledge scripts do not log any details to any files. The Server executing the Action (Management Server (MS Action), Managed Client (MC Action), or Proxy) simply calls the appropriate executable for the action (for example, Action_SMTPMail uses netiqsmptmail.exe). The knowledge script passes the parameters specified in the Properties and executes the command in a non-interactive DOS command session. 

You can enable action logging if the action is triggered on the Management Server, but the log will only be written to if the action fails and an error is generated. 

To enable logging of failed attempts for MS Actions: Open the Registry Editor (regedt32). Navigate to:

  1. HKEY_LOCAL_MACHINE\SOFTWARE\NetIQ\AppManager\4.0\NetIQms\Tracing
  2. Double-click Action Log.
  3. Change the default value 0 to 1, in the String Editor.
  4. Stop and restart the NetIQ AppManager Management Server Service.

 

Additional Information

Formerly known as NETIQKB4429

Failed Action attempts will be logged to the action.log file on the Management Server in the following directory: %\NetIQ\Temp\NetIQ_Debug\ServerName