1

Topic: How to remove/uninstall Netdata?

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
0.9.9
- Deployed with iRedMail Easy or the downloadable installer?
Easy
- Linux/BSD distribution name and version:
Ubuntu 18.04.02
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
PostgreSQL
- Web server (Apache or Nginx):
Nginx
- Manage mail accounts with iRedAdmin-Pro?
Nope
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, i need uninstall Netdata, how to uninstall it?

Thanks.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How to remove/uninstall Netdata?

I too wanted to remove netData (or at least stop the constant email alerts it was triggering to my postmaster account), so I Google'd it, and here's what I found.

https://github.com/netdata/netdata/issues/917


My postmaster account had 5k unread emails in it all from netdata complaining about some UDP issues.
I had to create the [health] section in the netdata.conf file and then restart the netdata service:
sudo service netdata restart

I suppose since it's running as a service, you could also stop it with:
sudo service netdata stop

However, I don't know what it does or what it's for - I just know I wanted the health notifications to stop being sent in my particular situation. Good luck.

3

Re: How to remove/uninstall Netdata?

davidzamoraruiz1988 wrote:

Hi, i need uninstall Netdata, how to uninstall it?

You can remove files/directories below:

- /opt/netdata
- /var/log/netdata
- /etc/netdata
- systemd service file under /lib/system/ and /etc/systemd/.

4

Re: How to remove/uninstall Netdata?

I do this steps for check in first and last operations, and it's work for me on CentOS

#Check if netdata is deployed
ls -lh /usr/sbin/netdata /etc/netdata /usr/share/netdata /usr/libexec/netdata /var/cache/netdata /var/log/netdata /opt/netdata
ps -ef | grep netdata

#Uninstall Netdata
rm -Rf /usr/sbin/netdata
rm -Rf /etc/netdata
rm -Rf /usr/share/netdata
rm -Rf /usr/libexec/netdata
rm -Rf /var/cache/netdata
rm -Rf /var/log/netdata
rm -Rf /opt/netdata
userdel netdata

#Desable service and deny re enable if server reboot
service netdat status
systemctl mask netdata
systemctl disable netdata
service netdat status

#Check uninstall
ps -ef | grep netdata

ls -lh /usr/sbin/netdata /etc/netdata /usr/share/netdata /usr/libexec/netdata /var/cache/netdata /var/log/netdata /opt/netdata