Difference between revisions of "Monitoring"

From Tech-Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Fortinet]]
 
[[Category:Fortinet]]
 +
 +
Viewing logs from command line
 +
execute log filter category 1 (1:event 0:traffic 3:webfilter)
 +
execute log filter view-lines 200
 +
execute log display
  
 
Get system information:
 
Get system information:

Revision as of 20:29, 6 November 2016


Viewing logs from command line

execute log filter category 1 (1:event 0:traffic 3:webfilter)
execute log filter view-lines 200
execute log display

Get system information:

get sys status
get sys performance status
get hardware status
diag hardware deviceinfo disk

Get CPU information and killing (restarting) process:

diag sys top
diag sys top-summary
diag sys kill 11 <pid>  (or kill 15)

Get memory information and conserve mode:

diag hardware sysinfo mem
diag hardware sysinfo shm
   0 – no conserve mode
   1 – proxy
   2 – system
   3 - both
diag firewall iprope state
   Av_break=pass/pass – kernel conserve mode

Get network information and statistics:

show sys interface
diag hardware deviceinfo nic <port>
fnsysctl ifconfig <port>

Get disk logging statistics:

 diag sys logdisk usage

Display IPs blocked by Anomalies:

 diag ips anomaly list