The monitoring plugin for the DC/OS command line interface (DC/OS CLI) utility allows you to manage the monitoring stack running on a DC/OS cluster.
For instructions on how to install the DC/OS Monitoring CLI look at getting started page.
To list available commands, run dcos monitoring
with no parameters:
$ dcos monitoring
Manage DC/OS monitoring stack
Usage:
dcos monitoring [command]
Commands:
debug
Debug the dcos-monitoring service
describe
Show the configuration for dcos-monitoring
endpoints
Show the endpoints for dcos-monitoring
plan
Manage plans for dcos-monitoring
pod
Manage pods for dcos-monitoring
prometheus
Query the Prometheus endpoint
update
Manage updates for dcos-monitoring
Options:
-h, --help
help for monitoring
Use "dcos monitoring [command] --help" for more information about a command.
Specify the monitoring endpoint used by the monitoring CLI
To interact with your monitoring, you may need to set the monitoring endpoint URL
By default, the monitoring CLI assumes the monitoring stack is accessible using the address <cluster-url>/service/dcos-monitoring
.
To set another address, use dcos config set monitoring.url
:
dcos config set monitoring.url <cluster-url>/service/custom-dcos-monitoring-name