test
Use the following commands to test the FortiAnalyzer.
test application
Use this command to test application daemons. Enter an unassigned integer value to see the available options 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 fazsvcd <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 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:
|
fazmaild <integer> ... |
Fazmaild daemon test usage:
|
faznotify <integer> ... |
Faznotify daemon test usage:
|
fazsvcd <integer> ... |
Fazsvcd daemon test usage:
|
fazwatchd <integer> ... |
Fazwatchd daemon test usage:
|
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:
|
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
Test the connection to the mail server and syslog server.
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 policy-check
Check policy consistency.
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
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 = /). |