CmdID

CmdID / Commands

promtool

Tooling for the Prometheus monitoring system. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Check if the configuration files are valid or not (if present report errors)

promtool check config config_file.ymlIdentify

Check if the rule files are valid or not (if present report errors)

promtool check rules rules_file.ymlIdentify

Pass Prometheus metrics over stdin to check them for consistency and correctness

curl --silent http://example.com:9090/metrics/ | promtool check metricsIdentify

Trips 1 Sigma rule: lowCurl Usage on Linux by Nasreddine Bencherchali (Nextron Systems)

Run unit tests for rules config

promtool test rules test_file.ymlIdentify