Skip to main content

Service Control

tip

What You'll Learn

How to start, stop, restart, and reload the Netdata Agent across different operating systems and service management systems.

The Netdata Agent automatically starts at boot after installation.

important

Important

In most cases, you need to restart the Netdata service to apply changes to configuration files. Health configuration files, which define alerts, are an exception. They can be reloaded without restarting.

warning

Service Restart Impact

Restarting the Netdata Agent will cause temporary gaps in your collected metrics. This occurs while the netdata process reinitializes its data collectors and database engine.

UNIX

Using systemctl, service, or init.d

ActionSystemdNon-systemd
startsudo systemctl start netdatasudo service netdata start
stopsudo systemctl stop netdatasudo service netdata stop
restartsudo systemctl restart netdatasudo service netdata restart

Using netdata

Use the netdata command, typically located at /usr/sbin/netdata, to start the Netdata daemon.

sudo netdata

If you start the daemon this way, close it with sudo killall netdata.

Using netdatacli

The Netdata Agent also comes with a CLI tool capable of performing shutdowns. Start the Agent back up using your preferred method listed above.

sudo netdatacli shutdown-agent

Reload health

No need to restart the Netdata Agent after modifying health configuration files (alerts). Use netdatacli to avoid metric collection gaps.

sudo netdatacli reload-health

Windows

note

Administrator Access Required

You will need to run PowerShell as administrator.

Using Windows Services GUI

Manage Through Task Manager

If you prefer to manage the Agent through the GUI, you can start-stop and restart the Netdata service from the "Services" tab of Task Manager.


Using PowerShell Commands

  • To start Netdata, run Start-Service Netdata.
  • To stop Netdata, run Stop-Service Netdata.
  • To restart Netdata, run Restart-Service Netdata.

Quick Reference

UNIX Commands Summary

TaskSystemdNon-systemdDirect Command
Startsudo systemctl start netdatasudo service netdata startsudo netdata
Stopsudo systemctl stop netdatasudo service netdata stopsudo killall netdata
Restartsudo systemctl restart netdatasudo service netdata restartStop + Start
Reload Healthsudo netdatacli reload-healthsudo netdatacli reload-healthsudo netdatacli reload-health
Shutdownsudo netdatacli shutdown-agentsudo netdatacli shutdown-agentsudo netdatacli shutdown-agent

Windows Commands Summary

TaskPowerShell CommandGUI Location
StartStart-Service NetdataTask Manager > Services > Netdata
StopStop-Service NetdataTask Manager > Services > Netdata
RestartRestart-Service NetdataTask Manager > Services > Netdata

Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.