collectd errors

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • collectd errors

      I have just grown my raid5 array and also installed a bunch of updates. My syslog file is filled with collectd errors, the graphs all seem to be generating ok. OMV Version is 3.0.99

      Here is a snip from the syslog file

      Jun 19 09:24:07openmediavault monit[2340]: 'collectd' failed to start (exit status 0) -- nooutput
      Jun 19 09:24:37 openmediavault monit[2340]: 'collectd' process is notrunning
      Jun 19 09:24:37 openmediavault monit[2340]: 'collectd' trying to restart
      Jun 19 09:24:37 openmediavault monit[2340]: 'collectd' start:/bin/systemctl
      Jun 19 09:25:07 openmediavault monit[2340]: 'collectd' failed to start (exitstatus 0) -- no output
      Jun 19 09:25:38 openmediavault monit[2340]: 'collectd' process is notrunning
      Jun 19 09:25:38 openmediavault monit[2340]: 'collectd' trying to restart
      Jun 19 09:25:38 openmediavault monit[2340]: 'collectd' start:/bin/systemctl
      Jun 19 09:26:08 openmediavault monit[2340]: 'collectd' failed to start (exitstatus 0) -- no output
      Jun 19 09:26:38 openmediavault monit[2340]: 'collectd' process is notrunning
      Jun 19 09:26:38 openmediavault monit[2340]: 'collectd' trying to restart



      Here is the contents of the collectd.conf file

      root@openmediavault:~# cat /etc/collectd/collectd.conf
      PIDFile "/var/run/collectd.pid"
      Hostname "localhost"
      FQDNLookup true
      LoadPlugin syslog
      <Plugin syslog>
      LogLevel info
      </Plugin>
      LoadPlugin rrdcached
      <Plugin rrdcached>
      DaemonAddress "unix:/var/run/rrdcached.sock"
      DataDir "/var/lib/rrdcached/db/"
      CreateFiles true
      CollectStatistics true
      </Plugin>
      LoadPlugin unixsock
      <Plugin unixsock>
      SocketFile "/var/run/collectd.socket"
      SocketGroup "root"
      SocketPerms "0660"
      </Plugin>
      LoadPlugin cpu
      LoadPlugin df
      <Plugin df>
      MountPoint "/"
      MountPoint "/srv/dev-disk-by-label-Vol0"
      IgnoreSelected false
      </Plugin>
      LoadPlugin interface
      <Plugin interface>
      Interface "eth0"
      IgnoreSelected false
      </Plugin>
      LoadPlugin load
      LoadPlugin memory
      root@openmediavault:~#

      Can I please get some assistance to stop those logs? Many Thanks
    • What is the output of

      Shell-Script

      1. # systemctl restart collectd
      2. # systemctl status collectd
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Hello Thanks very much for your support

      root@openmediavault:~# systemctl restart collectd
      root@openmediavault:~# systemctl status collectd
      ● collectd.service - Statistics collection and monitoring daemon
      Loaded: loaded (/lib/systemd/system/collectd.service; enabled; vendor preset: enabled)
      Active: active (running) since Tue 2018-06-19 20:26:10 AEST; 15s ago
      Docs: man:collectd(1)
      man:collectd.conf(5)
      collectd.org
      Process: 1446 ExecStartPre=/usr/sbin/collectd -t (code=exited, status=0/SUCCESS)
      Main PID: 1449 (collectd)
      CGroup: /system.slice/collectd.service
      └─1449 /usr/sbin/collectd

      Jun 19 20:26:10 openmediavault collectd[1449]: plugin_load: plugin "rrdcached" successfully loaded.
      Jun 19 20:26:10 openmediavault collectd[1449]: plugin_load: plugin "unixsock" successfully loaded.
      Jun 19 20:26:10 openmediavault collectd[1449]: plugin_load: plugin "cpu" successfully loaded.
      Jun 19 20:26:10 openmediavault collectd[1449]: plugin_load: plugin "df" successfully loaded.
      Jun 19 20:26:10 openmediavault collectd[1449]: plugin_load: plugin "interface" successfully loaded.
      Jun 19 20:26:10 openmediavault collectd[1449]: plugin_load: plugin "load" successfully loaded.
      Jun 19 20:26:10 openmediavault collectd[1449]: plugin_load: plugin "memory" successfully loaded.
      Jun 19 20:26:10 openmediavault collectd[1449]: Systemd detected, trying to signal readyness.
      Jun 19 20:26:10 openmediavault systemd[1]: Started Statistics collection and monitoring daemon.
      Jun 19 20:26:10 openmediavault collectd[1449]: Initialization complete, entering read-loop.
      root@openmediavault:~#
    • According to the output there seems to be no problem. Is your syslog still flooded?
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Please also post the output of

      Shell-Script

      1. # cat /etc/monit/conf.d/openmediavault-collectd.conf
      2. # ls -alh /var/run/collectd.pid
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • The contents of /etc/monit/conf.d/openmediavault-collectd.conf are below.

      Source Code

      1. # cat /etc/monit/conf.d/openmediavault-collectd.conf
      2. check process collectd with pidfile /var/run/collectd.pid
      3. start program = "/bin/systemctl start collectd"
      4. stop program = "/bin/systemctl stop collectd"
      5. mode active
      Contents of /var/run/ shown below.


      Source Code

      1. root@openmediavault:/etc/monit/conf.d# ls /var/run/*.pid
      2. /var/run/acpid.pid /var/run/monit.pid /var/run/omv-engined.pid /var/run/rpcbind.pid /var/run/rsyslogd.pid
      3. /var/run/crond.pid /var/run/nginx.pid /var/run/php5-fpm.pid /var/run/rrdcached.pid /var/run/sshd.pid



      There is no /var/run/collectd.pid file, which seems to cause monit to restart collectd over and over. There is however, a /var/run/collectd.socket file.

      I quickly changed /etc/monit/conf.d/openmediavault-collectd.conf to the following

      Source Code

      1. check file collectd path /var/run/collectd.socket
      2. start program = "/bin/systemctl start collectd"
      3. stop program = "/bin/systemctl stop collectd"
      4. mode active

      Which has stopped the error messages in the logs but I'm not sure this is the correct way to solve the problem. Is collectd supposed to be creating the .pid file?

      The post was edited 1 time, last by barrydick ().

    • Please post


      Shell-Script

      1. # dpkg -l | grep collect
      I assume you're using a backported collectd version whichis not supported in OMV3.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Source Code

      1. root@openmediavault:~# dpkg -l | grep collect
      2. ii bsdmainutils 9.0.6 amd64 collection of more utilities from FreeBSD
      3. ii collectd 5.7.0-3~bpo8+1 amd64 statistics collection and monitoring daemon
      4. ii collectd-core 5.7.0-3~bpo8+1 amd64 statistics collection and monitoring daemon (core system)
      5. ii libtimedate-perl 2.3000-2 all collection of modules to manipulate date/time information
      hi here is the output
    • Yes, you are using backports. This is not supported by OMV. Make sure to pin only those backaches that are require a backports version.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Users Online 1

      1 Guest