This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Network Usage Graphs

Any idea why the network usage graphs would not show up under WebAdmin on 5.006?  This is a fresh install as of last night.  The only graphs that show under Reporting | Network Usage Graphs are for the loopback interface and concurrent connections.


This thread was automatically locked due to age.
  • I can confirm this problem: fresh installation, update to Release 5.006. The files
     /var/log/reporting/rrd/interface_*rrd
    will not be updated anymore....
  • Hm, this is strange.
    Interface data is collected from the SNMP daemon. Is it running? The reporter (/usr/local/bin/reporter/network-reporter.pl) is started by the cron daemon. Is the cron entry existing?
    Try to run the reporter manually .. does this update your interface RRDs? Which interface RRD files do exist? Which interfaces did you configure in WebAdmin?

    Thanks,
    andreas
  • Yes, the SNMP daemon is running:
    /usr/sbin/snmpd -c /etc/snmpd.conf -Ls daemon

    I am not seeing a cron entry for the reporter service, which crontab should it be in?  Also, when should it be set to run?

    Where would I find the interface RRD files?  I did run it manually and I still do not have any graphs.

    All interfaces eth0-2 were set up within WebAdmin.

    Thank you.
  • The reporter gets information from the SNMPd and writes it into the RRD files, from which the images are created. The RRD files are in /var/log/reporting/rrd/interface_*rrd, please check if they get updated if you run the reporter. 
    In /var/log/reporting/images the image files for every interface should be created: interface_eth*_daily.png (& weekly, monthly, yearly). Please check if these files exist.

    Just to make sure - you loopback interface (lo) is updated correctly?
  • Hi Andreas,

    the snmpd-daemon is running.
    (I've updates my system to 5.007 now. The problem still remains.)
    I've configured three interfaces with Webmin:
    eth0, eth1 and eth2. eth2 is the pppoe-interface.
    When I run "/usr/local/bin/reporter/network-reporter.pl" as root I get the following error:
    rrdfile /var/log/reporting/rrd/interface_ppp0.rrd does not exists
            main::update_iface_rrds('/var/log/reporting/rrd','ARRAY(0x82c5d94)') called at /usr/local/bin/report
    er/network-reporter.pl line 183
    If I shut down eth2 and run the script I get no error, but the images are still not updated.
    (actually the files *rrd and *png are touched but without any traffic)

    Martin
  • Thank you for your help, I have all of the RRD files as well as the images for eth1 only and they seem to be updating correctly.  The timestamps on all files are current.  What is your next step?
  • I guess the problem is the scaling of this image.
    At the time of the reboot there is a high peak in every image. The normal traffic is much smaller than these peaks and seems to be zero. I will wait 24 hours so the peak will disappear....
  • These are two very different things. I thought you did not have an image at all? Let us figure out some basics first:

    a) What is shown in the WebAdmin - no image, image with a flat line, normal image?

    b) What (configured) interfaces do you have? Especially of interest are ppp interfaces, because they will not be shown any more with version 5.005 and above.

    c) Are the images (if existing) updated? Even if it's a flat line, you can see that they are updated by the times on the x axis (or by taking a look on the files on the asl - /var/log/reporting/rrd/interface_*.rrd , /var/log/reporting/images/interface_*.png).

    thanks,
    andreas
  • My first posting was because the interface*rrd-files didn't got updated. Then I updated to v5.007 and rebooted the firewall.
    To point a) and c):  Since then the *rrd-Files and the images are  updated.
    But I see a flat line except the peak at boot time. I will wait until the peak left the image and tell you if everything is fine.
    To point b): I've configured eth0, eth1 and eth2.
    (PPP over Ethernet (PPPoE-DSL) connection) on eth2
    (Standard ethernet interface)
    on eth1 and eth0

    Thank you,
    Martin