Was this page helpful?
The start-all.sh Command¶
Scylla Monitoring Stack is container-based. The simplest way to configure and start the monitoring is with the start-all.sh command.
The start-all.sh script is a small utility that sets the dashboards and starts the containers with the appropriate configuration.
General Options¶
-h Help, Print the help, and exit.
–version print the current Scylla-Monitoring stack version, and exit.
-l local. Use the host network. This is important when one of the containers needs access to an application that runs on the host.
For example, when Scylla Manager runs on the localhost next to the monitoring.
Because the monitoring applications run inside containers by default, their local IP address (127.0.0.1) is the container’s local IP address.
You cannot use port mapping when using the -l
flag
-A bind-to-ip-address Bind the listening-address to an explicit IP address.
-D encapsulate docker param Allows passing additional parameters to all the docker containers. For example, to start the monitoring containers with a specific network driver use -D “–net=network_name”.
–auto-restart When set, Docker will automatically restart all the services inside the containers in case of a failure.
–compose This is an experimental option. When set, it initiates a two-stage process. Firstly, a docker-compose.yml
file is created along with an .env
file. Following this, the script executes docker-compose up
. Please note that having docker-compose is a prerequisite.
–scrap scrap-interval Allows changing Prometheus scrap interval.
Alert Manager¶
The Alertmanager handles the alerts and takes the following parameters:
-m alertmanager-port Override the default Alertmanager port, this is done using port mapping, note that port mapping does not work when using the host network.
-r alert-manager-config By default, the Alertmanager takes its configuration from rule_config.yml
in the prometheus
directory. The -r
flag overrides it to another file.prometheus
-C alertmanager-commands Allows adding an arbitrary command line to the alertmanager container starting command.