https://github.com/lzyrapx/monitoringsystem
🌐(Just a tutorial,Only for learning)https://github.com/prometheus/client_python
https://github.com/lzyrapx/monitoringsystem
elk grafana monitor prometheus zabbi
Last synced: about 1 month ago
JSON representation
🌐(Just a tutorial,Only for learning)https://github.com/prometheus/client_python
- Host: GitHub
- URL: https://github.com/lzyrapx/monitoringsystem
- Owner: lzyrapx
- Created: 2018-11-01T03:26:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T14:44:50.000Z (over 7 years ago)
- Last Synced: 2025-06-23T22:42:28.641Z (12 months ago)
- Topics: elk, grafana, monitor, prometheus, zabbi
- Language: Shell
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monitoring System(Just a tutorial,Only for learning)
### Command:
启动prometheus:
```
/usr/local/share/prometheus/prometheus -config.file=/usr/local/share/prometheus/prometheus.yml
```
启动node-exporter:
```
sudo systemctl start node_exporter
```
启动Grafana:
```
sudo systemctl start grafana-server
```
## prometheus架构:

- 1.Prometheus server 定期从配置好的 jobs 或者 exporters 中拉 metrics,或者接收来自 Pushgateway 发过来的 metrics,或者从其他的 Prometheus server 中拉 metrics。
- 2.Prometheus server 在本地存储收集到的 metrics,并运行已定义好的 alert.rules,记录新的时间序列或者向 Alertmanager 推送警报。
- 3.Alertmanager 根据配置文件,对接收到的警报进行处理,发出告警。
- 4.在图形界面中,可视化采集数据。