# alertmanager-wechatrobot-webhook **Repository Path**: show103/alertmanager-wechatrobot-webhook ## Basic Information - **Project Name**: alertmanager-wechatrobot-webhook - **Description**: prometheus使用企业微信webhoook告警通知 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 13 - **Created**: 2024-06-25 - **Last Updated**: 2024-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Prometheus webhook微信告警通知 ## 二进制安装alertmanager-wechatrobot-webhook ``` mkdir /opt/prometheus cd /opt/prometheus git clone https://gitee.com/linge365/alertmanager-wechatrobot-webhook.git cd alertmanager-wechatrobot-webhook mv alertmanager-wechatrobot-webhook.service /etc/systemd/system/ useradd -M -s /usr/sbin/nologin prometheus chown -R prometheu.prometheus /opt/prometheus ``` ## 启动 ``` systemctl start alertmanager-wechatrobot-webhook ``` ## alertmanager配置 ``` receivers: - name: "wechat" webhook_configs: - url: 'http://ip:8999/webhook?key=企业微信webhook的key' send_resolved: true ```