No RRD Graphs



  • Hello,

    i am on pfsense 2.01-Release. I have a problem with the RRD Graphs. There graphic in Status -> RRD Graphs are all empty.

    The directory /var/db/rrd/ contains all needes files and there are up-to-date:

    
       2 drwxr-xr-x   2 nobody  wheel    1024 May 21 08:25 .
       2 drwxr-xr-x  16 root    wheel    1536 May 16 14:21 ..
     192 -rw-r--r--   1 nobody  wheel  195428 May 21 10:03 captiveportal-concurrent.rrd
     192 -rw-r--r--   1 nobody  wheel  195428 May 21 10:03 captiveportal-loggedin.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 ipsec-packets.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 ipsec-traffic.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 lan-packets.rrd
     400 -rw-r--r--   1 nobody  wheel  388988 May 21 10:03 lan-queuedrops.rrd
     400 -rw-r--r--   1 nobody  wheel  388988 May 21 10:03 lan-queues.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 lan-traffic.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 opt1-packets.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 opt1-traffic.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 opt2-packets.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 opt2-traffic.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 opt3-packets.rrd
     400 -rw-r--r--   1 nobody  wheel  388988 May 21 10:03 opt3-queuedrops.rrd
     400 -rw-r--r--   1 nobody  wheel  388988 May 21 10:03 opt3-queues.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 opt3-traffic.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 opt4-packets.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 opt4-traffic.rrd
     736 -rw-r--r--   1 nobody  wheel  727428 May 21 10:03 system-memory.rrd
     256 -rw-r--r--   1 nobody  wheel  243332 May 21 10:03 system-processor.rrd
     256 -rw-r--r--   1 nobody  wheel  243332 May 21 10:03 system-states.rrd
      10 -rw-r--r--   1 root    wheel    9198 May 21 08:31 updaterrd.sh
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 wan-packets.rrd
     352 -rw-r--r--   1 nobody  wheel  340436 May 21 10:03 wan-queuedrops.rrd
     352 -rw-r--r--   1 nobody  wheel  340436 May 21 10:03 wan-queues.rrd
     192 -rw-r--r--   1 nobody  wheel  194780 May 21 10:03 wan-traffic.rrd
    
    

    The updaterrd.sh is running

    
    [2.0.1-RELEASE][root@pfsense.xxx.local]/var/db/rrd(94): ps aux | grep updaterrd.sh
    root   58693  0.0  0.1  3656  1412   1  I     8:32AM   0:03.06 /bin/sh /var/db/rrd/updaterrd.sh
    root   63504  0.0  0.1  3524  1092   1  S+   10:10AM   0:00.00 grep updaterrd.sh
    
    

    What i have tried?:

    • used the search function  ;D
    • rebootet the server
    • deletet all *.rrd files in the /var/db/rrd/ directory
    • reinstalled the rrdtool pakage

    Anyone can help?

    Regards, Valle



  • Hi,

    does really no one has a hint?!

    Regards, Valle



  • I have not seen that in while on 2.0.1. I would clear out and rrd file in /tmp as well. Did you rename your WAN or LAN interfaces? Have you tried looking at the graphs with different browsers?



  • Hi podilarius,

    thanx for answer. Yes i have tried with chrome, ff and ie. All browser shows me an "empty" picture. The Interface are renamed. But rrd worked the last 6 weeks. Now i have cleared all *rrd.png files from the /tmp too and delete one description from an interface, same problem. Graphic is emtpy.

    Any other hints?!



  • I would try removing the RRD graphics and restarting the box.
    Did you install something at the time the graphs stopped working? Are you low on disk space?



  • Hi,

    i have already removed the /var/db/rrd/* and rebootet without success. Mhhh …. i have installed bandwithd and ntop. I have removed both .. same problem.

    Disk space looks good.

    
    Filesystem     Size    Used   Avail Capacity  Mounted on
    /dev/da0s1a    5.8G    3.0G    2.4G    56%    /
    devfs          1.0K    1.0K      0B   100%    /dev
    /dev/md0       3.6M     62K    3.3M     2%    /var/run
    /dev/da1s1     9.7G    6.9G    2.0G    78%    /var/squid/cache
    devfs          1.0K    1.0K      0B   100%    /var/dhcpd/dev
    
    


  • no one has realy a solution for this problem?



  • Maybe there is a clue in the system log. Please post the output of pfSense shell command```
    clog /var/log/system.log | grep rrd



  • Hi wallabybob,

    thanx for helping….

    Here are my log output.

    
    [2.0.1-RELEASE][root@pfsense.xxx.local]/root(5): clog /var/log/system.log | grep rrd | less
    May 24 20:34:01 pfsense php: /status_rrd_graph_settings.php: The command '/bin/rm /var/db/rrd/*' returned exit code '1', the output was 'rm: /var/db/rrd/*: No such file or directory'
    May 24 20:34:21 pfsense apinger: Error while feeding rrdtool: Broken pipe
    May 24 20:35:22 pfsense apinger: /usr/local/bin/rrdtool respawning too fast, waiting 300s.
    May 29 14:17:12 pfsense php: /status_rrd_graph_settings.php: Creating rrd update script
    May 29 14:17:25 pfsense apinger: Error while feeding rrdtool: Broken pipe
    May 29 14:18:25 pfsense apinger: /usr/local/bin/rrdtool respawning too fast, waiting 300s.
    May 30 12:42:33 pfsense php[40913]: /interfaces.php: Creating rrd update script
    May 30 12:43:33 pfsense apinger: Error while feeding rrdtool: Broken pipe
    May 30 12:43:33 pfsense apinger: /usr/local/bin/rrdtool respawning too fast, waiting 300s.
    May 30 12:43:40 pfsense php: /interfaces.php: Creating rrd update script
    May 30 12:44:41 pfsense apinger: Error while feeding rrdtool: Broken pipe
    May 30 12:44:41 pfsense apinger: /usr/local/bin/rrdtool respawning too fast, waiting 300s.
    May 31 19:12:27 pfsense apinger: Error while feeding rrdtool: Broken pipe
    May 31 19:12:39 pfsense php: /status_rrd_graph_settings.php: Creating rrd update script
    May 31 19:13:27 pfsense apinger: /usr/local/bin/rrdtool respawning too fast, waiting 300s.
    May 31 19:15:46 pfsense ntop[43014]:   THREADMGMT[t804650688]: RRD: killThread(rrdThread) succeeded
    May 31 19:15:46 pfsense ntop[43014]:   THREADMGMT[t804650688]: RRD: killThread(rrdTrafficThread) succeeded
    May 31 19:15:46 pfsense ntop[43014]:   RRD: Thanks for using the rrdPlugin
    May 31 19:17:17 pfsense ntop[55672]:   RRD: Thanks for using the rrdPlugin
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/ethernetPkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/broadcastPkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/multicastPkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/ethernetBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/knownHostsNum.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/activeHostSendersNum.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/ipv4Bytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/ipLocalToLocalBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/ipLocalToRemoteBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/ipRemoteToLocalBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/tcpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/udpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/otherIpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/icmpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/arpRarpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/ipv6Bytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/upTo64Pkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/upTo128Pkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/upTo256Pkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/upTo512Pkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/upTo1024Pkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/upTo1518Pkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IGMPBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_HTTPFlows.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_HTTPBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_DNSFlows.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_DNSBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_NetBiosFlows.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_NetBiosBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_MailFlows.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_MailBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_FacebookBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_TwitterBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/IP_YouTubeBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/ethernetPkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/broadcastPkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/multicastPkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/ethernetBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/knownHostsNum.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/activeHostSendersNum.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/ipv4Bytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/ipLocalToLocalBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/ipLocalToRemoteBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/ipRemoteToLocalBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/ipRemoteToRemoteBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/fragmentedIpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/tcpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/udpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/otherIpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/icmpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/stpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/netbiosBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/arpRarpBytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/LAN/ipv6Bytes.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    
    

    thanx, valle



  • @valshare:

    
    Jun  1 02:48:57 pfsense ntop[63859]:   **WARNING** RRD: rrd_update(/var/db/ntop/rrd/interfaces/WAN/ethernetPkts.rrd) error: illegal attempt to update using time 1338511737 when last update time is 1338511737 (minimum one second step)
    
    

    Maybe there is more than one process trying to update the RRD data (and ntop with pid 63859 is the second). I don't have ntop on my system and rrd graphs seem OK. I wonder why ntop is (apparently) trying to meddle with the rrd files.



  • looks, there is only one "ntop" running

    
    [2.0.1-RELEASE][root@pfsense.xxx.local]/etc/inc(23): ps aux | grep ntop
    root   63859  0.0  6.3 173452 130284  ??  Ss    7:18PM   4:51.13 /usr/local/bin/ntop -i em4,em0,em1,em2,em3 -u root -d -4 -M
    root   10308  0.0  0.1  3524  1124   0  S+   12:03PM   0:00.00 grep ntop
    
    

    But rrd graphics are empty ….



  • @valshare:

    looks, there is only one "ntop" running

    Sorry, I didn't mean to suggest there were multiple copies of ntop running. But I have observed some programs get started twice. Is the time stamp on the message I quote close to the system startup time?

    Also, I didn't look closly enough at the path reported in the quoted message: /var/db/ntop/rrd/interfaces/WAN/ethernetPkts.rrd is not a path to "standard" rrd file, for example: /var/db/rrd/lan-packets.rrd

    Maybe this report is a red herring.



  • @wallabybob:

    Is the time stamp on the message I quote close to the system startup time?

    no it is not cloese to the system startup time.



  • it is crazy. At the morning, rrd catches some data….



Locked