How to gather troubleshooting information for the Unix, Linux and Mac SMP Agent and Inventory Solution

Article:HOWTO35960  |  Created: 2010-11-02  |  Updated: 2013-11-15  |  Article URL http://www.symantec.com/docs/HOWTO35960
Article Type
How To



To collect all available data from ULM machine for Inventory troubleshooting please do the following:

 

1. Collect information about agent and plug-ins:

  • Run:aex-helper list all -f > /tmp/agent.info

 

2. Gather output for all inventory solution commands issued and their results. To do so, insert the following lines to the /opt/altiris/notification/nsagent/bin/aex-env file:

AEX_LAUNCHER_HOST="sys://localhost?mode=sys&cache=/tmp/cache.out"
export AEX_LAUNCHER_HOST

 

3. Set DEVNOTE log level, unset log file limits, set backup dir for all NSE files, restart agent, empty client log

  • Run: aex-helper agent -s "Configuration" debug_level DEVNOTE
  • Run: aex-helper agent -s "Configuration" debug_file_size 0
  • Run: aex-helper agent -s "Event Queue" backup_dir /tmp
  • Run: aex-helper agent restart
  • Run: sudo rm /opt/altiris/notification/nsagent/var/*log*

 

4. Run an inventory task with appropriateoptions set in the main window and the advanced window tabs.

5. Run the attached shell script, getinvdata.sh, to automatatically run the individual inventory scripts. The output is gathered in the /tmp/syminvdata.out file, by default. It is also possible to run individual scripts for individual data classes, as explained in knowledge base article: HOWTO32547. In case of running individual scripts, collect the data from the on-screen output, as there will be no file generated. 

6. Collect files and send the followingfilestoSymantec Technical Support or other representative for review:

  • /tmp/agent.info
  • /tmp/cache.out
  • /tmp/*.nse
  • /tmp/syminvdata.out
  • /opt/altiris/notification/nsagent/var/aex-client.log
  • /opt/altiris/notification/inventory/var/log/<datetime>.log, if any exist.

 

7. Undo the above settings to prevent unnecessary file accumulation.

  • Remove the AEX_LAUNCHER_HOST lines from the aex-env file
  • Run: aex-helper agent -s "Configuration" debug_level ERROR
  • Run: aex-helper agent -s "Configuration" debug_file_size 1024
  • Run: aex-helper agent -s "Event Queue" backup_dir ""
  • Run: aex-helper agent restart

 

Note: To use the script named getinvdata.sh, please do the following:

  • Download the script file to the client computer, which should be a unix, linux or mac computer
  • Run the following command (or use an alternate method of your choice) to change to the unix line endings: perl -p -e ’s/\r$//’ < getinvdata.sh.txt > getinvdata.sh
  • Run the following command to make the script executable: chmod 755 getinvdata.sh
  • Run the script: ./getinvdata.sh
  • Gather the output file, which is hard-coded to be: /tmp/syminvdata.out.

 


Attachments

getinvdata.sh.txt (1 kBytes)



Article URL http://www.symantec.com/docs/HOWTO35960


Terms of use for this information are found in Legal Notices