alertmanager irc relay:使用Webhooks将Prometheus警报发送到IRC 源码

visa_24398 25 0 ZIP 2021-03-07 20:03:18

Alertmanager IRC中继 Alertmanager IRC Relay是将警报中继到IRC的机器人。 使用从Prometheus接收警报,并将警报中继到IRC通道。 配置和运行机器人 要配置和运行机器人,您需要创建一个YAML配置文件并将其传递给服务。 在没有配置的情况下运行服务将使用默认的测试值并连接到默认的IRC通道,您可能不想这样做。 配置示例: # Start the HTTP server receiving alerts from Prometheus Webhook binding to # this host/port. # http_host: localhost http_port: 8000 # Connect to this IRC host/port. # # Note: SSL is enabled by default, use "irc_use_ssl: no" to disable. irc_host: irc.example.com irc_port: 7000 # Optionally set the server password

用户评论
请输入评论内容
评分:
暂无评论