In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1.node contact deployment node_exporter
Wget https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz
2. Promethesus users start the addition of each user
Mv node_exporter-0.18.1.linux-amd64 / usr/local/node_ exporter [root @ zabbix-server system] # cat node_ exporter.service [unit] Description=node_exporterDocumentation= https://prometheus.io/After=network.target[Service]Type=simpleUser=prometheusExecStart=/usr/local/node_exporter/node_exporterRestart=on-failure[Install]WantedBy=multi-user.target[root@zabbix-server system] # pwd/usr/lib/systemd/systemsystemctl daemon-reloadsystemctl start node_exporter
3. View metrics
4. Edit the configuration file of prometheus and use
Prometheus-configmap.yamlkubectl apply-f prometheus-configmap.yaml
5. View prometheus Monitoring
6. Add template 9276
7. Add
8. Check the dashboard some values do not come out of their own edit options can be adjusted will come out
Note:
For several SQL of prometheus, it is recommended to write down the CPU utilization in front of the above figure: 100-(avg (irate (node_cpu_seconds_total {mode= "idle"} [5m])) by (instance) * 100) memory utilization: 100-(node_memory_MemFree_bytes+node_memory_Cached_bytes+node_memory_Buffers_bytes) / node_memory_MemTotal_bytes * 100 disk utilization: 100-(node_filesystem_free_bytes {mountpoint= "/") Fstype=~ "ext4 | xfs"} / node_filesystem_size_bytes {mountpoint= "/", fstype=~ "ext4 | xfs"} * 100)
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.