PrometheusAlert安装配置
PrometheusAlert
https://blog.csdn.net/weixin_49566876/article/details/128930481
PrometheusAlert官网:
https://github.com/feiyu563/PrometheusAlert
点击查看代码
mkdir /usr/local/prometheusAlert
#打开PrometheusAlert releases页面,根据需要选择需要的版本下载到本地解压并进入解压后的目录
如linux版本(https://github.com/feiyu563/PrometheusAlert/releases/download/v4.9.1/linux.zip)
wget https://github.com/feiyu563/PrometheusAlert/releases/download/v4.9.1/linux.zip && unzip linux.zip && cd /usr/local/prometheusAlert/
chmod a+x "PrometheusAlert"
#运行PrometheusAlert
./PrometheusAlert (#后台运行请执行 nohup ./PrometheusAlert &)
#启动后可使用浏览器打开以下地址查看:http://127.0.0.1:8830
密码:prometheusalert
默认登录帐号和密码在app.conf中有配置
# 使用 supervisor 来守护启动。
# 配置参考 example/supervisor/prometheusalert.ini
# 如果需要将日志输出到控制台,请修改 app.conf 中 logtype=console
告警恢复,飞书发送模板还是红色的 #354
https://github.com/feiyu563/PrometheusAlert/issues/354

浙公网安备 33010602011771号