Smarts NCM: Options for gathering log files to aid in troubleshooting
search cancel

Smarts NCM: Options for gathering log files to aid in troubleshooting

book

Article ID: 330931

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - NCM

Resolution

This article presents the options in Smarts NCM to gather log files based on what information is needed to troubleshoot an issue.



Always do the following first:

souce /etc/voyence.conf

./saveLogs.pl options

./saveLogs.pl CS                                  Grabs all current Combo Server logs and creates a zip file
./saveLogs.pl DS                                  Grabs all current Device Server logs and creates a zip file
./saveLogs.pl AP                                   Grabs all current App Server logs and creates a zip file
./saveLogs.pl RA                                   Grabs all current Report Advisor logs and creates a zip file
./saveLogs.pl all                                    Grabs all current logs available on the server your on and creates a zip file
./saveLogs.pl logs                                 Grabs all logs from <Product_Home>/logs and creates a zip file
./saveLogs.pl tomcat                             Grabs the catalina.out log file from the tomcat log directory
./saveLogs.pl jboss                               Grabs the jboss logs and creates a zip file
./saveLogs.pl database                        Grabs the database logs and creates a zip file
./saveLogs.pl install                               Grabs the install logs and creates a zip file
./saveLogs.pl search <string>              Grabs logs with <any string> and creates a zip file
./saveLogs.pl date <MMM DD> <HH:MM>          Grabs logs with formatted date (Time is optional) and creates a zip file
./saveLogs.pl time <HH:MM>                                Grabs logs where time is HH:MM or HH:MM:SS and creates a zip file
./saveLogs.pl exception <# of leading lines>    Grabs all java exceptions from the logs and creates a zip file
./saveLogs.pl ds_cache                       Grabs the file containing the Device Server cache if applicable and creates a zip file
./saveLogs.pl snapshot                        Grabs snapshot information and creates a zip file
./saveLogs.pl core                                 Grabs the core files and creates a zip file
./saveLogs.pl jstack                              Grabs the stack trace files and creates a zip file

Add --save-rolled-logs to save any of the rolled logs for any option.