2.x upgrade - network monitoring graphs are missing

    • OMV 2.x
    • Resolved
    • @votdev maybe omv-mkgraph needs to be reset after the upgrade? Have a look one post above what fixed the issue.
      OMV 4.x| HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV 4.x| Odroid XU4 | 5TB Data drive | 500GB Backup drive
      OMV 5.x| Raspberry Pi 4 | 6TB Data drive | 500GB SSD drive
    • The update does not touch the collectd configuration which includes the omv-mkgraph script generation. It the script is incorrect, then it was incorrect before the upgrade.
      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,

      The network statistics were working fine before the upgrade. The timestamp of /usr/sbin/omv-mkgraph was somewhere around the time of the upgrade. There was no change in the network adapter (settings). Somehow the eth0 interface was missing in the omv-mkgraph-file.

      Best regards
      OMV 2.1.1 Stone Burner | Intel Atom 330 @ 1.60GHz | 4x 2TB RAID5
    • Good job @roadhawk
      But I think that s' is a temporary solution, no ??
      If you add an interface, like eth2, there are no graph of eth2 ... ???

      Source Code

      1. # Plugin: interface
      2. COLOR_INTERFACE_INCOMING="#00cc00" # green
      3. COLOR_INTERFACE_OUTGOING="#ff0000" # red
      4. for devicename in eth0 ; do
      5. [ ! -e "${DATA}/interface-${devicename}/if_octets.rrd" ] && continue
      Open Media Vault 2.2.6 (Stone burner) in Prod
      Open Media Vault 3.0.32 (Erasmus) in Test

      openmedivault Docker Container
      https://github.com/prbond/openmedivault-dockerfile

      Dev :
      openmediavault-fail2ban 1.1.5 for OMV2.X
      openmediavault-fail2ban 1.3.0 for OMV3.X
      https://github.com/prbond/openmediavault-fail2ban
      https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-fail2ban
    • The omv-mkgraph script only works correct when the network interface configuration is correct. It helps to delete and recreate the interface settings via WebGUI.
      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 am ok with you, i understand, there are no problem with omv-mkgraph because it is generated by scripts in /usr/share/openmediavault/mkconf/collectd.d/

      A great solution is : omv-mkconf collectd

      eth0 miss, will be created ...
      Open Media Vault 2.2.6 (Stone burner) in Prod
      Open Media Vault 3.0.32 (Erasmus) in Test

      openmedivault Docker Container
      https://github.com/prbond/openmedivault-dockerfile

      Dev :
      openmediavault-fail2ban 1.1.5 for OMV2.X
      openmediavault-fail2ban 1.3.0 for OMV3.X
      https://github.com/prbond/openmediavault-fail2ban
      https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-fail2ban
    • tekkb wrote:

      A lot of times I see people where their graphs data is corrupted. These are best instructions I give to reset graphs with corrupted database.

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


      This fixed my missing graphs, too. Obviously everything got corrupted because of some issues I had with ntp on a banana pi. Thanks!
      OMV 3.x | Banana PI (M1) | | | Seafile Server
      OMV 4.x | ShuttlePC SH55J2
    • Hi,
      I tried:

      Source Code

      1. rm -r /var/lib/rrdcached/db/localhost
      2. rm /var/lib/rrdcached/journal/*
      3. service collectd restart
      4. service rrdcached restart

      Re-enabling the monitor.

      In folder /var/lib/rrdcached/db/localhost/interface-eth0/ I see files with current timestamp.

      And there's no network graphs... The rest of graphs is working perfect.

      I'm running OMV 4.1.22-1 on Bananapi