CMX Ver 10.3 からは、基本ログを自動取得するするコマンド"cmxos techsupport dump" が実装されており、
下記手順にて基本ログを取得できます。
- CMX の CLI より、"cmxos techsupport dump" を実行します
[cmxadmin@localhost]$ cmxos techsupport dump |
- ログ取得が始まるので、待ちます
###################################################################################################### CMX Tech Support Started At: Fri Dec 29 16:02:17 2017 ######################################################################################################
File System Usage Current Processes Top Processes Processor Related Stats I/O Related Stats Memory Stats Interface Configuration Network Interface Stats Network Connection Stats Route Configuration : Dumping debug information... Check if any old debug tarfiles should be removed [localhost] Executing task 'dump_config' [localhost] Executing task 'dump_state' running 'ps aux' running 'ifconfig -a' running 'cmxctl status' running 'ulimit -a' running 'ps -u root,postgres -o %cpu,%mem,cmd' running 'netstat -o -n -a' running 'df -h' running 'date' running 'cat /proc/cpuinfo' running 'free -m' running 'consul members' [localhost] Executing task 'dump_apis' : Done. Debug file created in directory: /opt/cmx/srv/debugs/debug-cmx-localhost.localdomain-2017-12-29.tar.gz Debug file download link: https://192.168.0.1/techsupport/debug-cmx-localhost.localdomain-2017-12-29.tar.gz |
- CLI に出力された URL へブラウザでアクセスし、基本ログ一式をダウンロードします