Fortinet black logo

CLI Reference

hardware check

hardware check

Use this command to check the appliance hardware for errors. In the case of FortiWeb, 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

diagnose hardware check {all | psu | sslcard | cpu |logdisk | memory |nic}

Variable Description Default

{all | psu | sslcard | cpu |logdisk | memory |nic}

Enter the type of hardware to check, or enter all to check all hardware.

For FortiWeb-VM versions, the sslcard option is not available.
Note:

  • sslcard is only supported on FortiWeb 600D, 1000D, 3000D, 3000DFSX, 4000D, 1000E, 2000E, 3000E, 3010E, 4000E, 2000F, 3000F, and 4000F.

  • psu is only supported on FortiWeb2000E, 3000E, 3010E, 4000E, 2000F, 3000F and 4000F.

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

hardware check

Use this command to check the appliance hardware for errors. In the case of FortiWeb, 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

diagnose hardware check {all | psu | sslcard | cpu |logdisk | memory |nic}

Variable Description Default

{all | psu | sslcard | cpu |logdisk | memory |nic}

Enter the type of hardware to check, or enter all to check all hardware.

For FortiWeb-VM versions, the sslcard option is not available.
Note:

  • sslcard is only supported on FortiWeb 600D, 1000D, 3000D, 3000DFSX, 4000D, 1000E, 2000E, 3000E, 3010E, 4000E, 2000F, 3000F, and 4000F.

  • psu is only supported on FortiWeb2000E, 3000E, 3010E, 4000E, 2000F, 3000F and 4000F.

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