Control Web Panel

WebPanel => Addons => Topic started by: ring_c on April 30, 2019, 05:11:23 AM

Title: netdata installed by itself???
Post by: ring_c on April 30, 2019, 05:11:23 AM
Hi there,


I'm running CWP7pro and yesterday I've noticed there's a "Graphs" entry in the menu, which I didn't notice before.
I clicked it and there was a sub-entry named "netdata". Clicking it actually resulted in nothing. I mean, there was no data showing except for the headline "netdata".


BUT! Ever since I'm being bombarded with emails from netdata and have noticed a high resources usage. Checking the processes running, I see many netdata processes (/usr/libexec/netdata/...) so I went checking this folder and indeed its date is of yesterday at the time I've accessed this sub menu.



A. How do I uninstall this ASAP?
B. How come it was installed without asking my permission???


I'm totally pissed off currently. Would appreciate a prompt solution please.
Title: Re: netdata installed by itself???
Post by: Igor S. on April 30, 2019, 09:01:57 AM
Hi,

To uninstall netdata please use this command, it will require some confirmation
Code: [Select]
/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yes
From the script /scripts/install_netdata
Title: Re: netdata installed by itself???
Post by: ring_c on April 30, 2019, 09:15:33 AM
What more worries me is how was it installed by itself?
Title: Re: netdata installed by itself???
Post by: puterfixer on May 03, 2019, 06:34:30 AM
Apparently it is an undocumented feature that, when you click on the "Graphs" menu entry, it installs Netdata. No notification, no warning, no confirmation prompt, it just installs Netdata. And runs in, which means:
- it will now have another service adding to the load of your system
- it will spam you with e-mails every time your server does a daily backup
- it will add a public web interface to display all the server's stats and graphs, with no authentication, and showing all the configuration of your server including mount points and account usernames

Also it is now no longer possible to get rid of it. Sure, you can run the uninstaller, but then somehow CWP remembers that it's supposed to have it running, so every night when it checks for updated packages it will re-install Netdata for you.

Very comforting to know that you're in control of your server, and the software you use is properly documented and doesn't do stuff you're not aware of.

See my thread on the same topic which also is receiving "solutions" which ask ME to fix crap which shouldn't be there in the first place.

http://forum.centos-webpanel.com/how-to/how-do-i-get-rid-of-netdata/
Title: Re: netdata installed by itself???
Post by: ring_c on May 03, 2019, 07:52:36 AM
Apparently it is an undocumented feature that, when you click on the "Graphs" menu entry, it installs Netdata. No notification, no warning, no confirmation prompt, it just installs Netdata. And runs in, which means:
Unfortunately, this seems to be correct.
By the way, I've opened a ticket to the support on APR 30th, and apart from telling me they're moving my ticket to the DEV team - nothing happened. No one cam back to me.



- it will now have another service adding to the load of your system
- it will spam you with e-mails every time your server does a daily backup

I'd wish it'd be only for backups. It's for almost any hiccups the servers is making. After a few hours I had TENS of email for each variation! Meaning a total of hundreds of emails!

- it will add a public web interface to display all the server's stats and graphs, with no authentication, and showing all the configuration of your server including mount points and account usernames

Well, I was afraid of that myself, but apparently it'll only work on the device you're logged to your CWP. I've tried from other devices where I wasn't logged to my CWP, and it didn't work.

Also it is now no longer possible to get rid of it. Sure, you can run the uninstaller, but then somehow CWP remembers that it's supposed to have it running, so every night when it checks for updated packages it will re-install Netdata for you.

Well, you're wrong here. I've used Igor's command, and ever since it didn't come back.
Title: Re: netdata installed by itself???
Post by: puterfixer on May 03, 2019, 11:00:49 AM
Have you tried accessing http://yourserverip:19999/ from another browser/device or in incognito mode, where you're not CWP authenticated? You might be in for a surprise.

I uninstalled it a few times already - came back every time during the night, when CWP updated itself. In the end I resolved with keeping it installed but turned off, binding only on localhost, and disabling all features in the (huge) configuration file. But it should not exist at all.
Title: Re: netdata installed by itself???
Post by: ring_c on May 04, 2019, 06:07:14 PM
Have you tried accessing http://yourserverip:19999/ (http://yourserverip:19999/) from another browser/device or in incognito mode, where you're not CWP authenticated? You might be in for a surprise.

I uninstalled it a few times already - came back every time during the night, when CWP updated itself. In the end I resolved with keeping it installed but turned off, binding only on localhost, and disabling all features in the (huge) configuration file. But it should not exist at all.
Indeed. I'm trying it every day just to make sure.
Still didn't come back.
I also make sure not to click the "graphs" section in CWP...
Title: Re: netdata installed by itself???
Post by: ejsolutions on May 04, 2019, 06:54:01 PM
Well now I'm really pissed off! Please see the thread that I'm about to post..
Title: Re: netdata installed by itself???
Post by: Igor S. on May 09, 2019, 11:20:47 AM
Well now I'm really pissed off! Please see the thread that I'm about to post..

To uninstall netdata please use this command, it will require some confirmation
Code: [Select]
/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yesFrom the script /scripts/install_netdata
Title: Re: netdata installed by itself???
Post by: ring_c on May 10, 2019, 06:23:07 AM
Well now I'm really pissed off! Please see the thread that I'm about to post..

To uninstall netdata please use this command, it will require some confirmation
Code: [Select]
/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yesFrom the script /scripts/install_netdata
There should be an easy way to uninstall netdata from the GUI.
Though, it shouldn't have been installed without asking in the first place!
Title: Re: netdata installed by itself???
Post by: Igor S. on May 10, 2019, 08:22:15 AM
It's easy way ;)