RRDTool error on some hosts

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
mrscary
Cacti User
Posts: 149
Joined: Tue Aug 26, 2014 2:58 pm

RRDTool error on some hosts

Post by mrscary »

Ok 99% of everything is graphing properly.. but i am finding a couple of my hosts acting strange.
One host in particular, i can watch the graphs of his Mem, Disk, etc in real time, but it's not generating a graph.
BUT i have a graph to show me how many processes are running, and that one works.

When i put a graph that is just showing me RRDTool Error in debug mode, below is my result
RRDtool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start="-86400" \
--end="-300" \
--pango-markup \
--title="COMPUTERNAME - Traffic - wireless_32768" \
--vertical-label="bits per second" \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--rigid \
--alt-autoscale-max \
--lower-limit="0" \
COMMENT:"From 09/10/2020 06\:15\:17 To 09/11/2020 06\:10\:17\c" \
COMMENT:" \n" \
--border 1 --font TITLE:14:"Times New Roman bold" \
--font AXIS:12:"arial bold" \
--font LEGEND:12:"arial bold" \
--font UNIT:14:"arial bold" \
--font WATERMARK:8: \
--slope-mode \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/COMPUTERNAME_traffic_in_1250.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/COMPUTERNAME_traffic_in_1250.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdeff="b,8,*" \
CDEF:cdefbe="b,8,*,-1,*" \
LINE1:cdefa#00CF00FF: \
AREA:cdefa#00CF007F:"Inbound " \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdeff#002A97FF: \
LINE1:cdefa#005D57FF:"Peak Usage\n" \
AREA:cdeff#002A977F:"Outbound " \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:" \n" \
HRULE:0#FF0000FF:"95th Percentile" \
COMMENT:"(0 mbit in+out)" \
LINE1:cdefbe#0000AAFF:"Peak Usage\n"
RRDtool Command lengths = 1312 charaters.
RRDtool Says:
ERROR: short read while reading header rrd->stat_head


so, What the heck is this short read error , and what should I do to fix it?
mrscary
Cacti User
Posts: 149
Joined: Tue Aug 26, 2014 2:58 pm

Re: RRDTool error on some hosts

Post by mrscary »

anyone got any input on this one?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: RRDTool error on some hosts

Post by TheWitness »

Looks like disk corruption. You may have to delete the RRDfile and let Cacti re-create it.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mrscary
Cacti User
Posts: 149
Joined: Tue Aug 26, 2014 2:58 pm

Re: RRDTool error on some hosts

Post by mrscary »

i will try that and let you know for sure.
mrscary
Cacti User
Posts: 149
Joined: Tue Aug 26, 2014 2:58 pm

Re: RRDTool error on some hosts

Post by mrscary »

i deleted all the rrd files for this host under cacti/rrd.
i refreshed the page where i was looking at the graph's debug page. it made a new rrd file, but same error.
mrscary
Cacti User
Posts: 149
Joined: Tue Aug 26, 2014 2:58 pm

Re: RRDTool error on some hosts

Post by mrscary »

waited for a new cycle time.. now i get the "OK"..
weird as this is an issue i started seeing on the latest revision of CACTI on windows.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: RRDTool error on some hosts

Post by TheWitness »

Could be a problem with the version of RRDtool. You should look for something more recent.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mrscary
Cacti User
Posts: 149
Joined: Tue Aug 26, 2014 2:58 pm

Re: RRDTool error on some hosts

Post by mrscary »

i am running 1.7.2.
i notice cacti has a drop down for 1.8, but i cant find 1.8 for windows to download.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: RRDTool error on some hosts

Post by TheWitness »

Maybe go in the other direction then.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests