HELLLLLLLLLLLP. This is driving me nuts
I am running
cacti 0.8.6b with all new patches
mysql 4.0.2.1
php 5.0.2
when I go to Devices, click on my device, go to the associated Graph template field, it says
1) Interface - Traffic (bits/sec) Is Being Graphed (Edit)
I click on (edit)
then I see
RRDTool Says:
Warning: popen(c:\cacti\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="pipeline - Traffic - 192.168.0.254 (ie0)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\cacti/rra/pipeline_traffic_in_161.rrd":traffic_in:AVERAGE DEF:b="C\:\cacti/rra/pipeline_traffic_in_161.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 C:\cacti\lib\rrd.php on line 88
Warning: fgets(): supplied argument is not a valid stream resource in C:\cacti\lib\rrd.php on line 111
The poller is working, it even creates exported graphs which I can view , the rrd files are created and updated, but from within cacti I do not see any graphs.
I have two windows 2000 server running with cacti fine(at work), so I decided to run it on my WindowsXP Pro at home, and I can not get it to work.
c:\cacti\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=1102356752 \
--end=1102443152 \
--title="pipeline - Traffic - 192.168.0.254 (ie0)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2004/12/06 19:12:32 To 2004/12/07 19:12:32\c" \
COMMENT:"\n" \
--vertical-label="bits per second" \
DEF:a="C\:\cacti/rra/pipeline_traffic_in_164.rrd":traffic_in:AVERAGE \
DEF:b="C\:\cacti/rra/pipeline_traffic_in_164.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"
Can anybody see any error here, the poller cache looks fine
Data Source: pipeline - Traffic - 192.168.0.254/ie0
RRD: C:\cacti\rra\pipeline_traffic_in_164.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.4 (Host: 192.168.0.254, Community: public)
Data Source: pipeline - Traffic - 192.168.0.254/ie0
RRD: C:\cacti\rra\pipeline_traffic_in_164.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.4 (Host: 192.168.0.254, Community: public)
I am wondering about
DEF:a="C\:\cacti/rra/pipeline_traffic_in_161.rrd":traffic_in:AVERAGE
the path is not correct !!!!!!!!!! if its a path!
where does this come from..I would appreciate help from someone who has had such an issue,
Thank you in advance.....
Help, no graphs from within cacti !
Moderators: Developers, Moderators
Help, no graphs from within cacti !
LIfe is very hard without the proper tools.....I am but a Slave...
Thank God
Sorry people, but in the meantime I found a post that help me deal with this problem.
Please note cmd.exe must be set so that IUSR for the IIS has execute privilages.....
now everything is oK
How silly of me.....sorry for the waste of bandwidth....
Please note cmd.exe must be set so that IUSR for the IIS has execute privilages.....
now everything is oK
How silly of me.....sorry for the waste of bandwidth....
LIfe is very hard without the proper tools.....I am but a Slave...
Who is online
Users browsing this forum: No registered users and 1 guest