Powiadomienia
Wyczyść wszystko
BugOverflow
1
Wpisy
1
Użytkownicy
0
Reactions
764
Widoki
0
28/07/2022 1:55 pm
Rozpoczynający temat
example
1 odpowiedź
0
28/07/2022 1:56 pm
Rozpoczynający temat
1.Create file inside /usr/local/etc/zabbix5/zabbix_agentd.conf.d/tcp.conf
UserParameter=tcp.80.established[*], netstat -an|grep ESTABLISHED | grep -w 80 | wc -l | xargs UserParameter=tcp.established[*], netstat -an|grep ESTABLISHED | wc -l | xargs UserParameter=tcp.listen[*], netstat -an|grep LISTEN | wc -l | xargs UserParameter=tcp.time_wait[*], netstat -an|grep TIME_WAIT | wc -l | xargs
2.Add file to zabbix_agentd.conf
Include=/usr/local/etc/zabbix5/zabbix_agentd.conf.d/*.conf
3. service zabbix_agentd restart
4. dont forget to add custom zabbix_agent key into template