DirectAdmin 1.61.0 RC1 netdata issues

DRKT

Verified User
Joined
Oct 8, 2003
Messages
192
i see... after execute cron... /opt/netdata/etc/netdata/netdata.conf reset... not have config data in netdata.conf... if i put your config manually:

[web]
bind to = unix:/var/run/netdata/netdata.sock
[global]
process scheduling policy = keep
OOM score = keep

work fine... but this file reset each cron...
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
192
and now... 22h47 i reinstall netdata and i have this message:

Starting netdata using command 'service netdata start'
[/opt/netdata]# service netdata start
[/opt/netdata]# /sbin/service netdata start
Starting netdata.../opt/netdata/usr/sbin/netdata: line 4: /opt/netdata/bin/srv/netdata: No such file or directory


If I replace this /opt/netdata/bin/srv/netdata file with the old one (taken on another server) it works. but during the reinstallation it does not work.

....
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,629
Location
LT, EU

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,686
Location
Maastricht
I've installed this via ./build netdata on a VPS and that looked fine.

However, I can't find it anywhere in enhanced skin, it's only working in Evo skin.
How can I get this to work under enhanced skin?
I already restarted the service, which did not help.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,686
Location
Maastricht
See release thread, 3 things are not working in Enhanced skin including netdata.

Also I've seen this being added in /etc/csf/csf.pignore:
Code:
exe:/opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin
exe:/opt/netdata/bin/srv/netdata
exe:/opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin
exe:/opt/netdata/bin/bash
you might want to change this to account netdata like this:
Code:
user:netdata
which will catch all of the above I think.
or else add this one because this will also complaint in csf:
Code:
exe:/usr/bin/python2.7
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
192
After (cron update) the: netdata.conf reset and only this in this file:
============
# netdata can generate its own config which is available at 'http://<netdata_ip>/netdata.conf'
# You can download it with command like: 'wget -O /opt/netdata/etc/netdata/netdata.conf http://localhost:19999/netdata.conf'
============
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,629
Location
LT, EU
After (cron update) the: netdata.conf reset and only this in this file:
============
# netdata can generate its own config which is available at 'http://<netdata_ip>/netdata.conf'
# You can download it with command like: 'wget -O /opt/netdata/etc/netdata/netdata.conf http://localhost:19999/netdata.conf'
============
Would it be possible to get access to the system? The check would be free of charge.
 

vancanneyt

Verified User
Joined
Dec 13, 2012
Messages
88
On CentOS 8, the link in the Evolution skin disappears each time after the nightly update, I need to reinstall Netdata each time to make the link visible again in the DirectAdmin menu but after the nightly update it always disappears (but Netdata itself is still running because it still shows up in the processes and keeps monitoring the server and even mails me when the backup is running and the disk backlog is in warning). Also, the nightly cron doesn't run the day after.
So in short: Build netdata, works for a day perfectly. after nightly update cron the link disappears in DA and isn't accessible directly, cron doesn't do the nightly update the day after but netdata still runs.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,629
Location
LT, EU
On CentOS 8, the link in the Evolution skin disappears each time after the nightly update, I need to reinstall Netdata each time to make the link visible again in the DirectAdmin menu but after the nightly update it always disappears (but Netdata itself is still running because it still shows up in the processes and keeps monitoring the server and even mails me when the backup is running and the disk backlog is in warning). Also, the nightly cron doesn't run the day after.
So in short: Build netdata, works for a day perfectly. after nightly update cron the link disappears in DA and isn't accessible directly, cron doesn't do the nightly update the day after but netdata still runs.

It's mentioned just 1 post above :)

Looks like a bug which should be fixed pretty soon: https://github.com/netdata/netdata/issues/8531
 

Don Daniello

Verified User
Joined
Jul 16, 2009
Messages
9
Trying to add the node to netdata.cloud gives this error:
Code:
2020-06-03 06:17:29: netdata INFO  : ACLK_Main : Attempting to establish the agent cloud link
2020-06-03 06:17:29: netdata INFO  : ACLK_Main : Retrieving challenge from cloud: app.netdata.cloud 443 /api/v1/auth/node/UUIDHERE/challenge
2020-06-03 06:17:29: netdata INFO  : ACLK_Main : aclk_send_https_request GET
2020-06-03 06:17:29: netdata ERROR : ACLK_Main : Libwebsockets: SSL error: unable to get local issuer certificate (preverify_ok=0;err=20;depth=1)
 (errno 2, No such file or directory)
2020-06-03 06:17:29: netdata ERROR : ACLK_Main : Challenge failed:
2020-06-03 06:17:29: netdata INFO  : ACLK_Main : Retrying to establish the ACLK connection in 4.630 seconds

I'm suspecting that maybe it can't find proper CA root certs, maybe because it's in /opt/netdata? I tried symlinking /etc/pki into /opt/netdata/etc/pki but that didn't change anything. Running on CloudLinux 7.
 
Top