| Solution | - Understand where NMON logs are stored.
FortiWeb generates NMON log files (suffix .nmon) automatically. On the FortiWeb system, they are stored under: /var/log/debug/tmp Key behavior: - Sampling interval is 5 minutes.
- A new .nmon file is created each time the system boots.
- Typically, there is one file per day; multiple files in the same day usually indicates the unit rebooted or crashed.
- Maximum stored locally: 180 .nmon files (rotation applies).
- Download NMON logs from the GUI:
- Make sure the Debug menu is visible: System -> Config -> Feature Visibility -> Debug.
-
Download the debug archive: - System -> Maintenance -> Debug -> Download.
- This downloads console_log.tar.gz.
- Note: Access requires an admin profile with the relevant permissions (prof_admin).
- Extract console_log.tar.gz.
- Locate the NMON files in the extracted content:
- Analyze the .nmon files:
- .nmon files are plain text, but analysis is much easier with a 3rd party analyzer that graphs CPU, memory, disk, and network metrics over time.
- Example: nmon Analyser, which is a Microsoft Excel workbook with macros: Nmon-Analyser.
Related document: Customizing and downloading debug logs |