No Graphik
Moderators: Developers, Moderators
No Graphik
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" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"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
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" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"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
- quirijn.taudinchabot@sand
- Posts: 6
- Joined: Wed Sep 14, 2005 4:01 am
Just posted a simmilar issue in another topic... (previous post)
looks like it tries to write to C\:/**** ???
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??
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.
What versionf of everything are you running?
quirijn.taudinchabot@sand: start your own thread.
| 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 |
Which versions
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.
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.
You're using the Cygwin build of rrdtool?
Did you tell cacti you're using the 1.2 version?
Did you tell cacti you're using the 1.2 version?
| 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 |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
put a file called php_info.php in your web root. Include in that file 1 line:
Point your browser to it.
TheWitness
Code: Select all
<?php phpinfo(); ?>
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest