Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question for the Netdata-Dashboard #6037

Closed
zhangsimingshannonai opened this issue May 17, 2019 · 20 comments
Closed

Question for the Netdata-Dashboard #6037

zhangsimingshannonai opened this issue May 17, 2019 · 20 comments
Assignees

Comments

@zhangsimingshannonai
Copy link

zhangsimingshannonai commented May 17, 2019

On Ubuntu 16.04 LTS
Hi I'm at a loss......My /etc/netdata/netdata.conf just don't include the part "#Per chart configuration"......how can I order my sections on dashboard?

Further more,On my dashboard,I can't see suboptions by click mainoptions?It's really inconvenient ,how can I fix it?
Waiting for any reply. Thank you very much~

@zhangsimingshannonai
Copy link
Author

Here's the picture for the second question

Normal would be:
image

But my dashborad is:
image

@vlvkobal
Copy link
Contributor

How did you install netdata?

@zhangsimingshannonai
Copy link
Author

How did you install netdata?

By "sh kickstart.sh "

@vlvkobal
Copy link
Contributor

Did you change the default netdata configuration? What errors do you have in error.log?

@ilyam8
Copy link
Member

ilyam8 commented May 17, 2019

@zhangsimingshannonai i see Nvidia-GPU on the top, did you change the priority of the nvidia_smi collector?

@netdatabot netdatabot added needs triage Issues which need to be manually labelled no changelog Issues which are not going to be added to changelog labels May 17, 2019
@zhangsimingshannonai
Copy link
Author

@zhangsimingshannonai i see Nvidia-GPU on the top, did you change the priority of the nvidia_smi collector?

Thanks for your reply,here's the nvidia configuration file:

zhangsiming@gpuserver001:/etc/netdata/python.d$ pwd
/etc/netdata/python.d
zhangsiming@gpuserver001:/etc/netdata/python.d$ tail -5 nv.conf
retries      : 10
priority     : 20000

legacy       : False
nvMemFactor  : 1

The moment I add the Nvidia plugin,all settings is default,I didn't change anything.I don't know why Nvidia-GPU part is on the top of dashboard.....

@zhangsimingshannonai
Copy link
Author

Did you change the default netdata configuration? What errors do you have in error.log?

Thanks for you reply~
Here's the error log:

zhangsiming@gpuserver001:/etc/netdata/python.d$ head /var/log/netdata/error.log
2019-05-17 08:08:51: tc-qos-helper.sh: WARNING: FireQoS is not installed on this system. Use FireQoS to apply traffic QoS and expose the class names to netdata. Check https://github.com/netdata/netdata/tree/master/collectors/tc.plugin#tcplugin
2019-05-17 08:08:51: tc-qos-helper.sh: WARNING: Cannot find file '/usr/lib/netdata/conf.d/tc-qos-helper.conf'.
2019-05-17 08:08:51: tc-qos-helper.sh: WARNING: Cannot find file '/etc/netdata/tc-qos-helper.conf'.
2019-05-17 08:45:54: alarm-notify.sh: WARNING: Cannot find file '/etc/netdata/health_alarm_notify.conf'.
2019-05-17 08:45:54: alarm-notify.sh: FATAL: All notification methods are disabled. Not sending notification for host 'gpuserver001', chart 'net_fifo.enp14s0' to 'sysadmin' for '10min_fifo_errors' = '0' for status 'CLEAR'.
2019-05-17 08:45:54: netdata ERROR : HEALTH : child pid 5715 exited with code 1.
2019-05-17 09:08:53: tc-qos-helper.sh: WARNING: FireQoS is not installed on this system. Use FireQoS to apply traffic QoS and expose the class names to netdata. Check https://github.com/netdata/netdata/tree/master/collectors/tc.plugin#tcplugin
2019-05-17 09:08:53: tc-qos-helper.sh: WARNING: Cannot find file '/usr/lib/netdata/conf.d/tc-qos-helper.conf'.
2019-05-17 09:08:53: tc-qos-helper.sh: WARNING: Cannot find file '/etc/netdata/tc-qos-helper.conf'.
2019-05-17 09:13:54: alarm-notify.sh: WARNING: Cannot find file '/etc/netdata/health_alarm_notify.conf'.

Did the line above right?should it be here? Is this involved into the question I asked?
Waiting for your reply...

@vlvkobal
Copy link
Contributor

Please do:

sudo systemctl stop netdata
sudo rm /var/log/netdata/error.log
sudo systemctl start netdata
grep "netdata ERROR" /var/log/netdata/error.log

@zhangsimingshannonai
Copy link
Author

zhangsimingshannonai commented May 17, 2019

Please do:

sudo systemctl stop netdata
sudo rm /var/log/netdata/error.log
sudo systemctl start netdata
grep "netdata ERROR" /var/log/netdata/error.log

I did what you said,but it seems that the error.log is empty.
I wait for about 5min,and the error.log is below:

zhangsiming@gpuserver003:/etc/netdata$ cat /var/log/netdata/error.log
2019-05-17 18:11:46: netdata INFO  : WEB_SERVER[static5] : POLLFD: LISTENER: client slot 3 (fd 155) from 172.31.255.230 port 52417 is idle for more than 60 seconds - closing it. 
2019-05-17 18:12:30: netdata INFO  : WEB_SERVER[static2] : POLLFD: LISTENER: client slot 2 (fd 156) from 172.31.255.230 port 52416 is idle for more than 60 seconds - closing it. 
2019-05-17 18:12:30: netdata INFO  : WEB_SERVER[static5] : POLLFD: LISTENER: client slot 2 (fd 157) from 172.31.255.230 port 52415 is idle for more than 60 seconds - closing it. 
2019-05-17 18:12:30: netdata INFO  : WEB_SERVER[static3] : POLLFD: LISTENER: client slot 2 (fd 158) from 172.31.255.230 port 52418 is idle for more than 60 seconds - closing it. 
2019-05-17 18:12:30: netdata INFO  : WEB_SERVER[static4] : POLLFD: LISTENER: client slot 3 (fd 154) from 172.31.255.230 port 52412 is idle for more than 60 seconds - closing it. 

@vlvkobal
Copy link
Contributor

vlvkobal commented May 17, 2019

Wait some time after stopping netdata. Check that netdata has really stopped with ps ax | grep netdata before deleting the log file. And let netdata run a few seconds before grepping.

@ilyam8
Copy link
Member

ilyam8 commented May 17, 2019

zhangsiming@gpuserver001:/etc/netdata/python.d$ tail -5 nv.conf
retries : 10
priority : 20000
legacy : False
nvMemFactor : 1

oh, it is third party plugin

I can't see suboptions by click mainoptions?

try to disable nv plugin and see if the issue resolved

@ilyam8
Copy link
Member

ilyam8 commented May 17, 2019

I can't see suboptions by click mainoptions?

i can reproduce it adding % to the family @vlvkobal

random %

CHARTS = {
    'random': {
        'options': [None, 'A random number', 'random number', 'random %', 'random', 'line'],
        'lines': [
            ['random1', None, 'incremental']
        ]
    }
}

@ilyam8 ilyam8 added area/web bug and removed needs triage Issues which need to be manually labelled no changelog Issues which are not going to be added to changelog labels May 17, 2019
@ilyam8
Copy link
Member

ilyam8 commented May 17, 2019

i guess this is the bug in the web part,not sure tho

@zhangsimingshannonai
Copy link
Author

I disable nv plugin by :

zhangsiming@gpuserver002:/etc/netdata$ sed -n '89p' netdata.conf 
	python.d = no
zhangsiming@gpuserver002:/etc/netdata$ sudo systemctl restart netdata

And it works!!!
image
I think it's a bug on NVIDIA-Plugin,thanks so much for your answer!!!!

Now,what can I do to fix the bug?I need the nv plugin~

@ilyam8
Copy link
Member

ilyam8 commented May 17, 2019

zhangsiming@gpuserver002:/etc/netdata$ sed -n '89p' netdata.conf
python.d = no

you disabled the whole python.d.plugin (all python modules)

Now,what can I do to fix the bug?I need the nv plugin~

Open an issue in the nv plugin repo. Give me the link to the nv plugin repo.

And we need to fix the bug in the netdata - % sign in the family (submenu thing) breaks the dashboard

@gmosx gmosx assigned VLegakis and unassigned gmosx May 17, 2019
@cakrit
Copy link
Contributor

cakrit commented May 17, 2019

https://stackoverflow.com/questions/21802469/javascript-syntax-error-unrecognized-expression-when-using-in-id

I couldn't find where the change would need to be made though.

@zhangsimingshannonai
Copy link
Author

zhangsiming@gpuserver002:/etc/netdata$ sed -n '89p' netdata.conf
python.d = no

you disabled the whole python.d.plugin (all python modules)

Now,what can I do to fix the bug?I need the nv plugin~

Open an issue in the nv plugin repo. Give me the link to the nv plugin repo.

And we need to fix the bug in the netdata - % sign in the family (submenu thing) breaks the dashboard

I use this “https://github.com/coraxx/netdata_nv_plugin”
I install Nvidia-plugin by

zhangsiming@gpuserver001:/netdata$ cat nvidia-smi-install.sh 
#!/bin/bash
cd /tmp/
git clone https://github.com/Splo0sh/netdata_nv_plugin --depth 1
sudo cp netdata_nv_plugin/nv.chart.py /usr/libexec/netdata/python.d/
sudo cp netdata_nv_plugin/python_modules/pynvml.py /usr/libexec/netdata/python.d/python_modules/
sudo cp netdata_nv_plugin/nv.conf /etc/netdata/python.d/
sudo mv /usr/libexec/netdata/python.d/nv.chart.py /usr/libexec/netdata/python.d/Nvidia-GPU.chart.py
sudo systemctl restart netdata

@ilyam8
Copy link
Member

ilyam8 commented May 20, 2019

@zhangsimingshannonai

fix for nv_plugin:
#2249

You need to fix it by hand, it seems author is not interested in fixing the bug


also check nvidia_smi collector, it is supported by us

@zhangsimingshannonai
Copy link
Author

@zhangsimingshannonai

fix for nv_plugin:
#2249

You need to fix it by hand, it seems author is not interested in fixing the bug

also check nvidia_smi collector, it is supported by us

Thanks ,I'll see it later.

@cakrit
Copy link
Contributor

cakrit commented Jul 25, 2019

As explained in #6531 , we'll address the issue with the special characters in the configuration manager validations.

@cakrit cakrit closed this as completed Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants