pfSense Support Subscription

Author Topic: Issue with RRD Graphcs since March 3rd RC install  (Read 1288 times)

0 Members and 1 Guest are viewing this topic.

Offline Com DAC

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Issue with RRD Graphcs since March 3rd RC install
« on: March 05, 2011, 08:54:06 am »
First let me say that the new version 2 is amazing. I've noticed increased speed within my environment. Now on to the issue. Since the install my RRD Graphs are no longer logging information and on the Dashboard it no longer gives my CPU usage. I'm running the i386 build on a P3 1GHz. If I go to System Activity on the Diagnostics menu it does show my CPU usage.

Thank you for such an amazing product.

Offline mddubs

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
    • Bunker Hollow
Re: Issue with RRD Graphcs since March 3rd RC install
« Reply #1 on: March 05, 2011, 03:18:34 pm »
I'm also experiencing RRD issues with the 2.0 beta and RC1.  Clicking the 'Traffic' or 'Packets' tab shows the following error message in each of the graphs...

"There has been an error creating the graphs.  Please check your system logs for further details."

My system is a Netgate Hamakua.  The logs say:

php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: No DS called 'inpass' in '/var/db/rrd/wan-traffic.rrd'/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-4year.png --start 1172870156 --end 1299359756 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Traffic - 4 years - 1 day average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8,*" CDEF:"wan-out_bits_pass=wan-out_bytes_pass,8,*" CDEF:"wan-in_bits_block=wan-in_bytes_block,8,*" CDEF:"wan-out_bits_block=wan-out_bytes_block,8,*" CDEF:"wan-in_bytes=wan-in_bytes_pass,wan-in_bytes_block,+" CDEF:"wan-out_bytes=wan-out_bytes_pass,wan-out_bytes_block,+

Offline Com DAC

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Issue with RRD Graphcs since March 3rd RC install
« Reply #2 on: March 05, 2011, 10:41:40 pm »
A few hours ago I went in and shut off RRD graphs and then turned them back on and it now appears to be logging again. Would be interested to know if doing this gets it working for anyone else.

Offline adroitboy

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Issue with RRD Graphcs since March 3rd RC install
« Reply #3 on: March 06, 2011, 07:03:26 pm »
My graphs were running for a few hours and then all quit aside from the WANGW-quality graph. The others were all blank in the gui.

I too am running embedded 2.0-RC1 (i386) built on Fri Mar 4 14:40:57 EST 2011. Hardware is a Watchguard Firebox X700 (I think). I restarted the rrd graphing and things seem to be working again.

I'm still learning my way around (coming from m0n0wall). I can't remember if I created the WANGW gateway or GW_WAN, but I created one of them when setting it up, then realized I didn't need to create it. I can't remember where either.

This is before the
Code: [Select]
drwxr-xr-x  6 root    wheel     512 Mar  4 19:44 ..
-rw-r--r--  1 nobody  wheel   47608 Mar  4 19:17 GW_WAN-quality.rrd
-rw-r--r--  1 nobody  wheel   47608 Mar  6 16:43 WANGW-quality.rrd
-rw-r--r--  1 nobody  wheel  194776 Mar  4 23:58 ipsec-packets.rrd
-rw-r--r--  1 nobody  wheel  194776 Mar  4 23:58 ipsec-traffic.rrd
-rw-r--r--  1 nobody  wheel  194776 Mar  4 23:58 lan-packets.rrd
-rw-r--r--  1 nobody  wheel  194776 Mar  4 23:58 lan-traffic.rrd
-rw-r--r--  1 nobody  wheel   97672 Mar  4 19:52 ppp-cellular.rrd
-rw-r--r--  1 nobody  wheel  727424 Mar  4 23:58 system-memory.rrd
-rw-r--r--  1 nobody  wheel  243328 Mar  4 23:58 system-processor.rrd
-rw-r--r--  1 nobody  wheel  243328 Mar  4 23:58 system-states.rrd
-rw-r--r--  1 root    wheel    4271 Mar  4 23:58 updaterrd.sh
-rw-r--r--  1 nobody  wheel  194776 Mar  4 23:58 wan-packets.rrd
-rw-r--r--  1 nobody  wheel  243328 Mar  4 23:58 wan-queuedrops.rrd
-rw-r--r--  1 nobody  wheel  243328 Mar  4 23:58 wan-queues.rrd
-rw-r--r--  1 nobody  wheel  194776 Mar  4 23:58 wan-traffic.rrd

And see this in the logs when stopping and starting rrd.
Code: [Select]
Mar 6 16:46:41 check_reload_status: syncing firewall
Mar 6 16:46:54 php: /status_rrd_graph_settings.php: Creating rrd update script
Mar 6 16:46:54 check_reload_status: syncing firewall

We'll see how long it goes for.

Offline mddubs

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
    • Bunker Hollow
Re: Issue with RRD Graphcs since March 3rd RC install
« Reply #4 on: March 06, 2011, 07:36:08 pm »
A few hours ago I went in and shut off RRD graphs and then turned them back on and it now appears to be logging again. Would be interested to know if doing this gets it working for anyone else.

Thanks!  This morning I turned RRD graphs off for about an hour.  I checked it tonight and everything appears to be running smoothly.

Offline erixon

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Issue with RRD Graphcs since March 3rd RC install
« Reply #5 on: March 07, 2011, 12:36:14 pm »
I also have trouble to get CPU usage to work, on dashbord i get this message :


Warning: require_once(led.inc): failed to open stream: No such file or directory in /etc/inc/notices.inc on line 43  Fatal error: require_once(): Failed opening required 'led.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /etc/inc/notices.inc on line 43 %


And memory usage says : undefined%

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 2893
  • Karma: +0/-0
    • View Profile
Re: Issue with RRD Graphcs since March 3rd RC install
« Reply #6 on: March 08, 2011, 12:42:11 am »
Looks like my traffic and packets graphs died, but might have something to do with the install of the ipv6 stuff??

This error getting

Mar 8 00:38:19    php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: Could not parse color in ''/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-4year.png --start 1199080800 --end 1299566297 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Traffic - 3 years - 1 day average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE DEF:wan-in6_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass6:AVERAGE DEF:wan-out6_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass6:AVERAGE DEF:wan-in6_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock6:AVERAGE DEF:wan-out6_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock6:AVERAGE CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8,*" CDEF:"wan-out_bi

I tried stop and starting rrd system, but that did not seem to clear it up.
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Have I helped you, want to say thanks?  Donate to pfsense the cost of a beer http://pfsense.org/donate.html