shush

command module
v0.0.0-...-f806273 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 2 Imported by: 0

README

Shush

Use templates to silence Alert Manager. Currently behaves very similarly to amtool import, but with yaml and some initial templating support

Release Build Status Mergify Status Go Gitpod Ready-to-Code

Usage

shush silence -l # to list silences
shush silence -y exampleSilence.yaml # to create a silence
shush silence -y exampleSilence.yaml -c ABC-123 # to create a silence with a change reference
shush unsilence -i 1f5247d0-3f95-452a-9da2-3ab48c00c39d # to expire a silence

It uses http://localhost as the alertmanager URL by default. You can override this by:

  • adding --url http://example.org
  • setting the environment variable SHUSH_URL=http://example.net
  • writing url: http://example.com to one of ./.shush.yml, ~/.shush.yml, ~/.config/.shush.yml

License

License

Documentation

Overview

Copyright © 2021 alicekaerast

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL