The option can be enabled in two ways:
Enable the configuration parameter in /etc/dpi/fastdpi.conf for the default profile without a named one:
ntf_server=192.168.0.18/ntf
Here 192.168.0.18/ntf - is the name or the address of the server1) that hosts information page.
After the parameter is added, you have to restart the service:
service fastdpi restart
In this case management is carried out through connecting service 6 without specifying a profile:
fdpi_ctrl load --service 6 --ip 192.168.0.1 fdpi_ctrl load --service 6 --login user01
To work with a named profile, you do not need to specify the ntf_server parameter. The configuration is described in the service management section.
The maximum number of profiles for notification is set by the configuration parameter in /etc/dpi/fastdpi.conf
max_profiles_ntf=65535
Here 65535 is a default value and the upper limit.
Service status change (automatic shutdown) is recorded in the log, which is enabled by the setting
ajb_save_chnprg=1
For this log you can configure the following parameters (in the example the default value is specified):
ajb_chnprg_path=/var/dump/dpi #location for files with recordings ajb_chnprg_fsize=1073741824 #maximum log size ajb_chnprg_ftimeout=10 #write interval in minutes ajb_chnprg_bufsize=32768 #size of internal accumulation buffer ajb_save_chnprg_format=ts:prg:ipsrc #recording format where ts - timestamp, prg - ID of currently active services, ipsrc - source IP address (subscriber)
Changes of service status is also recorded in the clickstream in the prg field.