I cannot see my graphs although RRD files are updated
Moderators: Developers, Moderators
I cannot see my graphs although RRD files are updated
Hello there,
Please help me with this Cacti installation.
Here is my system environment.
Windows Server 2003 SP1
PHP: 5.0.5, IIS6, RRDTool-cygwin-1.2.10 from cacti download, MySql 4.1.14, Net-Snmp 5.2.1.2-1, and Cacti 0.8.6g with all patches.
My problem is that I cannot see any graphs after installation of all the cacti and population of devices and graphs.
I have checked the cacti.log file and could not find any errors. Please help me to fix it.
I attach the log from one poll of my poller.php, the output of 'php-win c:\inetpub\wwwroot\cacti\cmd.php
Thanks
Please help me with this Cacti installation.
Here is my system environment.
Windows Server 2003 SP1
PHP: 5.0.5, IIS6, RRDTool-cygwin-1.2.10 from cacti download, MySql 4.1.14, Net-Snmp 5.2.1.2-1, and Cacti 0.8.6g with all patches.
My problem is that I cannot see any graphs after installation of all the cacti and population of devices and graphs.
I have checked the cacti.log file and could not find any errors. Please help me to fix it.
I attach the log from one poll of my poller.php, the output of 'php-win c:\inetpub\wwwroot\cacti\cmd.php
Thanks
- Attachments
-
- cacti.log.txt
- (153.42 KiB) Downloaded 210 times
-
- cmd.php.log.txt
- (4.28 KiB) Downloaded 157 times
-
- cacti.GIF (92.19 KiB) Viewed 3566 times
Strange path found in the graph properties
Hello there,
I have found a bit strange path in the graph properties and I feel that this could be the cause of my proble. I have captured it and attach it below. I do not know where to fix it.
I the graph properties, I found below sentence
DEF:a="c\:/inetpub/wwwroot/cacti/rra/shanghairepofficerouter_5min_cpu_17.rrd":5min_cpu:AVERAGE \
I think the \ just in between 'c' and ':' should not be placed here but I do not knwo where I can fix it.
I have found a bit strange path in the graph properties and I feel that this could be the cause of my proble. I have captured it and attach it below. I do not know where to fix it.
I the graph properties, I found below sentence
DEF:a="c\:/inetpub/wwwroot/cacti/rra/shanghairepofficerouter_5min_cpu_17.rrd":5min_cpu:AVERAGE \
I think the \ just in between 'c' and ':' should not be placed here but I do not knwo where I can fix it.
- Attachments
-
- graph-properties.GIF (59.28 KiB) Viewed 3557 times
-
- graph.properities.txt
- (519 Bytes) Downloaded 172 times
1) Sounds like you didn't set up permissions on cmd.exe. Read my updated installation guide: http://bsod2600.home.comcast.net/install_windows.html
2) Yes, that extra slash is suppose to be in your rrdtool command. Thats just the way it does it.
2) Yes, that extra slash is suppose to be in your rrdtool command. Thats just the way it does it.
| 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 |
1) are rrd files being generated and updated?
2) Copy the rrdtool graph command as seen in your second picture and run that yourself. What error do you see (if you see a lot of gibberish, pipe it into a .png file and see if it's valid) ?
2) Copy the rrdtool graph command as seen in your second picture and run that yourself. What error do you see (if you see a lot of gibberish, pipe it into a .png file and see if it's valid) ?
| 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 |
Hello BSOD2600,
I did what you suggested in the previous reply and got one error
C:\Documents and Settings\jchom>c:/rrdtool/rrdtool.exe graph - --imgformat=PNG -
-start=-86400 --end=-300 --title="Shanghai-RepOffice-Router - Traffic - Fa0/0" -
-rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0
--vertical-label="bits per second" --slope-mode DEF:a="c\:/inetpub/wwwroot/cacti
/rra/shanghairepofficerouter_traffic_in_30.rrd":traffic_in:AVERAGE DEF:b="c\:/in
etpub/wwwroot/cacti/rra/shanghairepofficerouter_traffic_in_30.rrd":traffic_out:A
VERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdef
a: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:LA
ST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe
:MAX:"Maximum\:%8.2lf %s\n" COMMENT:"\n" HRULE:0#FF0000:"95th Percentile" COM
MENT:"(0 mbit in+out)" >a.png
ERROR: failed to load c:windowsfontsarialn.ttf
Thank you for your quick reply and help with this Cacti stuff.
I did what you suggested in the previous reply and got one error
C:\Documents and Settings\jchom>c:/rrdtool/rrdtool.exe graph - --imgformat=PNG -
-start=-86400 --end=-300 --title="Shanghai-RepOffice-Router - Traffic - Fa0/0" -
-rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0
--vertical-label="bits per second" --slope-mode DEF:a="c\:/inetpub/wwwroot/cacti
/rra/shanghairepofficerouter_traffic_in_30.rrd":traffic_in:AVERAGE DEF:b="c\:/in
etpub/wwwroot/cacti/rra/shanghairepofficerouter_traffic_in_30.rrd":traffic_out:A
VERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdef
a: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:LA
ST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe
:MAX:"Maximum\:%8.2lf %s\n" COMMENT:"\n" HRULE:0#FF0000:"95th Percentile" COM
MENT:"(0 mbit in+out)" >a.png
ERROR: failed to load c:windowsfontsarialn.ttf
Thank you for your quick reply and help with this Cacti stuff.
Ah, so you forgot to specify a font file in cacti settings | path. Do so and then see what error you get.
| 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 |
The path to font files had been there, I have double-checked when I got the error message and reseted it. I did a reboot on my system.
It seems that I have issue with my rrdtool.exe program, this time, my system threw an error with "c:\rrdtool\rrdtool.exe is not a valid Win32 application.
Please advise me with this error
Thank you.
It seems that I have issue with my rrdtool.exe program, this time, my system threw an error with "c:\rrdtool\rrdtool.exe is not a valid Win32 application.
Please advise me with this error
Thank you.
I have downloaded a rrdtool version 1.2.11 with Cygwin and replaced the old one with this new one.
I executed the same command and did not get any error.
I have checked the piped .png and it generated a wonderful graph
It seems that I am getting close to there with your great help.
I will updates you with my final result.
Thank you.
I executed the same command and did not get any error.
I have checked the piped .png and it generated a wonderful graph
It seems that I am getting close to there with your great help.
I will updates you with my final result.
Thank you.
Ahh, you used the wrong rrdtool, wouldn't be the first
Are you able to view the graphs fine now (you should, since the rrdtool graph command worked) ?
Are you able to view the graphs fine now (you should, since the rrdtool graph command worked) ?
| 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 |
I have downloaded a rrdtool version 1.2.11 with Cygwin and replaced the old one with this new one.
I executed the same command and did not get any error.
I have checked the piped .png and it generated a wonderful graph
It seems that I am getting close to there with your great help.
I will updates you with my final result.
Thank you.
I executed the same command and did not get any error.
I have checked the piped .png and it generated a wonderful graph
It seems that I am getting close to there with your great help.
I will updates you with my final result.
Thank you.
umm, deja-vu ?
| 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 |
Hello BSOD2600,
I appreciate your help a lot.
Thank you a bunch.
Finally, my cacti is working fine with no errors. I am really excited with this result as I have been working on it for almost 2 weeks to troulbeshoot it.
By the way, one more questions, I want to put some meanful descriptions in my graphs for my customers to understand it more easily.
do you know how I can do it?
Thank you.
I appreciate your help a lot.
Thank you a bunch.
Finally, my cacti is working fine with no errors. I am really excited with this result as I have been working on it for almost 2 weeks to troulbeshoot it.
By the way, one more questions, I want to put some meanful descriptions in my graphs for my customers to understand it more easily.
do you know how I can do it?
Thank you.
Edit the graph in graph management and put in what you want.
| 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 |
What did you do to fix it?
I am having the EXACT same problem. The .png file is created when I run it from the command prompt.
What exactly did you do to fix the problem? This is driving me batty!
I hate running it on Windows, but it is the only server we have to use.
Thanks
What exactly did you do to fix the problem? This is driving me batty!
I hate running it on Windows, but it is the only server we have to use.
Thanks
Who is online
Users browsing this forum: No registered users and 0 guests