-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Description
Expected Behavior
Sensu backend entity in the dashboard has "Ok" status
Current Behavior
Sensu backend entity in the dashboard has "Unknown" status
Possible Solution
Steps to Reproduce (for bugs)
- Create a test environment using the docker-compose configuration:
services:
sensu-backend:
image: sensu/sensu:6.13
command: sensu-backend start --state-dir /var/lib/sensu/sensu-backend
hostname: sensu-backend
ports:
- "3000:3000" # Web UI
- "8080:8080" # API
- "8081:8081" # Agent API
volumes:
- sensu-backend-data:/var/lib/sensu/sensu-backend
environment:
- SENSU_BACKEND_CLUSTER_ADMIN_USERNAME=admin
- SENSU_BACKEND_CLUSTER_ADMIN_PASSWORD=P@ssw0rd!
- SENSU_BACKEND_API_URL=http://localhost:8080
- SENSU_BACKEND_DASHBOARD_URL=http://localhost:3000
healthcheck:
test: ["CMD", "wget", "-S", "http://localhost:8080/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 5s
sensu-agent:
image: sensu/sensu:6.13
command: sensu-agent start --backend-url ws://sensu-backend:8081 --subscriptions system
hostname: sensu-agent
depends_on:
sensu-backend:
condition: service_healthy
environment:
- SENSU_AGENT_NAME=sensu-agent
- SENSU_AGENT_NAMESPACE=default
volumes:
sensu-backend-data:
Context
Your Environment
- Sensu version used (sensuctl, sensu-backend, and/or sensu-agent): 6.13.1
- Installation method (packages, binaries, docker etc.): docker-compose
- Operating System and version (e.g. Ubuntu 14.04): docker-desktop
Metadata
Metadata
Assignees
Labels
No labels