[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - BUG?: Since upgrading to 2.19 'Graph was not created' ...

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 05, 2025 4:33 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Wed Nov 05, 2008 11:30 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
"Graph was not created!

Probably, no data is available for the requested time period.

RRD: /var/www/htdocs/router2cgi/graphs/to-sw01/to-sw01_14.rrd
Device: [to-sw01.cfg] TO-SW01 Branch Switch , Tok
Interface: _to-sw01_14I-IE"

I believe that these are the graphs taht would have no data in them ie: empty graphs .
I am using "routers.cgi*Options[_]: active" in all my .cfg's & the items showing these messages are those that would not create a graph . Have just verified by moving back to 2.18b5 , this issue is not there .

See attched config .[attachment=0]cp-sw01.txt[/attachment]


Top
 Profile Send private message  
 
PostPosted: Wed Nov 05, 2008 6:47 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Initial thoughts are that, with the active option, no lines at all qualify for the graph and so nothing can be drawn. The checks for valid userdefined graphs were tightened in 2.19 and this may be why you managed to get an empty graph in 2.18b5 and an error now - I think it has to find at least one OK and none bad...

I will look into this and see if I can deal with this special case.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Thu Nov 06, 2008 11:18 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
Is there a way to diagnose which items are failing , Using 2.18b5 ?
Tia , JimL


Top
 Profile Send private message  
 
PostPosted: Thu Nov 06, 2008 11:21 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
If you enable debug mode in the routers2.conf then you should get a huge comment in the generate HTML revealing the actual RRDTool function call parameters. This would be of great help to me.

I'll also investigate the logic in the code.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Thu Nov 06, 2008 11:39 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
[quote="stevesh"]If you enable debug mode in the routers2.conf then you should get a huge comment in the generate HTML revealing the actual RRDTool function call parameters. This would be of great help to me.

I'll also investigate the logic in the code.[/quote]

Ok , debug = 1 .

where is the generated html supposed to appear ?

none of my user defined graphs seem to show anything other thatn their normal output .

tia, JimL


Top
 Profile Send private message  
 
PostPosted: Thu Nov 06, 2008 11:48 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
Fyi , This is not the rrd pull for one of the erroring graphs . I'd have to copy the new .cgi over to being active for that .
Do you want output like below for one of the erroring graphs ?

I hope this is part of what you are looking for ...
[code]<!-- Start comment -->
<!--
rrdtool graph /var/www/htdocs/router2cgi/graphs/cp-sw01.cfg-_cp-sw01_19I-IE-d-x2.png --imgformat PNG --base 1000 --lazy --interlaced --force-rules-legend --slope-mode -e 1225924800 -s end-2000m -u 0.1 -w 800 -h 200 --x-grid HOUR:1:HOUR:24:HOUR:2:0:%k --title 19 & 19 Error Rates IN/OUT --vertical-label traffic in bps HRULE:90000000#444444:90% Mark ( 90 Mbps)\l HRULE:100000000#555555:AbsMax ( 100 Mbps)\l DEF:in1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_19.rrd:ds0:AVERAGE DEF:out1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_19.rrd:ds1:AVERAGE CDEF:wdtest=in1,POP,TIME,3600,/,-9,+,DUP,24,/,7,%,DUP,4,LT,EXC,2,GE,+,2,LT,EXC,24,%,DUP,7,GE,EXC,21,LT,+,2,EQ,1,0,IF,0,IF CDEF:wd=wdtest,INF,0,IF AREA:wd#ffffcc CDEF:fin1=in1,8,* CDEF:fout1=out1,8,* DEF:min1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_19.rrd:ds0:MAX DEF:mout1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_19.rrd:ds1:MAX CDEF:fmin1=min1,8,* CDEF:fmout1=mout1,8,* CDEF:pcin1=fin1,100,*,90000000,/ CDEF:mpcin1=fmin1,100,*,90000000,/ CDEF:pcout1=fout1,100,*,90000000,/ CDEF:mpcout1=fmout1,100,*,90000000,/ COMMENT:19 19 -- CP-SW01\:\l LINE1:fin1#0000ff:Incoming traffic LINE1:fout1#00ff00:Outgoing traffic\l GPRINT:fmin1:MAX:Max In\: %6.2lf %sbps\g GPRINT:mpcin1:MAX: (%2.0lf%%)\g GPRINT:fin1:AVERAGE: Avg In\: %6.2lf %sbps\g GPRINT:pcin1:AVERAGE: (%2.0lf%%)\g GPRINT:fin1:LAST: Cur In\: %6.2lf %sbps\g GPRINT:pcin1:LAST: (%2.0lf%%)\g COMMENT:\l GPRINT:fmout1:MAX:Max Out\:%6.2lf %sbps\g GPRINT:mpcout1:MAX: (%2.0lf%%)\g GPRINT:fout1:AVERAGE: Avg Out\:%6.2lf %sbps\g GPRINT:pcout1:AVERAGE: (%2.0lf%%)\g GPRINT:fout1:LAST: Cur Out\:%6.2lf %sbps\g GPRINT:pcout1:LAST: (%2.0lf%%)\g COMMENT:\l CDEF:greyout=0,in1,UN,+,out1,UN,+,1,1,+,EQ,INF,0,IF AREA:greyout#d0d0d0 COMMENT:Wed Nov 5 13\:40\:00 2008\r
-->
<!-- end comment -->[/code]


Top
 Profile Send private message  
 
PostPosted: Thu Nov 06, 2008 4:42 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
That's the thing I'm after. It should be in the HTML on the crentral (graph) frame, even if no graph is created.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Thu Nov 06, 2008 5:05 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
I've checked the code: this is the message which appears if the call to RRDgraph completes without error, but no graph image is created. This should be impossible - if RRDTool fails to create an image, it is supposed to set the error status to explain the reason.

Oddly, this part of the code has not been updated.

One remote possibility is that there are backstrokes in the filename (unlikely as you use unix).

Another possibility is that the new 2.19 is using RRDTool options which are not available in your version of RRDTool. Can you tell me which version you are running? There are several checks in the code to disable certain parts for older versions of RRDTool but some may have been missed out. If it is v1.0.x then you should upgrade to 1.2.x in order to get better image rendering in any case.

If you can give me the debug comment output it will help to track this one down.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Fri Nov 07, 2008 7:34 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
RRD Version ,
/usr/local/rrdtool/bin/rrdtool --version
RRDtool 1.2.26 Copyright 1997-2007 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Feb 22 2008 10:01:43

No '\' in the .cfg's (unless # is at beginning of the line) .


mind you the formatting below is just as copied from the 'Source of...' using Firefox on an offending frame .
Also this is from the same .cfg with a failing item as inserted/reported above .
Tia , JimL


RRD comment from errored graph ... See below for a working request there is a HUGE difference .

[code]<!-- Start comment -->
<!--
rrdtool graph /var/www/htdocs/router2cgi/graphs/cp-sw01.cfg-_cp-sw01_4I-IE-ds-x2.png
--imgformat
PNG
--base
1000
--interlaced
--force-rules-legend
--slope-mode
-e
1225995900
-s
end-1500m
-u
0.1
-w
570
-h
150
--x-grid
HOUR:1:HOUR:24:HOUR:2:0:%k
--title
4 & 4 Error Rates IN/OUT
--vertical-label
traffic in Bps
COMMENT:Thu Nov 6 09\:25\:00 2008\r
-->
<!-- end comment -->[/code]


This comment area is from a graph that gets displayed ...

[code]<!-- Start comment -->
<!--
rrdtool graph /var/www/htdocs/router2cgi/graphs/cp-sw01.cfg-_cp-sw01_3I-IE-ds-x2.png
--imgformat
PNG
--base
1000
--interlaced
--force-rules-legend
--slope-mode
-e
1225995900
-s
end-1500m
-u
0.1
-w
570
-h
150
--x-grid
HOUR:1:HOUR:24:HOUR:2:0:%k
--title
3 & 3 Error Rates IN/OUT
--vertical-label
traffic in Bps
DEF:in1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_3.rrd:ds0:AVERAGE
DEF:out1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_3.rrd:ds1:AVERAGE
CDEF:wdtest=in1,POP,TIME,3600,/,-9,+,DUP,24,/,7,%,DUP,4,LT,EXC,2,GE,+,2,LT,EXC,24,%,DUP,7,GE,EXC,21,LT,+,2,EQ,1,0,IF,0,IF
CDEF:wd=wdtest,INF,0,IF
AREA:wd#ffffcc
CDEF:fin1=in1,8,*
CDEF:fout1=out1,8,*
DEF:min1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_3.rrd:ds0:MAX
DEF:mout1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_3.rrd:ds1:MAX
CDEF:fmin1=min1,8,*
CDEF:fmout1=mout1,8,*
LINE1:fin1#0000ff
LINE1:fout1#00ff00
PRINT:fmin1:MAX:<b>In\: </b> Max %6.2lf %sBps,
PRINT:fin1:AVERAGE:Avg %6.2lf %sBps,
PRINT:fin1:LAST:Last %6.2lf %sBps <br />
PRINT:fmout1:MAX:<b>Out\:</b> Max %6.2lf %sBps,
PRINT:fout1:AVERAGE:Avg %6.2lf %sBps,
PRINT:fout1:LAST:Last %6.2lf %sBps <br />
CDEF:greyout=0,in1,UN,+,out1,UN,+,1,1,+,EQ,INF,0,IF
AREA:greyout#d0d0d0
COMMENT:Thu Nov 6 09\:25\:00 2008\r
-->
<!-- end comment -->[/code]


Top
 Profile Send private message  
 
PostPosted: Fri Nov 07, 2008 7:46 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
Steve , Tho if I click on the 'Error' for that interface I do get a graph , Please see attached file with full webpage of that graphed item that is erroring .
Hth , JimL

[attachment=0]routers2.cgi-2.zip[/attachment]


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group