Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configuration monitored by zabbix script

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article is to share with you a detailed introduction of zabbix script monitoring configuration, I believe most people have not learned this skill, in order to let you learn, for you to sum up the following content, say no more, let's read on.

The command on windows to manually get the number of TCP connections:

Netstat-n | find / I "time_wait" / cnetstat-n | find / I "close_wait" / cnetstat-n | find / I "established" / c

Edit the zabbix agent client zabbix_agent.conf profile:

UnsafeUserParameters=1UserParameter=tcp.status [*], netstat-an | find / C "$1"

Restart the zabbix-agent service

Zabbix related configuration:

Select the corresponding template

two。 Create a new monitoring item

3. Add a trigger to alarm when the number of TCP connections is greater than 5000

4. Effect picture

Other monitoring items are added in turn as above.

These are the details of the monitoring configuration of zabbix scripts. have you learned anything after reading it? If you want to know more about it, you are welcome to follow the industry information!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report