Editing nodes in statistics (collectd)

NethServer Version: 7.5
**Module:**statistics

To add new nodes I used:
config setprop collectd PingHosts SITE!, SITE2
signal-event nethserver-collectd-update

How can I list all the nodes and how can I delete nodes from the list?
Thanks

Welcome Carlos,

to show all properties of a (nethserver) module/service you can use the config show <service> command; is this case

# config show collectd
collectd=service
PingDropRatePercent=30
PingHosts=SITE1,SITE2
status=enabled

an easy way to change PingHosts is simply overwriting them with a new value

# config setprop collectd PingHosts SITE1,SITE3

# config show collectd
collectd=service
    PingDropRatePercent=30
    PingHosts=SITE1,SITE3
    status=enabled

# signal-event nethserver-collectd-update

to remove them overwrite them with a empty value

# config setprop collectd PingHosts ''

# config show collectd
collectd=service
    PingDropRatePercent=30
    PingHosts=
    status=enabled

# signal-event nethserver-collectd-update

Hope this helps

1 Like

Thanks for your help.

As I was colecting ping response from two wrong addresses:

1 - I removed all Sites with the command # config setprop collectd PingHosts ‘’
2 - # config show collectd shows PingHosts empty
3 - # signal-event nethserver-collectd-update

4 - # config setprop collectd PingHosts SITE1,SITE2,SITE3
5 - # signal-event nethserver-collectd-update
6 - # config show collectd shows SITE1,SITE2,SITE3

The graphic panel shows SITE1,SITE2,SITE3 but, in the legend still shows two former sites.

How can the collectd graphic panel be forced to rebuild?
Thanks,

Graphs are built on-the-fly.
You have to delete data in /var/lib/collectd. I suggest you you to wait a couple of days, there’s a nightly cron job that automatically deletes data which has not been updated.

I deleteded the rdd files relative to the wrong addresses and it worked perfectly.
Thanks for your help.