summaryrefslogtreecommitdiffstats
path: root/installer/UNINSTALL.md
blob: 4f9a84d0389874c8c5620cd17626a36c387319b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Uninstalling netdata

## netdata was installed from source (or `kickstart.sh`)

The script `netdata-installer.sh` generates another script called `netdata-uninstaller.sh`.

To uninstall netdata, run:

```
cd /path/to/netdata.git
./netdata-uninstaller.sh --force
```

The uninstaller will ask you to confirm all deletions.

## netdata was installed with `kickstart-static64.sh` package

Stop netdata with one of the following:

- `service netdata stop` (non-systemd systems)
- `systemctl stop netdata` (systemd systems)

Disable running netdata at startup, with one of the following (based on your distro):

- `rc-update del netdata`
- `update-rc.d netdata disable`
- `chkconfig netdata off`
- `systemctl disable netdata`

Delete the netdata files:

1. `rm -rf /opt/netdata`
2. `groupdel netdata`
3. `userdel netdata`
4. `rm /etc/logrotate.d/netdata`
5. `rm /etc/systemd/system/netdata.service` or `rm /etc/init.d/netdata`, depending on the distro.