cacti can creat .rra,but aways 93KB;
RRDTOOL Error:
RRDTool Command:
GRAPH ACCESS DENIED
RRDTool Says:
GRAPH ACCESS DENIED
php5.1.6
mysql 4.1.2
cacti0.6.8i
cactid0.6.8i-cygwin-1.5.21
rrdtool1.2.12
net-snmp-5.4.0-1
NO Graph!
Moderators: Developers, Moderators
Read my installation guide http://forums.cacti.net/viewtopic.php?t=11747
You need to correctly set the NTFS permissions.
You need to correctly set the NTFS permissions.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
in lib\rrd.php
$access_denied = !(is_graph_allowed($local_graph_id));
result is 1
if I set $access_denied =false; rrdtool return the error:
RRDTool Says:
Warning: popen(c:/cactid/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Dcrs7508 - Traffic - ethernet1/1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" --slope-mode DEF:a="D\:/InetPub/cacti-0.8.6i/rra/dcrs7508_traffic_in_12.rrd":traffic_in:AVERAGE DEF:b="D\:/InetPub/cacti-0.8.6i/rra/dcrs7508_traffic_in_12.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=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:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb) [function.popen]: No error in D:\InetPub\cacti-0.8.6i\lib\rrd.php on line 94
Warning: fgets(): supplied argument is not a valid stream resource in D:\InetPub\cacti-0.8.6i\lib\rrd.php on line 117
$access_denied = !(is_graph_allowed($local_graph_id));
result is 1
if I set $access_denied =false; rrdtool return the error:
RRDTool Says:
Warning: popen(c:/cactid/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Dcrs7508 - Traffic - ethernet1/1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" --slope-mode DEF:a="D\:/InetPub/cacti-0.8.6i/rra/dcrs7508_traffic_in_12.rrd":traffic_in:AVERAGE DEF:b="D\:/InetPub/cacti-0.8.6i/rra/dcrs7508_traffic_in_12.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=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:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb) [function.popen]: No error in D:\InetPub\cacti-0.8.6i\lib\rrd.php on line 94
Warning: fgets(): supplied argument is not a valid stream resource in D:\InetPub\cacti-0.8.6i\lib\rrd.php on line 117
There is no need to edit php code. You have NOT correctly set NTFS permissions on the files cacti needs. Read the installation guide in my signature and re-apply NTFS security. Pay attention to the files in the cacti directory, rrdtool.exe and cmd.exe.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests