I've just installed Cacti 0.8.6j on OS X Server 10.4.8 with Apache 2.2 and PHP4.
I want to monitor a remote server running Fedora Core 3. (especially bandwidth usage)
The /etc/snmp/snmpd.conf file in FC3 says:
Code: Select all
syslocation Something
syscontact "root@someone.com"
# auth
rocommunity public
# disk monitoring
disk /
In Cacti, I've added the Fedora machine to the machines.
RRDTool on the local machine is set to 1.2.19, NET-SNMP is version 5.
When I add a "Unix - Load Average" template, it works instantly, and the graphs appear in the rra/ directory and also in the Cacti views.
Now in Graph Management, I add a template called "Interface (Traffic - bytes/sec, Total Bandwidth).
I turn on graphics debugmode and get the following:
Code: Select all
RRDTool Command:
/opt/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="xxxxx (xxxxxxxxxxx) - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
AREA:#00CF00:"Inbound" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:#002A97:"Outbound" \
GPRINT::LAST:"Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: parameter '#00CF00' does not represent a number in line AREA:#00CF00:Inbound
Various searches through this forum and Google Groups gave only limited results and so far I'm stuck.
Thanks in advance!
Gijs Nijholt
The Netherlands