Fortinet white logo
Fortinet white logo

CLI Reference

7.2.2

diagnose test application

diagnose test application

Test, view information about, and perform operations on system applications.

diagnose test application <application> [option]

diagnose test application

Parameter

Description

Type

Size

Default

application

Application name

string

-

Option

Description

ipsmonitor

Display information about the IPS engine and perform operations.

miglogd

View local log daemon information.

syslogd

View syslogd daemon information.

restapi

Test access to the REST API.

ipsmonitor

Parameter

Description

Type

Size

Default

option

The information to display or operation to perform.

integer

-

Option

Description

1 Display IPS engine information.
2 Toggle IPS engine enable/disable status.
3 Display restart log.
4 Clear restart log.
5 Toggle bypass status.
6 Submit attack characteristics now.
10 IPS queue length.
11 Clear IPS queue length.
12 IPS L7 socket statistics.
13 IPS session list.
14 IPS NTurbo statistics.
15 IPSA statistics.
18 Display session info cache.
19 Clear session info cache.
21 Reload FSA malicious URL database.
22 Reload allowlist URL database.
24 Display Flow AV statistics.
25 Reset Flow AV statistics.
32 Reload certificate blocklist database.
40 Display packet log statistics.
41 Reset packet log statistics.
96 Toggle IPS engines watchdog timer.
97 Start all IPS engines.
98 Stop all IPS engines.
99 Restart all IPS engines and monitor.

miglod

Parameter

Description

Type

Size

Default

option

The information to display or operation to perform.

integer

-

Option

Description

4 Show log statistics.
16 Show log disk usage.
48 Show publish info.

syslogd

Parameter

Description

Type

Size

Default

option

The information to display or operation to perform.

integer

-

Option

Description

1 Show syslog setting.
3 Show syslog statistics
5 Show dropped logs due to log rate limit for all devices.
6 Show subscribe log info
7 Show subscribe log filter
9 Show remote sockets.

restapi

Parameter

Description

Type

Size

Default

host

The REST API host address.

ipv4-address or FQDN

-

port

The REST API host listening port.

integer

-

diagnose test application

diagnose test application

Test, view information about, and perform operations on system applications.

diagnose test application <application> [option]

diagnose test application

Parameter

Description

Type

Size

Default

application

Application name

string

-

Option

Description

ipsmonitor

Display information about the IPS engine and perform operations.

miglogd

View local log daemon information.

syslogd

View syslogd daemon information.

restapi

Test access to the REST API.

ipsmonitor

Parameter

Description

Type

Size

Default

option

The information to display or operation to perform.

integer

-

Option

Description

1 Display IPS engine information.
2 Toggle IPS engine enable/disable status.
3 Display restart log.
4 Clear restart log.
5 Toggle bypass status.
6 Submit attack characteristics now.
10 IPS queue length.
11 Clear IPS queue length.
12 IPS L7 socket statistics.
13 IPS session list.
14 IPS NTurbo statistics.
15 IPSA statistics.
18 Display session info cache.
19 Clear session info cache.
21 Reload FSA malicious URL database.
22 Reload allowlist URL database.
24 Display Flow AV statistics.
25 Reset Flow AV statistics.
32 Reload certificate blocklist database.
40 Display packet log statistics.
41 Reset packet log statistics.
96 Toggle IPS engines watchdog timer.
97 Start all IPS engines.
98 Stop all IPS engines.
99 Restart all IPS engines and monitor.

miglod

Parameter

Description

Type

Size

Default

option

The information to display or operation to perform.

integer

-

Option

Description

4 Show log statistics.
16 Show log disk usage.
48 Show publish info.

syslogd

Parameter

Description

Type

Size

Default

option

The information to display or operation to perform.

integer

-

Option

Description

1 Show syslog setting.
3 Show syslog statistics
5 Show dropped logs due to log rate limit for all devices.
6 Show subscribe log info
7 Show subscribe log filter
9 Show remote sockets.

restapi

Parameter

Description

Type

Size

Default

host

The REST API host address.

ipv4-address or FQDN

-

port

The REST API host listening port.

integer

-