Technical Tip: Unable to connect to FortiAnalyzer
Description
For configuration instructions, refer to the FortiAnalyzer Device Integration reference manual in the Fortinet Document Library.
Version: 8.7 and above.
Solution
- In FNAC, verify FAZ serial number under System -> Settings -> System Communication -> Log Receivers.
- In FAZ, verify FNAC serial number under System Settings -> FNAC ADOM -> Device Manager.
a) Login to the server CLI as root and type
nacdebug –name OFTPPlugin true
cd /bsc/logs
b) Start tailing the master log and send output to a separate file. Type
tail -F output.master | tee FAZConn.txt
c) Wait several minutes and look for 'yams.fortinet.oftp' messages indicating connection attempts.
Example:
yams.fortinet.oftp INFO :: 2020-05-01 13:50:59:011 :: /xx.xx.xx.xx:514 connected!
yams.fortinet.oftp WARNING :: 2020-05-01 13:50:59:174 :: Serial number mismatch!
yams.fortinet.oftp INFO :: 2020-05-01 13:50:59:174 :: /xx.xx.xx.xx:514 disconnected!
d) Use Ctrl-C to stop tail.
e) Disable debug. Type
nacdebug –name OFTPPlugin false
6) For additional assistance, open a support ticket and include the following:
- FAZConn.txt file (may have to be zipped depending upon the size)
- licensetool.txt
- Screen captures of the configuration for both FortiNAC and FortiAnalyzer
- FortiNAC version
- FortiAnalyzer version
If more information is required, the debug level can be changed to a more verbose setting. Type
nacdebug –name OFTPPlugin true
nacdebug -loader MasterLoader -logger yams.fortinet.oftp -level FINE
To un-set the log level and disable debug:
nacdebug -logger yams.fortinet.oftp
nacdebug –name OFTPPlugin false
