Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-24-2009, 10:14 PM   #1
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Issue with rrdtool not displaying graph?

I have rrdtool RPM installed on my new CentOS 5.2.I have designed a HTML page where the rrdtool create graph into.
        <title>Monitoring the Servers</title>
        <meta http-equiv="refresh" content="60" />
        <img src="imgs/13000.png"/><br/>
        <img src="imgs/13200.png"/><br/>
        <img src="imgs/86400.png"/><br/>
        <img src="imgs/86500.png"/><br/>
        <img src="imgs/12000.png"/><br/>
        <img src="imgs/32000.png"/><br/>
        <img src="imgs/46400.png"/><br/>
        <img src="imgs/36400.png"/><br/>
Small snippet of code from where its getting filled from:

cd /monitor/gra

END=`rrdtool last comma1.rrd`

#for x in 13000 86400 864000; do
for x in 13000 86400; do


if [ $x = '13000' ]; then TYPE=LAST; fi


rrdtool graph $DOCROOT/imgs/commaAvg_web_$x.png \
    -a PNG \
    -r \
    -l 0 \
    -h ${HEIGHT} \
    -w ${WIDTH} \
    -s ${START} \
    -e ${END} \
    -t "1 Min Load Average For All Web Servers" \
    DEF:ws4=Comma1:$TYPE \
    DEF:ws6=Comma2.rrd:CommaAvg:$TYPE \
    DEF:ws7=Comma3.rrd:CommaAvg:$TYPE \
    DEF:ws8=Comma4.rrd:CommaAvg:$TYPE \
    LINE1:ws4#0000CC:"Comma1" \
    LINE1:ws6#00CCCC:"Comma2" \
    LINE1:ws7#CC00CC:"Comma3" \
    LINE1:ws8#00CC00:"tvl10web08" \
But its not displaying the graph but just displays X and Y axis.
any suggestions?

Last edited by your_shadow03; 11-24-2009 at 10:22 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MRTG Graph Issue predatorz Linux - Software 3 10-06-2007 09:01 PM
Issue when trying to ./configure RRDtool-1.2.23 lehumphr Linux - Software 4 08-07-2007 09:52 AM
rrdtool sidharth.nitj Linux - Software 3 03-21-2007 12:09 AM
rrdtool tommytomato Linux - Networking 0 02-23-2005 06:43 AM
use of rrdtool herc Linux - Software 1 09-22-2003 08:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration