Collectd-sensors Graph not show

I try to setup collectd-sensors following by!topic/nethserver/5FQJYgaevHA

  1. Installed Statistics from Package manager (nethserver-collectd)
  2. yum install lm_sensors
  3. sensors-detect (I answered yes to all questions)
    4 yum install collectd-sensors
    5 then service collectd restart

There are no error message but there is no sensors shown in CGP

I’d test command


I can see

Adapter: ISA adapter
Core 0: +40.0°C (high = +90.0°C, crit = +90.0°C)
Core 1: +43.0°C (high = +90.0°C, crit = +90.0°C)
Core 2: +38.0°C (high = +90.0°C, crit = +90.0°C)
Core 3: +38.0°C (high = +90.0°C, crit = +90.0°C)

Is there any suggestions

In NethServer 6.8 you need to configure the collectd sensors plugin.
Here’s my configuration:

[root@nethservice ~]# cat /etc/collectd.d/sensors.conf 
LoadPlugin sensors
<Plugin "sensors">
  Sensor "smsc47b397-isa-0480/temperature-temp4"
  Sensor "smsc47b397-isa-0480/fanspeed-fan2"
  IgnoreSelected true
1 Like

Dear filippo,
Thanks for your quick response
So I try

[root@chana ~]# cat /etc/collectd.d/sensors.conf
LoadPlugin “sensors”
<Plugin “sensors”>
Sensor “coretemp-isa-0000”

Then try to collectd restart

[root@service collectd restart
Parse error in file /etc/collectd.d/sensors.conf', line 163 near‘: syntax error, unexpected $end, expecting EOL
yyparse returned error #1
configfile: Cannot read file `/etc/collectd.d/sensors.conf’.
Unable to read config file /etc/collectd.conf.
Error: Reading the config file failed!
Read the syslog for details.
not restarting due to configuration error

I’m not sure that my Sensor “coretemp-isa-0000” is correct or not ??

Sorry, it was just an example, it’s the file from my system.
The minimum content that should work is:
LoadPlugin sensors

1 Like

LoadPlugin sensors solve my problem

Thanks a lot :slight_smile:

1 Like

The lines between <Plugin “sensors”>… exclude some sensors that on my system are present but not connected.
The names are taken from the /var/lib/collectd directory.