RRD Quality Graph Only Updates Every 5 Minutes?

  • I had a drive bug out on me, so I had to re-install and restore from a backup config (also from a 2.1 version, probably from last week).  So now I am running a snapshot from yesterday:

    2.1-BETA1 (amd64)
    built on Wed May 22 09:24:51 EDT 2013

    Now the RRD quality graph on the GUI only updates every 5 minutes, while it used to do it every minute.  I am not running an embedded kernel, just the standard one.  Is there a way to get it back to every minute?

    /var/run/apinger.status is updated about every 5 seconds, and /var/db/rrd/WAN_DHCP-quality.rrd is updated about every minute.  I found where I think it puts the actual graph files (/tmp/WAN_DHCP-quality.rrd-8hour.png), and that seems to get updated about every minute also

    I see an the following seemingly rrd-related processes running:
    #> ps aux | grep rrd
    root  25833  0.0  0.1 14384  2324  ??  IN    9:03AM  0:00.01 rrdtool -
    root  57033  0.0  0.0  8296  1840  v0- IN    9:03AM  0:00.03 /bin/sh /var/db/rrd/updaterrd.sh

    Any ideas what else I can check?  Did something change related to this?  The other RRD graphs (traffic and processor) seem to be updated every minute.  I tried resetting my RRD data but that didn't help.



  • Warning - The following rrdtool commands will reset the gateway quality RRD and all existing data will be lost.

    Apinger sets the gateway quality RRD's like this.  Which is not consistent with the other pfSense RRD's.

    rrdtool create /var/db/rrd/WAN_DHCP-quality.rrd \
    DS:loss:GAUGE:600:0:100 \
    DS:delay:GAUGE:600:0:100000 \
    RRA:AVERAGE:0.5:1:600 \
    RRA:AVERAGE:0.5:6:700 \
    RRA:AVERAGE:0.5:24:775 \
    RRA:AVERAGE:0.5:288:796 \

    To make the gateway quality RRD's consistent with the other pfSense RRD's, you might try this:

    rrdtool create /var/db/rrd/WAN_DHCP-quality.rrd \
    --step 60 \
    DS:loss:GAUGE:120:0:100 \
    DS:delay:GAUGE:120:0:100000 \
    RRA:AVERAGE:0.5:1:1000 \
    RRA:AVERAGE:0.5:5:1000 \
    RRA:AVERAGE:0.5:60:1000 \
    RRA:AVERAGE:0.5:720:3000 \

    Replace "WAN_DHCP" with the target gateway's name.

Log in to reply