Windows Graphing problems
Moderators: Developers, Moderators
Windows Graphing problems
Greetings all,
First off, I'm an uber newb when it comes to cacti. A co-worker told me about it, so I thought what the hey I'll give it a try.
My problem appers to be in the display of the graphics. I have cacti all set-up and configured and working ( I think). I am running cacti on a Windows 2000 box, using cacti 0.8.6g, rrdtool 1.2.10, IIS 5, and MS SNMP.
I can create devices and SNMP is polling them, but when I try to view the graphs half of them will be broken links, and the others will apper fine. Then when the refresh occurs some of the previously broken links will work, and some of the others will display data. When I check the Graph Managment and Debug some of the graphs, RRDTool returns an OK, but the pic are still broken.
Any assistance would be much appericated.
First off, I'm an uber newb when it comes to cacti. A co-worker told me about it, so I thought what the hey I'll give it a try.
My problem appers to be in the display of the graphics. I have cacti all set-up and configured and working ( I think). I am running cacti on a Windows 2000 box, using cacti 0.8.6g, rrdtool 1.2.10, IIS 5, and MS SNMP.
I can create devices and SNMP is polling them, but when I try to view the graphs half of them will be broken links, and the others will apper fine. Then when the refresh occurs some of the previously broken links will work, and some of the others will display data. When I check the Graph Managment and Debug some of the graphs, RRDTool returns an OK, but the pic are still broken.
Any assistance would be much appericated.
Build a man a fire and he will be warm for a day. Set a on on fire and he will be warm for the rest of his life.
Broken as you see the graph but no text?
The last entry in this FAQ might apply to you: http://bsod2600.home.comcast.net/instal ... s.html#FAQ
The last entry in this FAQ might apply to you: http://bsod2600.home.comcast.net/instal ... s.html#FAQ
| 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 checked the web server error logs and it reports nothing out of the ordinary. I tried running through the FAQs and it didnt eem to solve the solution. The pic below shows what I mean by broken links, and on page refresh sometimes the broken ones will have graphs, and the currently working graphs will be broken. I have tried switching to an earlier version of RRDTool, but the same thing still happens (yes, i did remember to change the settings in cacti).
I noticed too that sometimes when I zoon in on a graph to get the Daily, Weekly, Monthly, Yearly pictures that it will start to display an image, then it will apper broken.
I noticed too that sometimes when I zoon in on a graph to get the Daily, Weekly, Monthly, Yearly pictures that it will start to display an image, then it will apper broken.
- Attachments
-
- graphprob.JPG (24.23 KiB) Viewed 3634 times
Build a man a fire and he will be warm for a day. Set a on on fire and he will be warm for the rest of his life.
Heres the graph statment from my Daily (5 minute average)
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="R1 - 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/r1_traffic_in_71.rrd":traffic_in:AVERAGE \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/r1_traffic_in_71.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"
The graph made it about half way through loading before it it changed it a broken image.
But in the Graph Management area, when I turn on debugging for the graph on, it says.
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="R1 - 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/r1_traffic_in_71.rrd":traffic_in:AVERAGE \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/r1_traffic_in_71.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"
RRDTool Says:
OK
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="R1 - 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/r1_traffic_in_71.rrd":traffic_in:AVERAGE \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/r1_traffic_in_71.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"
The graph made it about half way through loading before it it changed it a broken image.
But in the Graph Management area, when I turn on debugging for the graph on, it says.
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="R1 - 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/r1_traffic_in_71.rrd":traffic_in:AVERAGE \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/r1_traffic_in_71.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"
RRDTool Says:
OK
Build a man a fire and he will be warm for a day. Set a on on fire and he will be warm for the rest of his life.
1) make sure you only have one copy of cygwin1.dll on your system.
2) When you view graphs in Graph Management, do any of them break? If so, turn on graph debugging. What is the error message?
3) Make sure you have a valid font pah + font specified in cacti settings.
2) When you view graphs in Graph Management, do any of them break? If so, turn on graph debugging. What is the error message?
3) Make sure you have a valid font pah + font specified in cacti 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 |
Alright it works now, apperas my problem was that I had 3 different cygwin1.dll on my system, and an invalid font path.
You guys rock, seriously, best support fourm I have been on, keep up the excellent work guys.
You guys rock, seriously, best support fourm I have been on, keep up the excellent work guys.
Build a man a fire and he will be warm for a day. Set a on on fire and he will be warm for the rest of his life.
Hi there,
Just saw this post and it appears to be the same problem that I have.
I also checked how many cygwin1.dll copies I have and there seem to be 5, while apparently, there should be only one.
They are in the following paths:
C:\rddtool
C:\temp
C:\cacti2\cactid
C:\cygwin\bin
C:\backup\cacti2\cactid
Now, ofcourse I have to get rid of 4 of them, but which one should I keep?
Thanks in advance
Just saw this post and it appears to be the same problem that I have.
I also checked how many cygwin1.dll copies I have and there seem to be 5, while apparently, there should be only one.
They are in the following paths:
C:\rddtool
C:\temp
C:\cacti2\cactid
C:\cygwin\bin
C:\backup\cacti2\cactid
Now, ofcourse I have to get rid of 4 of them, but which one should I keep?
Thanks in advance
Being that c:\cygwin\bin is the real location for cygwin, and that path should be in your system path... delete all the others (and related cygwin dlls!).
| 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) you really should create your own thread since it seems you have unrelated problems.MPDano wrote:Do you know what process or service needs to be off in order to delete these dll's? I get access denied errors trying to delete them.
2) use Sysinternals Process explorer and find what process(es) have those dll handles open.
| 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 |
RUM wrote:Hi there,
Just saw this post and it appears to be the same problem that I have.
I also checked how many cygwin1.dll copies I have and there seem to be 5, while apparently, there should be only one.
They are in the following paths:
C:\rddtool
C:\temp
C:\cacti2\cactid
C:\cygwin\bin
C:\backup\cacti2\cactid
Now, ofcourse I have to get rid of 4 of them, but which one should I keep?
Thanks in advance
Actually I was going off this post in this thread. It's the Web Publishing Service by the way.
Who is online
Users browsing this forum: No registered users and 0 guests