prometheus
文章平均质量分 63
tryyourbest0928
这个作者很懒,什么都没留下…
展开
-
prometheus告警group_wait&repeat_interval
1分钟内文件没有恢复告警root@monitor-alarm:/usr/local/prometheus/prometheus# cat alert.rules.ymlgroups:- name: alert.rules rules: - alert: cpu_usage_over_threshold expr: 100 - avg(irate(node_cpu_seconds_total{mode="idle"}[1m])) by (alarmhost) * 100 > .原创 2021-03-30 22:43:07 · 1921 阅读 · 0 评论 -
supervisor管理服务prometheus+alertmanager
说明:对于需要自启动的服务用supervisor管理,可实现自启动enable、status、start、stop等操作# 安装,所用系统为Ubuntuapt-get install supervisorvim /etc/supervisor/supervisord.confsystemctl status supervisor.service systemctl restart supervisor.service# 设置开机自启systemctl enable supervisor.ser原创 2020-11-04 17:56:46 · 638 阅读 · 0 评论 -
最新最有效的prometheus+grafana+blackbox+node-exporter简单分享
Directory Structurexxxxxx:~/prometheus+grafana$ tree -L 2.├── alertmanager│ ├── alertmanager│ ├── alertmanager.log│ ├── alertmanager.yml│ ├── amtool│ ├── data│ ├── LICENSE│ ├── NOTICE│ └── template├── alertmanager-0.21.0.linux-a原创 2020-10-28 21:19:38 · 1727 阅读 · 0 评论