No rrd graphs and a full log file

    • OMV 3.x
    • Resolved

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

    • No rrd graphs and a full log file

      Hello guys,
      i have a problem with our NAS here on work, which isn´t generating the graphs it should with rrd.

      Everytime i hit the update button in the WebUI, i get something like this

      Source Code

      1. Apr 30 13:30:01 SERVER rrdcached[6918]: queue_thread_main: rrd_update_r (/var/lib/rrdcached/db/localhost/rrdcached/operations-write-data_sets.rrd) failed with status -1. (/var/lib/rrdcached/db/localhost/rrdcached/operations-write-data_sets.rrd: illegal attempt to update using time 1525087482 when last update time is 1543947137 (minimum one second step))
      2. Apr 30 13:30:01 SERVER rrdcached[6918]: queue_thread_main: rrd_update_r (/var/lib/rrdcached/db/localhost/rrdcached/operations-write-updates.rrd) failed with status -1. (/var/lib/rrdcached/db/localhost/rrdcached/operations-write-updates.rrd: illegal attempt to update using time 1525087482 when last update time is 1543947137 (minimum one second step))
      3. Apr 30 13:30:01 SERVER rrdcached[6918]: queue_thread_main: rrd_update_r (/var/lib/rrdcached/db/localhost/rrdcached/queue_length.rrd) failed with status -1. (/var/lib/rrdcached/db/localhost/rrdcached/queue_length.rrd: illegal attempt to update using time 1525087482 when last update time is 1543947137 (minimum one second step))


      I have googled around but couldn´t find any helpful information about this, besides this ( emacstragic.net/2012/08/20/col…update-using-time-errors/ ). But that didn´t helped me either.

      My collectd.conf looks like this now:


      Source Code

      1. PIDFile "/var/run/collectd.pid"
      2. Hostname "localhost"
      3. FQDNLookup true
      4. LoadPlugin syslog
      5. <Plugin syslog>
      6. LogLevel info
      7. </Plugin>
      8. LoadPlugin rrdcached
      9. <Plugin rrdcached>
      10. DaemonAddress "unix:/var/run/rrdcached.sock"
      11. DataDir "/var/lib/rrdcached/db/"
      12. CreateFiles true
      13. CollectStatistics true
      14. </Plugin>
      15. LoadPlugin unixsock
      16. <Plugin unixsock>
      17. SocketFile "/var/run/collectd.socket"
      18. SocketGroup "root"
      19. SocketPerms "0660"
      20. </Plugin>
      21. LoadPlugin cpu
      22. LoadPlugin df
      23. <Plugin df>
      24. MountPoint "/"
      25. MountPoint "/srv/dev-disk-by-id-md-name-s070-nas-RAID1"
      26. IgnoreSelected false
      27. </Plugin>
      28. LoadPlugin interface
      29. <Plugin interface>
      30. Interface "eth0"
      31. IgnoreSelected false
      32. </Plugin>
      33. LoadPlugin load
      34. LoadPlugin memory
      Display All
    • More interesting is the hardware, especially if it has a RTC (Real Time Clock).
      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
    • I just went through an issue with a RPI 2 and OMV 3.x with Armbian, and an RTC module. I think when Aaron made the image he disabled the /system/monitoring which disabled omv-mkgraph script. Had to read through some code to find out what was going on. But yeah, you need more information here before you can answer his questions.

      I also found that when clearing out the old graphs that rrdcached needed to be restarted before restarting collectd or you would get an error. This didn't happen on Debian Wheezy.

      Order to clear out old graphs with Debian Jessie or above:
      rm -r /var/lib/rrdcached/db/localhost
      rm /var/lib/rrdcached/journal/*
      systemctl restart rrdcached
      systemctl restart collectd
    • You can reset the graphs with omv-firstaid in OMV4.
      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
    • That is enough info. Don't need more. Make sure that under system/monitoring the slider is green (enabled) and save it if you need to.

      Then check if these services are enabled with these commands:

      systemctl is-enabled rrdcached
      systemctl is-enabled collectd

      If they are both enabled clear your graphs and restart the services with:

      rm -r /var/lib/rrdcached/db/localhost
      rm /var/lib/rrdcached/journal/*
      systemctl restart rrdcached
      systemctl restart collectd

      If one, or both, of the services are not enabled do this and then clear the graphs with the steps just above:

      systemctl enable rrdcached
      systemctl enable collectd