FastDPI monitoring and logs

SNMP Monitoring via snmpd Service

Monitoring via SNMP agent (Zabbix-agent)

Monitoring traffic distribution by class

System logs are presented as text files that are located in the /var/log/dpi directory for DPI and PCRF modules. Types of messages in the log:

[CRITICAL] - critical error, system operation is impossible without troubleshooting

[WARNING] - warning, the system does not stop, but it is worth eliminating this malfunction

[TRACE] - messages when the diagnostic trace mode is enabled

[INFO] - notification of system actions

[ERROR] - error when connecting services and policies, incorrect configuration

The FastDPI process by default logs all system actions to the following debug and statistics log files:

/var/log/dpi/fastdpi_slave.log - a log of traffic processing processes1) For each handler, its own fastdpi_slave log is created, other log files are created in a single copy.

/var/log/dpi/fastdpi_stat.log - traffic processing statistics log

/var/log/dpi/fastdpi_alert.log - common fastDPI functions log

Blocking counters that are saved in the statistics log

Log file rotation

File rotation provides a daily backup of the daily log. By default, this process is performed during the hours with the lowest system load. The log storage depth is defined in the configuration of /etc/logrotate.d/fastdpi by the parameter maxage, the value is specified in days.