FortiNAC-F
FortiNAC-F is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks. For legacy FortiNAC articles prior to FortiNAC-F 7.2, see FortiNAC.
ebilcari
Staff
Staff
Article Id 415796
Description

 

This article describes the configuration steps required to quickly isolate hosts that initially had the Persistent Agent communicating, but are no longer doing so. The host's compliance status may have changed during this time, and it may be a requirement to put this host in Remediation until agent communication is restored and the host is checked again for compliance.

 

Scope

 

FortiNAC and Persistent Agent.

 

Solution

 

There is no built-in procedure to isolate hosts that have their status suddenly change to agent non-communicating. A User Host Profile can be created with a condition to check the agent communication status, but this will take effect only when the host is connected for the first time or after a policy evaluation is triggered for that host:

 

UHP agent.PNG

To achieve quicker results, an Event Mapping can be created that immediately changes the host status to 'At-Risk' as soon as an event 'Persistent Agent Not Communicating' is created.

 

mapping risk.PNG

The default timers for generating these events can be customized in System -> Settings -> Persistent Agent -> Properties -> 'Agent Contact Window on Connect' and 'Agent Contact Window on Disconnect'.

 

Lost contact agent 2.png

 

Note: It is not recommended to reduce this value excessively, as network behavior and latency may lead to false positive events.

 

During the configuration phase, the behavior can be easily emulated by stopping the agent service 'FortiNAC Persistent Agent Service'. The actions can be monitored under Events:

 

Host events.png

Approximately 10 minutes after the agent service is stopped and keepalive messages go unanswered, an event is triggered, and then the host is marked as 'At Risk'. As a result of the host status change, remediation is enforced, and the host is moved to the Remediation VLAN.

 

Related articles: