en:dpi:faq:mon_stats:start [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:dpi:faq:mon_stats:start [2018/03/21 08:47] – created lexx26en:dpi:faq:mon_stats:start [2024/07/29 12:35] (current) – removed elena.krasnobryzh
Line 1: Line 1:
-====== 9 How to monitor the DPI ====== 
-{{indexmenu_n>9}} 
-Next set of parametrers can be given from DPI: 
-  - Errors in logs of fastdpi /var/log/dpi/fastdpi_alert.log 
-  - Errors in system log /var/log/messages 
-  - Drops on dna devices 
-  - Device traffic volume 
-  - State of control devices 
-  - Quantity of processed requests for HTTP, HTTPS 
-  - Quantity of locked requests for HTTP, HTTPS, IP  
  
- 
-Zabbix Agent is used in the example. 
- 
-1. Zabbix Agent installation: 
-  rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm 
-  yum install zabbix-agent 
- 
-2. Change SELinux policy 
- 
-''yum update selinux-policy'' 
- 
-3. Put [[http://vasexperts.ru/upload/skat_userparams.conf|skat_userparams.conf]] into directory: /etc/zabbix/zabbix_agent.d/ and [[http://vasexperts.ru/upload/zabbix_agentd.conf|zabbix_agentd.conf]] into /etc/zabbix/  
- 
-4.Edit file /etc/zabbix/zabbix_agentd.conf: 
-  Server=%address of zabbix server% 
-  ServerActive=%address of zabbix server% 
-  Hostname=%servers' hostname% 
-   
-  
-5. Change file context /var/log/dpi/fastdpi_stat.log: 
-  chcon unconfined_u:object_r:zabbix_log_t:s0 /var/log/dpi/fastdpi_stat.log 
-  
-6. add into /etc/sysconfig/iptables the rule before -A INPUT -j REJECT:\\ 
- -A INPUT -p tcp --dport 10050 -j ACCEPT 
- 
-7. Reload iptables: 
-  service iptables reload 
-  
-7. Make agent start at reboot and run it: 
-  chkconfig zabbix-agent on 
-  service zabbix-agent start 
- 
-8. import DPI template into Zabbix [[http://vasexperts.ru/upload/zbx_template_dpi.xml|zbx_template_dpi.xml]]. In the management pannel of Zabix server insert a new host and link it to the imported template. 
- 
-9. In Zabix GUI set off requests to network devices that isn't used in DPI - click on enabled from right\\ 
-{{:zabbix.png?200|}}