Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

diagnose debug module

Use this command to set the debug level for module daemons.

Syntax

diagnose debug module {alertmaild | cmdb_event | crlupdated | dnsproxy | flg_accessd | flg_indexd | flg_reportd | gdns | httproxy | hasyncd | healthcheckd | info_centerd | kernelconfd | lb | llb | miglogd | netd | ntpd | opsips | ospfd | rtmd | snmpd | sshd | synconf | udproxy | updated | av | wadd | quar} [<level>] <Enter>

alertmaild

Get/set the debug level for alertmaild daemon.

cmdb_event

Get/set the debug level for dmdb_event daemon.

crlupdated

Get/set the debug level for crlupdated daemon.

dnsproxy

Get/set the debug level for dnsproxy daemon.

flg_accessd

Get/set the debug level for flg_accessd daemon.

flg_indexd

Get/set the debug level for flg_indexd daemon.

flg_reportd

Get/set the debug level for flg_reportd daemon.

gdns

Get/set the debug level for gdns daemon.

httproxy

Get/set the debug category for httproxy daemon.

hasyncd

Get/set the debug level for hasyncd daemon.

healthcheckd

Get/set the debug level for healthcheckd daemon.

info_centerd

Get/set the debug level for info_centerd daemon.

kernelconfd

Get/set the debug level for kernelconfd daemon.

lb

Get/set the debug level for lb daemon.

llb

Get/set the debug level for llb daemon.

miglogd

Get/set the debug level for miglogd daemon.

netd

Get/set the debug level for netd daemon.

ntpd

Get/set the debug level for ntpd daemon.

opsips

Get/set the debug level for opsips daemon.

ospfd

Get/set the debug level for ospfd daemon.

rtmd

Get/set the debug level for rtmd daemon.

snmpd

Get/set the debug level for snmpd daemon.

sshd

Get/set the debug level for sshd daemon.

synconf

Get/set the debug level for sysconf daemon.

udproxy

Get/set the debug level for udproxy daemon.

updated

Get/set the debug level for update daemon.

wadd updated

Get/set the debug lvel for add daemon.

<Enter>

If you do not specify a debug level and press Enter, the command displays the current debug level.

<level>

<level> is a mask. Valid levels are the following values added together: 1 - error message, 2 - main event, 4 - config event, 8 - file sync message, 16 - hb message, 31 - start all. For example, 3 means error messages and main events.

Example

FortiADC-VM # diagnose debug module ?

alertmaild set/get debug level for alertmaild daemon

cmdb_event set/get debug level for cmdb event

crlupdated set/get debug level for crlupdated daemon

dnsproxy set/get debug level for dnsproxy daemon

flg_accessd set/get debug level for flg_accessd daemon

flg_indexd set/get debug level for flg_indexd daemon

flg_reportd set/get debug level for flg_reportd daemon

gdns set/get debug level for gdns daemon

httproxy set/get debug level for httproxy daemon

hasyncd set/get debug level for HA synchronisation events

healthcheckd set/get debug level for healthcheck daemon

info_centerd set/get debug level for info_centerd daemon

kernelconfd set/get debug level for L4 kernelconf daemon

lb set/get debug level for lb daemon

llb set/get debug level for llb daemon

miglogd set/get debug level for miglogd events

netd set/get debug level for netd events

ntpd set/get debug level for ntpd daemon

opsips set/get debug level for opsips daemon

ospfd set/get debug level for ospfd daemon

rtmd set/get debug level for rtmd daemon

snmpd set/get debug level for snmp daemon

sshd set/get debug level for sshd daemon

synconf set/get debug level for synconf daemon

udproxy set/get debug level for udproxy daemon

updated set/get debug level for updated daemonupdated feature

wadd set/get debug level for Web Anti Defacement daemon

 

FortiADC-VM # diagnose debug module lb ?

<level> set/get debug level for lb daemon

 

FortiADC-VM # diagnose debug module lb

lb debug level is 0

 

FortiADC-VM # diagnose debug module lb 3

 

FortiADC-VM # diagnose debug module lb

lb debug level is 3

 

 

caution icon

 

Httproxy is not only organized by level.

diagnose debug module httproxy {submodule}/{all/alert/warning/confi/verbose}/{show/set-filter/show-filter/unset-filter}

 

show: Shows httproxy debug status

set-filter: Set debug filter for httproxy

unset-filter: Unset debug filter for httproxy

show-filter: Show debug filter of httproxy

all: All

alert: Httproxy Alert Message

warning: Httproxy Warning Message

conf: Httproxy config debug info

verbose: Httproxy traffic verbose debug info

ssl_major: Httproxy sll major debug info

diagnose debug module

Use this command to set the debug level for module daemons.

Syntax

diagnose debug module {alertmaild | cmdb_event | crlupdated | dnsproxy | flg_accessd | flg_indexd | flg_reportd | gdns | httproxy | hasyncd | healthcheckd | info_centerd | kernelconfd | lb | llb | miglogd | netd | ntpd | opsips | ospfd | rtmd | snmpd | sshd | synconf | udproxy | updated | av | wadd | quar} [<level>] <Enter>

alertmaild

Get/set the debug level for alertmaild daemon.

cmdb_event

Get/set the debug level for dmdb_event daemon.

crlupdated

Get/set the debug level for crlupdated daemon.

dnsproxy

Get/set the debug level for dnsproxy daemon.

flg_accessd

Get/set the debug level for flg_accessd daemon.

flg_indexd

Get/set the debug level for flg_indexd daemon.

flg_reportd

Get/set the debug level for flg_reportd daemon.

gdns

Get/set the debug level for gdns daemon.

httproxy

Get/set the debug category for httproxy daemon.

hasyncd

Get/set the debug level for hasyncd daemon.

healthcheckd

Get/set the debug level for healthcheckd daemon.

info_centerd

Get/set the debug level for info_centerd daemon.

kernelconfd

Get/set the debug level for kernelconfd daemon.

lb

Get/set the debug level for lb daemon.

llb

Get/set the debug level for llb daemon.

miglogd

Get/set the debug level for miglogd daemon.

netd

Get/set the debug level for netd daemon.

ntpd

Get/set the debug level for ntpd daemon.

opsips

Get/set the debug level for opsips daemon.

ospfd

Get/set the debug level for ospfd daemon.

rtmd

Get/set the debug level for rtmd daemon.

snmpd

Get/set the debug level for snmpd daemon.

sshd

Get/set the debug level for sshd daemon.

synconf

Get/set the debug level for sysconf daemon.

udproxy

Get/set the debug level for udproxy daemon.

updated

Get/set the debug level for update daemon.

wadd updated

Get/set the debug lvel for add daemon.

<Enter>

If you do not specify a debug level and press Enter, the command displays the current debug level.

<level>

<level> is a mask. Valid levels are the following values added together: 1 - error message, 2 - main event, 4 - config event, 8 - file sync message, 16 - hb message, 31 - start all. For example, 3 means error messages and main events.

Example

FortiADC-VM # diagnose debug module ?

alertmaild set/get debug level for alertmaild daemon

cmdb_event set/get debug level for cmdb event

crlupdated set/get debug level for crlupdated daemon

dnsproxy set/get debug level for dnsproxy daemon

flg_accessd set/get debug level for flg_accessd daemon

flg_indexd set/get debug level for flg_indexd daemon

flg_reportd set/get debug level for flg_reportd daemon

gdns set/get debug level for gdns daemon

httproxy set/get debug level for httproxy daemon

hasyncd set/get debug level for HA synchronisation events

healthcheckd set/get debug level for healthcheck daemon

info_centerd set/get debug level for info_centerd daemon

kernelconfd set/get debug level for L4 kernelconf daemon

lb set/get debug level for lb daemon

llb set/get debug level for llb daemon

miglogd set/get debug level for miglogd events

netd set/get debug level for netd events

ntpd set/get debug level for ntpd daemon

opsips set/get debug level for opsips daemon

ospfd set/get debug level for ospfd daemon

rtmd set/get debug level for rtmd daemon

snmpd set/get debug level for snmp daemon

sshd set/get debug level for sshd daemon

synconf set/get debug level for synconf daemon

udproxy set/get debug level for udproxy daemon

updated set/get debug level for updated daemonupdated feature

wadd set/get debug level for Web Anti Defacement daemon

 

FortiADC-VM # diagnose debug module lb ?

<level> set/get debug level for lb daemon

 

FortiADC-VM # diagnose debug module lb

lb debug level is 0

 

FortiADC-VM # diagnose debug module lb 3

 

FortiADC-VM # diagnose debug module lb

lb debug level is 3

 

 

caution icon

 

Httproxy is not only organized by level.

diagnose debug module httproxy {submodule}/{all/alert/warning/confi/verbose}/{show/set-filter/show-filter/unset-filter}

 

show: Shows httproxy debug status

set-filter: Set debug filter for httproxy

unset-filter: Unset debug filter for httproxy

show-filter: Show debug filter of httproxy

all: All

alert: Httproxy Alert Message

warning: Httproxy Warning Message

conf: Httproxy config debug info

verbose: Httproxy traffic verbose debug info

ssl_major: Httproxy sll major debug info