Skip to main content
kcapecchi
Staff
Staff
September 22, 2015

Technical Note: Agent-based polling mode methods

  • September 22, 2015
  • 0 replies
  • 3330 views
Description
With agent-based polling mode, there are two methods for getting logon information:

.Security Event  Log (WinSecLog):
Polls the security events on the DC.  It does not miss any logon events because events are not normally deleted from the logs.  But there can be some delay in the FortiGate receiving these events if the network is large and therefore writing to the log is slow.

NetAPI:
Calls the 'netsessionenum' function on Windows systems.  This is faster than the other method because it is reading a table in RAM.  However, the other effect is that it can sometimes miss logon events if a DC is under heavy system load.  This is because sessions can be quickly created and purged from RAM, before the agent has a chance to poll and notify the FortiGate.