I have a cacti install consisting of the following components:
- windows 2003 server R2 x64
- cacti 8.7.e
- IIS 6 webserver
- php 5.2.13
- mysql 5.1.45
- rrdtool 1.3.8
- net-snmp 5.5.0-2
my test host (the cacti server itself) is responding to snmp requests, generating rrd files and polling correctly. But the graphs are not being generated. When turning on graph debugging i get the following response:
Code: Select all
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cacti01.domeintje.local - Traffic - 192.168.1.234 (Intel(R) PRO/10)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/htdocs/rra/cacti01_domeintje_local_traffic_in_12.rrd":traffic_in:AVERAGE \
DEF:b="C\:/htdocs/rra/cacti01_domeintje_local_traffic_in_12.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
\
HRULE:11042.61#FF0000FF:"95th Percentile" \
COMMENT:"(0.01 mbit in+out)\n"
RRDTool Says:
I have tried several things to fix this:
- Check permissions on c:\htdocs\ (for IISUSRS, CACTIUSR).
- Check permissions on c:\rrdtool\ (for IISUSRS, CACTIUSR).
- Check permissions on c:\php\ (for IISUSRS, CACTIUSR).
- Check permissions on c:\net-snmp\ (for IISUSRS, CACTIUSR).
- Check permissions on c:\windows\system32\cmd.exe (for IISUSRS, CACTIUSR).
- check execute permissions in iis 6, these are on.
- run iis 6 site and apppool under a local user 'CACTIUSR', no change.
- Cacti logging in debug mode, no obvious errors.
- PHP error logging, no obvious errors.
- PATH variables, php, rrtool and net-snmp paths are present.
Since the rrd files are being updated i dont suspect a permission problem. But i honestly dont know where to look. Anyone have any ideas?
Below a snippet of the rrdtool.exe update command:
Code: Select all
03/24/2010 11:12:01 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\htdocs\rra\cacti01_domeintje_local_cpu_13.rrd --template cpu 1269425521:0
03/24/2010 11:12:01 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\htdocs\rra\cacti01_domeintje_local_traffic_in_12.rrd --template traffic_in:traffic_out 1269425521:23481198:6137151
03/24/2010 11:12:01 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\htdocs\rra\cacti01_domeintje_local_cpu_14.rrd --template cpu 1269425521:0