[pkg-go] Bug#921739: amtool: error: comment required by config
Santiago Vila
sanvila at unex.es
Fri Feb 8 17:35:32 GMT 2019
Package: prometheus-alertmanager
Version: 0.15.3+ds-2
Hello again.
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
Trying to see what's wrong, I tried using amtool 0.16.1, downloaded
from github:
$ /tmp/amtool silence add alertname=Test_Alert
amtool: error: required flag --alertmanager.url not provided
Ok, apparently it needs the url of the current alertmanager instance,
let's try this then:
$ /tmp/amtool --alertmanager.url=http//:localhost:9093 silence add alertname=Test_Alert
Output:
amtool: error: comment required by config
So, back to square one. Is there a trick to make this work? Maybe I'm
missing something, but I don't know what it could be.
I would love to use the web UI, but it's gone:
The Debian package of the alertmanager does not include a web
application.
Is this a Debian-specific change? If yes, could we have the web UI back?
In my opinion, it was better than nothing.
Thanks.
More information about the Pkg-go-maintainers
mailing list