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 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 snmpd <integer> <integer> ... <integer>
diagnose test application sqllogd <integer> <integer> ... <integer>
diagnose test application sqlrptcached <integer> <integer> ... <integer>
diagnose test application syncsched <integer> <integer> ... <integer>
diagnose test application uploadd <integer> <integer> ... <integer>
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> |
|
<username> |
SFTP server username. |
<password> |
SFTP server password. |
<directory> |
The directory on the SFTP server where you want to put the file (default = /). |