[pkg-go] Bug#921739: amtool: error: comment required by config
Santiago Vila
sanvila at unex.es
Thu Feb 14 09:10:47 GMT 2019
On Sat, Feb 09, 2019 at 12:06:50PM +0000, MartÃn Ferrari wrote:
> Hi Santiago,
>
> On 08/02/2019 17:35, Santiago Vila wrote:
>
> > File /usr/share/doc/prometheus-alertmanager/README.md.gz suggests doing this:
> >
> > amtool silence add alertname=Test_Alert
> >
> > but this is what I get:
> >
> > amtool: error: comment required by config
>
> I don't know how that is configured, but you just need to add a comment
> to the silence like '--comment="testing silences"'
Ok, that worked, but I think it would be much better if such option
could be added to the README.md.gz somewhere, or a README.Debian, or
something. That will avoid searches in search engines, stackoverflow
or the Debian BTS.
There is yet another thing I didn't find anywhere and I would like to
see documented somewhere in /usr/share/doc/prometheus-alertmanager:
How do I add a silence which expires after one hour, for example?
(The web UI allowed this, and in some sense it's basic stuff, so I
think it should be documented as well).
(Can you tell upstream to extend the README.md a little bit?)
Thanks.
More information about the Pkg-go-maintainers
mailing list