In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Adding the zabbix user zabbix client program launches shell > groupadd zabbix shell > useradd-r-g zabbix compilation and installation unzipped zabbix installation package shell > tar zxvf zabbix-2.4.5.tar.gz shell > cd zabbix-2.4.5/ compilation and installation zabbix shell >. / configure-- prefix=/usr/local/zabbix_agent-- enable-agent shell > make & & make install shell > ln-s / usr/local/zabbix/sbin/* / usr/local / sbin/ shell > ln-s / usr/local/zabbix/bin/* / usr/local/bin/ zabbix configuration add zabbix server port shell > grep zabbix/ etc/services zabbix-agent 10050/tcp # Zabbix Agent zabbix-agent 10050/udp # Zabbix Agent zabbix-trapper 10051/tcp # Zabbix Trapper zabbix-trapper 10051/udp # Zabbix Trapper shell > vi / usr/local/zabbix_agent/etc/zabbix_agentd.conf = Server=192.168.56.210 ServerActive=192.168.56.211:10051 DebugLevel=2 Include=/usr/local / etc/zabbix_agentd.conf.d/ UnsafeUserParameters=1 # allow custom script = = start zabbix client to add zabbix to boot startup script and modify shell > cp misc/init.d/fedora/zabbix_agentd / etc/init.d/ shell > / etc/init.d/zabbix_agentd start Starting zabbix_agentd: [OK] zabbix server executes shell > zabbix_get-s192.168.56.211-p10050-k "system.uptime" 8748 to add custom monitoring 1, Add the following monitoring items to the configuration file:
UserParameter=mysql.status [*], mysql-upright 1-pendant 2-e 'show global status' | grep Com_select | awk' {printf $2} 'Note $$indicates the original shell meaning 2. Restart the zabbix_agentd service
3. Zabbix server-side check service
/ usr/local/zabbix/bin/zabbix_get-s 192.168.56.211-k mysql.status ['zabbix','123@qwe'] 116611 Server web configuration Item Hosts-- > items-- > Create item Name: mysql.status Type: Zabbix agent Key: mysql.status [' zabbix','123@qwe'] other modifications as needed, save
Configure graph Hosts-- > graph-- > Create graph Name: mysql.status Items: select the Item just configured
Make other changes as needed, save
At this point, zabbix can generate the interface.
Collated from the network Svoid 2015-07-02
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.