Skip to content

woodliu/alertmanagerProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Update Alertmanager rules through update the mounted rule files. This tool is only for update one rule group , can't add new rule group.

Work Flow

  • Step 1: Modify the rules files;
  • Step 2: Reboot container.

Usage

  • Start server example

    ./server --rulefiles="/home/rulefiles/*.rule.yaml"
    
  • Start client example

    ./client --rulefile=="/home/updatefile.yaml" -t "10.10.10.1:2000"
    

    Get info:

    ./client --show all -t "10.10.10.1:2000"
    ./client --show ${rule_group_name} -t "10.10.10.1:2000"
    

About

Remotely modify alertmanager rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages