Stopping, starting, checking status of the service
While managing KUMA, you may need to perform the following operations.
- Temporarily stop the service. For example, when restoring the Core from backup, or to edit service settings related to the operating system.
- Start the service.
- Check the status of the service.
The "Commands for stopping, starting, and checking the status of a service" table lists commands that may be useful when managing KUMA.
Commands for stopping, starting, and checking the status of a service
Service
|
Stop service
|
Start service
|
Check the status of the service
|
Core
|
sudo systemctl stop kuma-core.service
|
sudo systemctl start kuma-core.service
|
sudo systemctl status kuma-core.service
|
Services with an ID:
- collector
- correlator
- storage
|
sudo systemctl stop kuma-<collector/correlator/storage>-< service ID >.service
|
sudo systemctl start kuma-<collector/correlator/storage>-< service ID >.service
|
sudo systemctl status kuma-<collector/correlator/storage>-< service ID >.service
|
Services without an ID:
- kuma-grafana.service
- kuma-mongodb.service
- kuma-victoria-metrics.service
- kuma-vmalert.service
|
sudo systemctl stop kuma-<grafana/victoria-metrics/vmalert>.service
|
sudo systemctl start kuma-<grafana/victoria-metrics/vmalert>.service
|
sudo systemctl status kuma-<grafana/victoria-metrics/vmalert>.service
|
Windows agents
|
To stop an agent service:
- Copy the agent ID in the KUMA Console.
- Connect to the host on which you want to start the KUMA agent service.
- Run PowerShell as a user with administrative privileges.
- Run the following command in PowerShell:
Stop-Service -Name "WindowsAgent-< agent ID >"
|
To start an agent service:
- Copy the agent ID in the KUMA Console.
- Connect to the host on which you want to start the KUMA agent service.
- Run PowerShell as a user with administrative privileges.
- Run the following command in PowerShell:
Start-Service -Name "WindowsAgent-< agent ID >"
|
To view the status of an agent service:
- In Windows, go to the Start → Services menu, and in the list of services, double-click the relevant KUMA agent.
- This opens a window; in that window, view the status of the agent in the Service status field.
|
Page top
[Topic 270283]