Last active
August 29, 2015 14:25
-
-
Save nqn/15204295fed66dabaea9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup influx, grafana and collector | |
dcos marathon app add mesos-usb/mesosphere/marathon/monitoring/1-influxdb.json | |
dcos marathon app add mesos-usb/mesosphere/marathon/monitoring/2-nibbler.json | |
dcos marathon app add mesos-usb/mesosphere/marathon/monitoring/3-grafana.json | |
# Run workload on 0.2 cpu cores | |
mesos-execute --master=127.0.1.1:5050 --name=load_1 --command="dd if=/dev/zero of=/dev/null" --resources="cpus:0.2" | |
# Influx db db/username/password | |
mesos/root/root | |
# Grafana | |
admin/admin | |
Influx user: http://10.141.141.10:8083 | |
Influx backend: http://10.141.141.10:8086 | |
Grafana: http://10.141.141.10:3000 | |
# _SHUT DOWN_ a running framework | |
echo frameworkId=1234.1234 > fwid | |
curl -X POST http://10.141.141.10:5050/master/shutdown -d @fwid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment