Graph Issues
Moderators: Developers, Moderators
-
- Posts: 7
- Joined: Wed Dec 02, 2009 2:41 pm
Graph Issues
Hi,
I have setup a new installation of Cacti with the following software versions:
Windows Server 2003 R2 SP2
IIS 6
cacti 0.8.7e
mysql 5.1.41
php 5.3.1
net-snmp 5.5.0.1
rrdtool 1.2.30
I have added a couple of devices and associated graphs, which look to be getting populated with data. I have added the graphs to a graph tree. When I click on the graph tree under "Graphs", the graph images don't display. However, if I click on a graph to view more detailed information, I see the correct images with data.
Clicking on Graph Source/Properties gives the following:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1259697333 \
--end=1259783733 \
--title="Harrogate ASA 5510 - Traffic - Inside Interface" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2009/12/01 19:55:33 To 2009/12/02 19:55:33\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
DEF:a="C\:/Inetpub/wwwroot/Cacti/rra/harrogate_asa_traffic_in_9.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/Cacti/rra/harrogate_asa_traffic_in_9.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\n"
Please can you assist?
Thanks
I have setup a new installation of Cacti with the following software versions:
Windows Server 2003 R2 SP2
IIS 6
cacti 0.8.7e
mysql 5.1.41
php 5.3.1
net-snmp 5.5.0.1
rrdtool 1.2.30
I have added a couple of devices and associated graphs, which look to be getting populated with data. I have added the graphs to a graph tree. When I click on the graph tree under "Graphs", the graph images don't display. However, if I click on a graph to view more detailed information, I see the correct images with data.
Clicking on Graph Source/Properties gives the following:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1259697333 \
--end=1259783733 \
--title="Harrogate ASA 5510 - Traffic - Inside Interface" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2009/12/01 19:55:33 To 2009/12/02 19:55:33\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
DEF:a="C\:/Inetpub/wwwroot/Cacti/rra/harrogate_asa_traffic_in_9.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/Cacti/rra/harrogate_asa_traffic_in_9.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\n"
Please can you assist?
Thanks
wrong rrdtool version in cacti's settings.
| 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: 7
- Joined: Wed Dec 02, 2009 2:41 pm
Hi,
I've checked the RRD versions and the version I am using matches the version set in Cacti i.e. 1.2.30.
Having reinstalled the Cacti portion to see if I can resolve the problem, I now seem to have the opposite problem, that is, I can see the graphs now in the main tree view but when I click on a graph I get 'page cannot be found' . The URL that is displayed is
http://10.40.24.31/cacti/graph.php?acti ... raph_id=10
The Windows Scheduled task for the Cacti poller and the website are running using an account with administrative rights on the machine.
Any further helpwould be appreciated.
Thanks
I've checked the RRD versions and the version I am using matches the version set in Cacti i.e. 1.2.30.
Having reinstalled the Cacti portion to see if I can resolve the problem, I now seem to have the opposite problem, that is, I can see the graphs now in the main tree view but when I click on a graph I get 'page cannot be found' . The URL that is displayed is
http://10.40.24.31/cacti/graph.php?acti ... raph_id=10
The Windows Scheduled task for the Cacti poller and the website are running using an account with administrative rights on the machine.
Any further helpwould be appreciated.
Thanks
Cacti has some issues with php 5.3. It's recommended you stick with the latest 5.2.x branch.
Do graphs work in Graph Management?
Do graphs work in Graph Management?
| 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: 7
- Joined: Wed Dec 02, 2009 2:41 pm
Make sure there is only one copy of php.ini on your system.
Try creating a new tree for the graph(s).
Look in the IIS web logs for hints on why the page cannot be displayed.
The fact graphs work in Graph Management, shows that permissions, etc are all configured properly for cacti/rrdtool.
Try creating a new tree for the graph(s).
Look in the IIS web logs for hints on why the page cannot be displayed.
The fact graphs work in Graph Management, shows that permissions, etc are all configured properly for cacti/rrdtool.
| 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: 7
- Joined: Wed Dec 02, 2009 2:41 pm
Hi,
there is only one copy of php.ini,also the IIS log file only shows the fllowing:
2009-12-05 14:18:15 W3SVC1 10.40.24.31 GET /cacti/graph.php action=view&rra_id=all&local_graph_id=6 80 - 10.40.24.31 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30;+.NET+CLR+3.0.04506.648) 404 0 2
I have attached the php.ini file.
Thanks again.
there is only one copy of php.ini,also the IIS log file only shows the fllowing:
2009-12-05 14:18:15 W3SVC1 10.40.24.31 GET /cacti/graph.php action=view&rra_id=all&local_graph_id=6 80 - 10.40.24.31 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30;+.NET+CLR+3.0.04506.648) 404 0 2
I have attached the php.ini file.
Thanks again.
- Attachments
-
- php.ini.txt
- (48.89 KiB) Downloaded 150 times
-
- Posts: 7
- Joined: Wed Dec 02, 2009 2:41 pm
Hmm , wonder what the php reinstall fixed.
| 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