All the graphs without these parameters work just fine,
Polling works,
I've read through the entire forum regarding graphs not being displayed and haven't figured this one out ....
env : windows XP pro sp2
cacti ver : 0.8.6j
php ver : tryed with both 5.2.1.1 and 5.2.0
cactid : 0.8.6.i.
When I go into the PHP code itself and remove the "graph_start" and "graph_end" parameter concatination during image url creation, it works, but then I can't query certain timespans....
Image debug for bad image :
c:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1177853401 \
--end=1177939801 \
--title="Yoni - Used Space - C: Label: Seri" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2007/04/29 16:30:01 To 2007/04/30 16:30:01\c" \
COMMENT:" \n" \
--vertical-label="bytes" \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_10.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_10.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
Image debug for good image :
c:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Yoni - Used Space - C: Label: Seri" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_10.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_10.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
help ?
Graphs with graph_Start and graph_end don't work (red X)
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Mon Apr 30, 2007 7:54 am
-
- Posts: 30
- Joined: Sat Apr 28, 2007 3:57 am
1) read http://forums.cacti.net/viewtopic.php?t=11747 entirely.
2) Use php 5.2.0, since php 5.2.1 has issues.
3) install ALL patches for cacti 0.8.6j.
4) Cactid does not do the graphing, rrdtool.exe does, so it will have zero affect on the graph outcome. cmd.php/cactid.exe are the pollers which collect data.
2) Use php 5.2.0, since php 5.2.1 has issues.
3) install ALL patches for cacti 0.8.6j.
4) Cactid does not do the graphing, rrdtool.exe does, so it will have zero affect on the graph outcome. cmd.php/cactid.exe are the pollers which collect data.
| 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 |
-
- Posts: 3
- Joined: Mon Apr 30, 2007 7:54 am
thanks for your reply BSOD2600, but :
1. I already did.
Maybe i missed out on some details :
I've applied the latest patches to cacti,
WebServer - IIS.
MySQL ver 5.0
RRDTool (Win32 ver)
While posting this reply I don't have access to the machine, I'll post Net-SNMP and CygWin versions first thing tommorow morning.
2. Already tried that, tried 5.2.1, didn't work, read the forums, reverted to 5.2.0, didn't work, reverted to 5.1.6 (after a LOT of searching for it), still didn't work.
3. I know. But it's part of the environment info that I thought I might include "just in case"....
Maybe i missed out on some details :
I've applied the latest patches to cacti,
WebServer - IIS.
MySQL ver 5.0
RRDTool (Win32 ver)
While posting this reply I don't have access to the machine, I'll post Net-SNMP and CygWin versions first thing tommorow morning.
2. Already tried that, tried 5.2.1, didn't work, read the forums, reverted to 5.2.0, didn't work, reverted to 5.1.6 (after a LOT of searching for it), still didn't work.
3. I know. But it's part of the environment info that I thought I might include "just in case"....
-
- Posts: 30
- Joined: Sat Apr 28, 2007 3:57 am
Who is online
Users browsing this forum: No registered users and 3 guests