Add a service
A service is a program on your server that should always be running, such as nginx, MySQL, Postgres or Redis.
Steps
- Open Services in the dashboard and choose Add a service.
- If the agent is already installed on the machine that runs the service, pick that server. If not, choose Install the agent on that host and follow the short dialog.
- Fill in the service name and, if it listens on the network, its port or URL.
- Save. The row shows Waiting for first result until the agent picks up the change (usually within a minute), then shows the service as running or stopped.
- Turn on the Service stopped alert template so you hear about it (Alerts).
Something went wrong?
Stuck on Waiting for first result: run yuktiops-agent status on that server and check the service name matches what systemctl list-units shows. See No data.
Monitor Docker containers without a server
If you only use Docker, run the agent as a container with the Docker socket mounted. See Docker on Linux.
Still stuck? Contact us and include the output of sudo yuktiops-agent doctor.