Description
Solution
1) Run the following command to display the crashlog files:
2) Execute the following command to send all crashlog files via FTP to the server 10.10.10.80 port 21 using user admin and password admin123:
3) The following command is to send only one named file to the server. In this example, the file “restapi-2400-1530077168.gz” is sent:
This articles describes how to send the crashlog files generated by FortiADC to an external server such as FTP or TFTP.
Crashlog files contain information about events that could be required for further analysis and troubleshooting.
Solution
1) Run the following command to display the crashlog files:
diagnose crashlog list
229.8M Oct 7 2018 coredump-2018-10-07-09_57
256.5K Oct 7 2018 core-2018-10-07-09_57
18.4M Jun 27 2018 restapi-2400-1530077168.gz
2) Execute the following command to send all crashlog files via FTP to the server 10.10.10.80 port 21 using user admin and password admin123:
diagnose crashlog upload ftp all 10.10.10.80:21 admin admin123
3) The following command is to send only one named file to the server. In this example, the file “restapi-2400-1530077168.gz” is sent:
diagnose crashlog upload ftp restapi-2400-1530077168.gz 10.10.10.80:21 admin admin123
Related Articles
Technical Note: How to backup crashlog files to an external server (FTP/TFTP) in FortiADC
Labels: