2.x upgrade - network monitoring graphs are missing

  • All,


    I've updated recently from 1.9 to 2.x but it seems currently there is no possibility to monitor the network load now for the pre-defined timeframes. Under system performance/monitoring i can see only 'sad smilies' but no display of the network traffic.


    Anybody in here familiar with this?


    Thanknyou.

  • You can try this to reset your graphs. It will take some time to create new data points. You can click on refresh to see that it is working.


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

  • Look in /var/lib/rrdcached/db/localhost/interface-ethx (x is whatever interfacec you are using)


    Do you see a recent time on the files in that folder??? We are checking to see if the files are being written to recently.


    Are the other graphs working normally???

  • Look in /var/lib/rrdcached/db/localhost/interface-ethx (x is whatever interfacec you are using)


    Do you see a recent time on the files in that folder??? We are checking to see if the files are being written to recently.


    Are the other graphs working normally???


    Just had a look - the files in the folder you specified have a brand new stamp, so it seems the logging itself still going to happen.

  • I can replicate the issue. Problem appeared at the upgrade to 2.x, and it's only limited to the ETH0 graphs. Data is still being collected:


    Code
    root@openmediavault:/var/lib/rrdcached/db/localhost/interface-eth0# ls -lsa
    total 884
      4 drwxr-xr-x  2 root root   4096 Sep 18  2014 .
      4 drwxr-xr-x 24 root root   4096 Jul  3 00:05 ..
    292 -rw-r--r--  1 root root 295232 Jul  7 00:11 if_errors.rrd
    292 -rw-r--r--  1 root root 295232 Jul  7 00:11 if_octets.rrd
    292 -rw-r--r--  1 root root 295232 Jul  7 00:11 if_packets.rrd


    It's just the graphs not being propery displayed.


    For instance, the memory hourly graph works:

    Code
    <img src="rrd.php?name=memory-hour.png&amp;time=1436217329828" alt="RRD graph - by hour">


    But the ETH0 doesn't:

    Code
    <img src="rrd.php?name=interface-eth0-hour.png&amp;time=1436217250759" alt="RRD graph - by hour">
  • I was plying with the idea to change eth0 to eth1 - but as my nas is currently placed just behind the desk and not that easy to get to, I wouldn't do experiments like that where I would obviously have to connect a monitor in case the device is not reachable on the net.

  • Why'd you bother with that, when obviously it's an issue of the graph generating script not referencing existing data correctly :) You could even disable the NIC and the script should still produce relevant graphs based on already collected history.

  • Same here, no network graphs!!!


    After upgrading to omv 2.1 my eth0 graphs don't work.


    PS: I have a raspberry pi 2 box.


    Mine is now fixed -> Disabling and re-enabling the monitor feature fixed it for me!!!

  • 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

  • Just to let you know: after upgrading from 1.9 to 2.1 (without any incident) I had the same incident with the network interface statistics.
    No statictics were displayed anymore for my network adapter. The other indicators were fine (CPU, disk, load, memory)


    After some investigation I found /usr/sbin/omv-mkgraph, which had an 'error' in the code:

    Code
    # Plugin: interface
    ...
    for devicename in ; do


    After adding a fake VLAN and deleting the VLAN the file omv-mkgraph was modified with this code:

    Code
    # Plugin: interface
    ...
    for devicename in eth0 ; do


    This fixed the issue!

    OMV 2.1.1 Stone Burner | Intel Atom 330 @ 1.60GHz | 4x 2TB RAID5

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!