Problem with graph export
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What does the Graph Debug syntax look like? Is the graph rendering?
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?
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?
The graph debug look good and is rendered correctly only the export of the secondary image create a problem.
The thumb of the first image is create correctly
The thumb of the first image is create correctly
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Localhost - Advanced Ping' \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit='10' \
--lower-limit='0' \
--units-exponent='1' \
--vertical-label='milliseconds' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/localhost_loss_8.rrd":min:AVERAGE \
DEF:b="/var/www/cacti/rra/localhost_loss_8.rrd":avg:AVERAGE \
DEF:c="/var/www/cacti/rra/localhost_loss_8.rrd":max:AVERAGE \
DEF:d="/var/www/cacti/rra/localhost_loss_8.rrd":loss:AVERAGE \
DEF:e="/var/www/cacti/rra/localhost_loss_8.rrd":dev:AVERAGE \
CDEF:cdefg=d,0,GT,d,2,GT,UNKN,INF,IF,UNKN,IF \
CDEF:cdefh=d,3,GT,d,5,GT,UNKN,INF,IF,UNKN,IF \
CDEF:cdefi=d,5,GT,d,10,GT,UNKN,INF,IF,UNKN,IF \
CDEF:cdefj=d,10,GT,d,15,GT,UNKN,INF,IF,UNKN,IF \
CDEF:cdefba=d,15,GT,d,50,GT,UNKN,INF,IF,UNKN,IF \
CDEF:cdefbb=d,50,GT,d,95,GT,UNKN,INF,IF,UNKN,IF \
CDEF:cdefbc=d,95,GT,d,100,GT,UNKN,INF,IF,UNKN,IF \
CDEF:cdefbd=d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,95,GT,INF,UNKN,IF,IF \
CDEF:cdefbf=e,2,/ \
CDEF:cdefbh=c,b,-,e,-,3,/ \
CDEF:cdefcd=d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF \
CDEF:cdefce=d,3,GT,d,5,GT,UNKN,b,IF,UNKN,IF \
CDEF:cdefcf=d,5,GT,d,10,GT,UNKN,b,IF,UNKN,IF \
CDEF:cdefcg=d,10,GT,d,15,GT,UNKN,b,IF,UNKN,IF \
CDEF:cdefch=d,15,GT,d,50,GT,b,INF,IF,UNKN,IF \
CDEF:cdefci=d,50,GT,d,95,GT,UNKN,b,IF,UNKN,IF \
CDEF:cdefcj=d,95,GT,d,100,GT,UNKN,b,IF,UNKN,IF \
LINE1:a:"" \
LINE1:b:"" \
LINE1:c:"" \
LINE1:d:"" \
LINE1:e:"" \
COMMENT:" Pkt Loss\:" \
AREA:cdefg#AFECEDFF:"1-2%" \
AREA:cdefh#55D6D3FF:"3-5%" \
AREA:cdefi#7CB3F1FF:"6-10%" \
AREA:cdefj#4668E4FF:"11-15%" \
AREA:cdefba#A150AAFF:"16-50%" \
AREA:cdefbb#FF00FFFF:"51-95%" \
AREA:cdefbc#F51D30FF:"96-100%" \
COMMENT:"Unknown\n" \
AREA:b#FFFFFFFF:"" \
AREA:cdefbf#333333FF:"":STACK \
AREA:cdefbf#555555FF:"":STACK \
AREA:cdefbh#888888FF:"":STACK \
AREA:cdefbh#AAAAAAFF:"":STACK \
AREA:cdefbh#CCCCCCFF:"":STACK \
GPRINT:d:AVERAGE:" Avg Loss\:%6.2lf%%" \
GPRINT:d:MAX:"Max Loss\:%6.2lf%%\n" \
COMMENT:" Latency\:" \
AREA:cdefcd#AFECEDFF:"" \
AREA:cdefce#55D6D3FF:"" \
AREA:cdefcf#7CB3F1FF:"" \
AREA:cdefcg#4668E4FF:"" \
AREA:cdefch#A150AAFF:"" \
AREA:cdefci#FF00FFFF:"" \
AREA:cdefcj#F51D30FF:"" \
GPRINT:a:AVERAGE:"Min\:%8.2lf ms" \
GPRINT:b:AVERAGE:"Avg\:%8.2lf ms" \
GPRINT:c:MAX:"Max\:%8.2lf ms" \
GPRINT:e:AVERAGE:"Dev\:%8.2lf ms\n" \
COMMENT:"Avg Latency\:" \
LINE1:b#00BD27FF:"
"
RRDTool Says:
OK
- Attachments
-
- thumb_5.png (24.21 KiB) Viewed 9461 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I think the final line of the graph template is using a special character that for whatever reason is being truncated. Can you edit the Graph Template and add some information to the last LINE1 in the text value field and see if the segfault goes away?
TheWitness
TheWitness
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests