Prints Alertmanager's current alerts as a JSON array, ideal for piping into jq or other tooling. The simple output mode is the default; extended adds annotation fields. The alertmanager URL comes from --alertmanager.url or the amtool config file.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.