hardware check
Use this command to check the appliance hardware for errors. (In the case of FortiWeb-VM, this command checks virtual hardware — the vCPUs.)
For example, to troubleshoot a logging problem, use the following command to check the log disk for errors:
diagnose hardware check logdisk
If the disk does not pass the check, it is likely the source of the problem.
Syntax
Variable | Description | Default |
{all |cp8 |cpu |logdisk | memory |nic} | Enter the type of hardware to check, or enter all to check all hardware. For FortiWeb-VM versions, the cp8 option is not available. | No default. |
Example
The following command checks the log disk:
diagnose hardware check logdisk
Output similar to the following appears in the CLI:
logdisk check Pass
size Pass 1952
disk-number Pass 2
raid-level Pass raid1