To generate audit log output on a server, you must perform the following steps.
-
Add the SM_AUDIT_CLIENT_ACTIONS environment variable to the runcmd_env.sh file located in the BASEDIR/<productsuite>/smarts/local/conf directoryof your VMware Smart Assurance software product suite.
For example, the directory for the IP AM/PM suite would be BASEDIR/IP/smarts/local/conf.
-
You can do this by using the sm_edit utility via the command line to open the runcmd_env.sh file. Invoke sm_edit from the BASEDIR/<productsuite>/smarts/bin directory:
sm_edit conf/runcmd_env.sh #/opt/InCharge/IP/smarts/bin>sm_edit conf/runcmd_env.sh
-
Add the environment variable and its value using the following syntax:
SM_AUDIT_CLIENT_ACTIONS=TRUE SM_AUDIT_ALL_CONNECTIONS=1
-
Save the runcmd_env.sh file and close it.
-
Restart any VMware Smart Assurance program currently running for the new environment variables to take effect.