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!
rrd mrtg output no graph cacti
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 4 guests