Netdata go.d.plugin missing

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=4
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘not applicable’

  • Distro version | bookworm

  • Kernel version | Linux nanopi 5.10.160-legacy-rk35xx #1 SMP Fri Feb 2 07:51:33 UTC 2024 aarch64 GNU/Linux

  • Architecture | arm64

Additional Information (if applicable)

  • Software title | Netdata
  • Was the software title installed freshly or updated/migrated? - fresh install

Steps to reproduce

  1. Install Netdata service via dietpi-software
  2. enable go.d plugin by addding in netdata.conf
[plugins] go.d = yes # enabled

and restart netdata service

  1. run ./edit-config go.d.conf
  2. get response: File ‘go.d.conf’ is not found in ‘/usr/lib/netdata/conf.d’

Expected behaviour

  • ability to enable go.d collectors

Extra details

Hey DietPi team! I started using this distro a week ago and I seriously impressed with it’s capabilities and performance. I’m also discovering netdata to do comprehensive system monitoring and wanted to setup ping from go.d.plugin, unfortunatelly the latter being missing on my ‘stock installation’. Netdata documentation says it should be there by default. Anything obvious I’m missing?
thanks!
Michal

The only related thing I could find was this:
https://github.com/netdata/netdata/issues/17585

But as a workaround for now you can create the missing file by yourself:

nano /usr/lib/netdata/conf.d/go.d.conf
with the content

go.d.conf
# netdata go.d.plugin configuration
#
# This file is in YAML format.

# Enable/disable the whole go.d.plugin.
enabled: yes

# Enable/disable default value for all modules.
default_run: yes

# Maximum number of used CPUs. Zero means no limit.
max_procs: 0

# Enable/disable specific g.d.plugin module
# If you want to change any value, you need to uncomment out it first.
# IMPORTANT: Do not remove all spaces, just remove # symbol. There should be a space before module name.
modules:
#  activemq: yes
#  apache: yes
#  bind: yes
#  chrony: yes
#  cockroachdb: yes
#  consul: yes
#  coredns: yes
#  couchbase: yes
#  couchdb: yes
#  dnsdist: yes
#  dnsmasq: yes
#  dnsmasq_dhcp: yes
#  dns_query: yes
#  docker: yes
#  docker_engine: yes
#  dockerhub: yes
#  elasticsearch: yes
#  envoy: yes
#  example: no
#  filecheck: yes
#  fluentd: yes
#  freeradius: yes
#  haproxy: yes
#  hdfs: yes
#  httpcheck: yes
#  isc_dhcpd: yes
#  k8s_kubelet: yes
#  k8s_kubeproxy: yes
#  lighttpd: yes
#  logind: yes
#  logstash: yes
#  mongodb: yes
#  mysql: yes
#  nginx: yes
#  nginxplus: yes
#  nginxvts: yes
#  ntpd: yes
#  nvme: yes
#  nvidia_smi: no
#  openvpn: no
#  openvpn_status_log: yes
#  ping: yes
#  pgbouncer: yes
#  phpdaemon: yes
#  phpfpm: yes
#  pihole: yes
#  pika: yes
#  portcheck: yes
#  postgres: yes
#  powerdns: yes
#  powerdns_recursor: yes
#  prometheus: yes
#  pulsar: yes
#  rabbitmq: yes
#  redis: yes
#  scaleio: yes
#  snmp: yes
#  solr: yes
#  springboot2: yes
#  squidlog: yes
#  supervisord: yes
#  systemdunits: yes
#  tengine: yes
#  traefik: yes
#  upsd: yes
#  unbound: yes
#  vernemq: yes
#  vcsa: yes
#  vsphere: yes
#  web_log: yes
#  wireguard: yes
#  whoisquery: yes
#  windows: yes
#  x509check: yes
#  zookeeper: yes

@Jappe Are you sure? After looking at git logs, i think debian package is built without go plugins.

@stachu For now better would be use netdata repository.

Remove netdata:

sudo dietpi-software uninstall 65

Add key and repository:

sudo wget https://repo.netdata.cloud/netdatabot.gpg.key -O /etc/apt/trusted.gpg.d/netdata.asc
echo "deb https://repo.netdata.cloud/repos/stable/debian/ bookworm/" | sudo tee /etc/apt/sources.list.d/netdata.list

Update and install netdata:

sudo apt update
sudo apt install netdata

Now you should be able to use go plugin.

Thanks pulpe! this seems to have solved the issue!
CHeers,
Michal

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.