On the right, there’s an interactive Ubuntu terminal where you’ll run commands in this tutorial. To run commands, you can either click them or type them. Try it out:
echo "Hello, world!"
You’ll also see tabs for the Sensu web UI and Grafana, which you’ll use later in this tutorial.
To get started with Sensu Go, let’s deploy a common Sensu stack. Run:
cd sandbox/sensu-go-docker && docker-compose up -d
This deploys these four stack components in Docker containers:
- A Sensu backend
- The Nginx web server that you’ll monitor
- InfluxDB, which you’ll use to store metrics
- Grafana, which you’ll use for visualization
We’ll cover InfluxDB and Grafana later. For now, to see the four Docker containers, run:
docker container list
You can also check out the Docker Compose file in the Sensu Go Docker sandbox.
Log in to the web UI
The Sensu web UI provides a unified view of your cloud and server monitoring events with powerful, user-friendly filtering tools that help operators respond to alerts efficiently.
To open the web UI in a new browser tab, select the Sensu web UI tab in the terminal. Log in with Sensu’s default admin credentials:
Right now, the web UI should be a blank slate: no incidents or entities. Select the ☰ icon in the web UI to explore the events, entities, and checks pages.
Next: Create a monitoring event