test
Use the following commands to test the FortiManager.
test application
Use this command to test applications. Multiple variables can be entered for each command.
Syntax
diagnose test application apiproxyd <integer> <integer> ... <integer>
diagnose test application clusterd <integer> <integer> ... <integer>
diagnose test application execmd <integer> <integer> ... <integer>
diagnose test application fazcfgd <integer> <integer> ... <integer>
diagnose test application fazmaild <integer> <integer> ... <integer>
diagnose test application faznotify <integer> <integer> ... <integer>
diagnose test application fazsvcg <integer> <integer> ... <integer>
diagnose test application fazwatchd <integer> <integer> ... <integer>
diagnose test application filefwd <integer> <integer> ... <integer>
diagnose test application fileparsed <integer> <integer> ... <integer>
diagnose test application fortilogd <integer> <integer> ... <integer>
diagnose test application logfiled <integer> <integer> ... <integer>
diagnose test application logfwd <integer> <integer> ... <integer>
diagnose test application log-fetchd <integer> <integer> ... <integer>
diagnose test application miglogd <integer> <integer> ... <integer>
diagnose test application oftpd <integer> <integer> ... <integer>
diagnose test application rptchkd <integer> <integer> ... <integer>
diagnose test application scansched <integer> <integer> ... <integer>
diagnose test application siemagentd <integer> <integer> ... <integer>
diagnose test application siemdbd <integer> <integer> ... <integer>
diagnose test application snmpd <integer> <integer> ... <integer>
diagnose test application sqllogd <integer> <integer> ... <integer>
diagnose test application sqlplugind <integer> <integer> ... <integer>
diagnose test application sqlreportd <integer> <integer> ... <integer>
diagnose test application sqlrptcached <integer> <integer> ... <integer>
diagnose test application syncsched <integer> <integer> ... <integer>
diagnose test application uploadd <integer> <integer> ... <integer>
Variable |
Description |
---|---|
apiproxyd <integer> ... |
API proxy daemon test usage:
|
clusterd <integer> ... |
Clusterd daemon test usage:
|
execmd <integer> ... |
Execmd daemon test usage:
|
fazcfgd <integer> ... |
Fazcfg daemon test usage:
This test is only functional when FortiAnalyzer features are enabled |
fazmaild <integer> ... |
Fazmaild daemon test usage:
This test is only functional when FortiAnalyzer features are enabled |
faznotify <integer> ... |
Faznotify daemon test usage:
This test is only functional when FortiAnalyzer features are enabled |
fazsvcg <integer> ... |
Fazsvcd daemon test usage:
This test is only functional when FortiAnalyzer features are enabled |
fazwatchd <integer> ... |
Fazwatchd daemon test usage:
This test is only functional when FortiAnalyzer features are enabled |
filefwd <integer> ... |
Filefwd daemon test usage:
|
fileparsed <integer> ... |
Fileparsed daemon test usage:
|
fortilogd <integer> ... |
Fortilogd Diag test usage:
|
logfiled <integer> ... |
Logfile daemon test usage:
|
logfwd <integer> ... |
Logfwd daemon test usage:
|
log-fetchd <integer> ... |
Log-fetch daemon test usage:
|
miglogd <integer> ... |
Miglogd daemon test usage:
|
oftpd <integer> ... |
Oftpd daemon test usage:
|
rptchkd <integer> ... |
Sqlrptcache daemon test usage:
|
scansched <integer> ... |
Scansched daemon test usage:
|
siemagentd <integer> ... |
Siemagentd daemon test usage:
|
siemdbd <integer> ... |
Siemdbd daemon test usage:
|
snmpd <integer> ... |
SNMP daemon test usage:
|
sqllogd <integer> ... |
SqlLog daemon test usage:
|
sqlplugind <integer> ... |
Sqlplugind daemon |
sqlreportd <integer> ... |
Sqlreportd daemon |
sqlrptcached <integer> ... |
Sqlrptcache daemon test usage:
|
syncsched <integer> ... |
syncsched daemon test usage:
|
uploadd <integer> ... |
Uploadd daemon test usage:
|
test connection
Use this command to test connections.
Syntax
diagnose test connection fortianalyzer <ip>
diagnose test connection mailserver <server-name> <mail-from> <mail-to>
diagnose test connection syslogserver <server-name>
Variable |
Description |
---|---|
fortianalyzer <ip> |
Test the connection to the FortiAnalyzer. |
mailserver <server-name> <mail-from> <mail-to> |
Test the connection to the mail server. |
syslogserver <server-name> |
Test the connection to the syslog server. |
test deploymanager
Use this command to test the deployment manager.
Syntax
diagnose test deploymanager getcheckin <devid>
diagnose test deploymanager reloadconf <devid>
Variable |
Description |
---|---|
getcheckin <devid> |
Get configuration check-in information from the FortiGate. |
reloadconf <devid> |
Reload configuration from the FortiGate. |
test policy-check
Use this command to list or flush policy consistency checks.
Syntax
diagnose test policy-check flush
diagnose test policy-check list
Variable |
Description |
---|---|
flush |
Flush all policy check sessions. |
list |
List all policy check sessions. |
test search
Use this command to test the search daemon.
Syntax
diagnose test search flush
diagnose test search list
Variable |
Description |
---|---|
flush |
Flush all search sessions. |
list |
List all search sessions. |
test sftp
Use this command to test the secure file transfer protocol (SFTP) scheduled backup.
Syntax
diagnose test sftp auth <sftp server> <username> <password> <directory>
Variable |
Description |
---|---|
<sftp server> |
SFTP server IP address. |
<username> |
SFTP server username. |
<password> |
SFTP server password. |
<directory> |
The directory on the SFTP server where you want to put the file (default = /). |