FastDPI monitoring and logs [Документация VAS Experts]

FastDPI monitoring and logs


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:

  1. [CRITICAL] - critical error, system operation is impossible without troubleshooting
  2. [WARNING] - warning, the system does not stop, but it is worth eliminating this malfunction
  3. [TRACE] - messages when the diagnostic trace mode is enabled
  4. [INFO] - notification of system actions
  5. [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:

  1. /var/log/dpi/fastdpi_slave.log - a log of traffic processing processes1)
  2. /var/log/dpi/fastdpi_stat.log - traffic processing statistics log
  3. /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.

1)
For each handler, its own fastdpi_slave log is created, other log files are created in a single copy.