rrd mrtg output no graph cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cagnasso
Posts: 4
Joined: Mon Oct 07, 2002 8:39 pm
Location: new caledonia
Contact:

rrd mrtg output no graph cacti

Post by cagnasso »

hi,
i made with MRTG,RRDTOOL , put it in /rra.
but no graph ?


the mrtg cfg :
BodyTag[_]: <body bgcolor="#cccccc">

LogFormat: rrdtool
PathAdd: /usr/local/rrdtool/bin/
LibAdd: /usr/lib/perl5/site_perl/5.6.0/i386-linux/
XSize[_]: 230
YSize[_]: 100
Colours[_]: LIGHT BLUE#7aafff,RED#FF0000,DARK BLUE#000066,VIOLET#ff00ff,GREEN#00ff00
BodyTag[_]: <BODY BGCOLOR=#006699 TEXT=#FFFFFF LINK=#FFFFFF>
Options[_]:growright
WorkDir: /var/www/html/cacti/rra

Target[PixBuf256]: 1.3.6.1.4.1.9.9.147.1.2.2.1.1.4.256.8&1.3.6.1.4.1.9.9.147.1.2.2.1.1.4.256.3:public@192.168.100.107

Title[PixBuf256]: 256 Buffers Used, PIX
Ylegend[PixBuf256]: Buffers
LegendI[PixBuf256]: Current 256 Buffers Used
LegendO[PixBuf256]: Max 256 Buffers
ShortLegend[PixBuf256]: Buffers
Options[PixBuf256]: absolute, gauge, growright, nopercent, integer, noinfo
MaxBytes[PixBuf256]: 2000
PageTop[PixBuf256]: <H1>256 Buffers Used, PIX</H1>



i make the data source, and i have :

/usr/bin/rrdtool create \
/var/www/html/cacti/rra/pixmem.rrd
--step 300 \
DS:pixmem:GAUGE:600:0:1 \
RRA:AVERAGE:0.5:1:600 \
RRA:MAX:0.5:1:600 \


Graph ouput looks like this -

/usr/bin/rrdtool graph - \
--imgformat=PNG
--start="-86400"
--title="mempix"
--base=1000
--height=120
--width=500
--alt-autoscale
--vertical-label=""
DEF:a="/var/www/html/cacti/rra/pixmem.rrd":pixmem:AVERAGE \
AREA:a#0000FF:""
LINE1:a#0000FF:""

Many thanks for your help on this!
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

By default MRTG uses the data source names 'ds0' and 'ds1'. You will need to go into the settings for this data source in cacti and change 'pixmem' to 'ds0' for internal data source name.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests