No Graphik

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
torsten_h
Posts: 4
Joined: Wed Sep 14, 2005 5:45 am

No Graphik

Post by torsten_h »

Hi @all,

I use the aktuell version of cacti, but I can't see any graphik. now I read the other bullitens and I found out, that the .rrd-files propably created. and the debug from the graphik site locks like that

Warning: popen(c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Backbone Switch - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" --slope-mode DEF:a="C\:/cacti/rra/backbone_switch_5min_cpu_9.rrd":5min_cpu:AVERAGE AREA:a#FF0000:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf" 2>&1,rb) [function.popen]: No error in C:\cacti\lib\rrd.php on line 94

Warning: fgets(): supplied argument is not a valid stream resource in C:\cacti\lib\rrd.php on line 117

What i see is that the path to the graphik is not ok. where can I correct this?

Thnak and nice greatings

torsten
User avatar
quirijn.taudinchabot@sand
Posts: 6
Joined: Wed Sep 14, 2005 4:01 am

Post by quirijn.taudinchabot@sand »

Just posted a simmilar issue in another topic... (previous post)

looks like it tries to write to C\:/**** ???

quirijn.taudinchabot@sand wrote:So, the topic's subject is describing my problem, but I dont get it to work...

I use WinXP, build in IIS, php, mysql and cactid all latest versions, rrdtool from the cactiwebsite, but still:

09/14/2005 12:31:14 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1126692074 --end=1126693874 --title="NLPSW5 - Traffic - Gi0/2" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-09-14 12\:01\:14 To 2005-09-14 12\:31\:14\c" COMMENT:" \n" --vertical-label="bytes per second" --slope-mode DEF:a="C\:/cacti/rra/nlpsw4_traffic_in_81.rrd":traffic_in:AVERAGE DEF:b="C\:/cacti/rra/nlpsw4_traffic_in_81.rrd":traffic_out:AVERAGE AREA:a#00CF00:"" COMMENT:"" LINE1:b#002A97:"" COMMENT:""

notice the strange path: C\:/****** , what is going wrong here??
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

torsten_h: Did you give your cactiuser read/execute rights to cmd.exe ?
What versionf of everything are you running?

quirijn.taudinchabot@sand: start your own thread.
torsten_h
Posts: 4
Joined: Wed Sep 14, 2005 5:45 am

Which versions

Post by torsten_h »

cacti 0.8.6g
mysql 4.1.14
rrdtool 1.2.10
cactid 0.8.6.e
all programms for windows.

yes I give my cacti user the rights its an administrator and I have also files in the rra-directory. An other importend information is, that I have no problems to export the graphik with the exportfunktion.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You're using the Cygwin build of rrdtool?
Did you tell cacti you're using the 1.2 version?
torsten_h
Posts: 4
Joined: Wed Sep 14, 2005 5:45 am

Post by torsten_h »

Hi,

Yes. I choose on 'RRDTool Utility Version' RRDTool 1.2.x.
And I use the cgwin Version of the RRDTool. In version 1.2.11
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The funky back slash thingy is an escape character, required for RRDtool. My questions are instead: 1) are you running php in safe mode? 2) are you running fastcgi in IIS or isapi in either IIS or some other web server?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
torsten_h
Posts: 4
Joined: Wed Sep 14, 2005 5:45 am

Post by torsten_h »

Hi, I run the IIS ins isapi mode. where can I see, wehter the php runs in safemode?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

put a file called php_info.php in your web root. Include in that file 1 line:

Code: Select all

<?php phpinfo(); ?>
Point your browser to it.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
joed
Posts: 29
Joined: Mon Sep 19, 2005 6:27 am
Location: Germany/Palatinate

Post by joed »

check your "RRDTool Default Font Path". You MUST specify a path.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests