Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[SOLVED] RRD Tool says:

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific
Author Message
cahonis



Joined: 06 Jun 2008
Posts: 48

PostPosted: Thu Aug 21, 2008 10:56 am    Post subject: [SOLVED] RRD Tool says: Reply with quote

Code:
ERROR: Could not make sense out of '%s   GPRINT:a:AVERAGE:Average\:%8.2lf'

Im getting the above error on some hosts trying to graph the HDD usage.

Here's the complete graph debug:
Code:
D:\Cacti\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="LON-NOTESMAIL02 - Available Disk Space - C:\" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:8:C:\Windows\Fonts\Verdanab.ttf \
--font AXIS:8:C:\Windows\Fonts\Verdana.ttf \
--font LEGEND:8:C:\Windows\Fonts\Verdana.ttf \
--font UNIT:8:C:\Windows\Fonts\Verdana.ttf \
DEF:a="D\:/cacti/rra/lon-notesmail02_hdd_used_5803.rrd":hdd_total:AVERAGE \
DEF:b="D\:/cacti/rra/lon-notesmail02_hdd_used_5803.rrd":hdd_used:AVERAGE \
AREA:a#002A97FF:"Total"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
AREA:b#F51D30FF:"Used"  \
GPRINT:b:LAST:" Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"


Other hosts using the same template are fine.
The .rrd files are being updated so the data is being collected, just not displayed correctly on the graphs.

Cacti 0.8.7b
RRDTool 1.2.23
Boost 1.7

Would upgrading to RRDTool 1.3 be worthwhile?


Last edited by cahonis on Sat Aug 23, 2008 3:09 am; edited 1 time in total
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 6795
Location: WA, USA

PostPosted: Fri Aug 22, 2008 1:27 am    Post subject: Reply with quote

I'd suggest upgrading rrdtool to 1.2.26 or better. Could try 1.3 to I suppose -- I haven't yet.

You said only a few graphs are having that problem? Did you edit them or something? Compare the output of two HDD usage graphs, one broken and working. Where are the differences ?
Back to top
cahonis



Joined: 06 Jun 2008
Posts: 48

PostPosted: Fri Aug 22, 2008 8:07 am    Post subject: Reply with quote

I upgraded RRDTool to 1.2.28 and refreshed all the graphs - voila, all displaying correctly!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group