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.
Parents
  • 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
  • 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
  • The only images I have in WebAdmin are for the loopback interface and concurrent connections.  I have configured (in WebAdmin) eth0-2 as standard interfaces.  If I go to the directory for the images I have images for eth1, but they have not been updated since the 11th.  Thank you.
  • There are two different problems: 
    The simple problem are the peaks at boot-time. I can ignore them.
    The other one is the snmp-daemon: Sometimes it is not running causing the problems with the rrd-files.

    At boot-time it is started and stopped and started again and so on:
    Yesterday I found the following snmp-related entries in /var/log/system.log:
    2004:05:15-23:18:46 (none) snmpd: NET-SNMP version 5.1
    2004:05:15-23:18:48 (none) snmpd: Received TERM or STOP signal...  shutting down...
    2004:05:15-23:18:54 (none) snmpd: NET-SNMP version 5.1
    2004:05:15-23:19:34 (none) snmpd: Received TERM or STOP signal...  shutting down...
    2004:05:15-23:20:14 (none) snmpd: NET-SNMP version 5.1
    2004:05:15-23:20:46 (none) snmpd: Received TERM or STOP signal...  shutting down...

    At this time I booted the firewall.

    Can you tell  me how and when the snmpd is (re-) started?

    Does the daemon-watcher watch the snmpd?

    Thanks,
    Martin
  • Martin: I don't think there's a problem here. The SNMPd is most likely restarted because of some dependencies. Some changes to the system require services to be restarted to reload the configuration. The dependencies still need some tuning, so it might happen more often than needed. If your images are updated, everything is all right.
    To the peaks in the graphs: I don't know exactly why, but reboots seem to be the cause for the peaks. In any case, that's a cosmetical question and most likely not directly related to the reporting itself. But I will take a look at it to make sure.

    notoriousiroc:
    You case seems more interesting. At the time of your first posting, you did not have any images for eth0-eth2 at all. In the meanwhile, you do have images for eth1, but eth0 and eth2 are still missing, They are all configured as standard ethernet interfaces, and your SNMP daemon is running. The RRD files for all three interfaces are existing and updated regularly. Did I get that right?
  • I agree with you that the peaks are not an important problem.
    But the snmpd wasn't running on saturday evening. So there might be a problem....
  • Oh, I didn't realize that your SNMP daemon was not running. Some restarts are normal behaviour, but it _should_ be running almost all of the time. At the moment the SNMP daemon is not under surveillance of the SelfMonitoring. I submitted a bug entry and will add that check soon. Thanks [:)]

    EDIT: fixed, check added.

    EDIT2: released in 5.011
Reply
  • Oh, I didn't realize that your SNMP daemon was not running. Some restarts are normal behaviour, but it _should_ be running almost all of the time. At the moment the SNMP daemon is not under surveillance of the SelfMonitoring. I submitted a bug entry and will add that check soon. Thanks [:)]

    EDIT: fixed, check added.

    EDIT2: released in 5.011
Children
  • I did some a little tweaking with my config to see what it is causing the problem.  It seems to be tied to the IPS portion of ASL.  As more rules are enabled, or certain ones out of groups are disabled it disables the network graphs.  Not sure if this helps much, but that is what I found.
  • If you could be a bit more specific about on which rules that happens, I might be able to reproduce that here. But I can't think of how this could be connected to each other... strange problem...
  • I do not believe it was tied to a specific rule.  I was working on the ICMP and NETBIOS rules to get Active Directory working between two networks and allowing the necessary rules for that.  There were times when it would take the changes and still graph, times when it would keep the graphs, but they would not update for hours, and times when they just disappeared.  Currently they are working.  I have the ICMP, ICMP-INFO, and NETBIOS rules disabled to get that effect.  I would rather have the rules enabled and only disable the necessary ones though but that removes the graphs completely.