Smarts NCM: How to enable and disable session logging
search cancel

Smarts NCM: How to enable and disable session logging

book

Article ID: 331066

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - NCM

Resolution

How to enable and disable session logging in Smarts NCM



The following sections explain how to enable and disable session logging in Smarts NCM without debugging. To edit the files mentioned in the following instructions, you will need to have root access to Smarts NCM Device Server(s) .

Enabling session logging in Smarts NCM
To enable session logging in Smarts NCM, do the following on the Smarts NCM Device Server:      

  1. Run commands:
source /etc/voyence.conf
cd $VOYENCE_HOME

cd cgi-bin/
  1. Generate a temporary "test" file using the following command:

 ./cflist.cgi mode=pop > /tmp/test

  1. Open the test file for editing in vi:
vi /tmp/test
  1. Set CM_DEBUGSESSION=1
  2. Save and close the test file.
  3. Move the test file back using the cfwrite command as follows:
./cfwrite.cgi < /tmp/test
  1. Restart the voyence service on your Smarts NCM Device Server(s) as follows:
 /etc/init.d/voyence restart

Disabling session logging in Smarts NCM
To disable session logging in Smarts NCM, do the following on the Smarts NCM Device Server:
  1. Run commands:
source /etc/voyence.conf
cd $VOYENCE_HOME

cd cgi-bin/
  1. Generate a temporary "test" file using the following command:

 ./cflist.cgi mode=pop > /tmp/test

  1. Open the test file for editing in vi:
vi /tmp/test
  1. Set CM_DEBUGSESSION=0
  2. Save and close the test file.
  3. Move the test file back using the cfwrite command as follows:
./cfwrite.cgi < /tmp/test
  1. Restart the voyence service on your Smarts NCM Device Server(s) as follows:
 /etc/init.d/voyence restart