Im in way over my head with linux and pretty much know hardly anything about it. Therefore, please go easy on me
I have managed to get Ubuntu up and running with MySQL, PHP, Apache2, Webmin etc
I have now put cacti on it and have most of it up and running however the graphs do not want to retrieve any data...
My graph consists of just simple interface stats from my inter-vlan router and my gateway router, both of which are cisco 1721s and both I have setup to get SNMP data from as I am a Cisco Network Engineer by trade.
I thought this might be an issue with the cronjob at first, but I modified /etc/cron.d/cacti to what it says in lvm's nan guide and now i am getting this...
When i go to graph management and check one of the graph templates i get this...
Code: Select all
RRDTool Command:
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Gateway - Traffic - Di0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/var/www/cacti/rra/gateway_traffic_in_12.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/cacti/rra/gateway_traffic_in_12.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefa#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
OK
Any help greatly appreciated.