Operating System: xp
Webserver: apache 2.2.22
Cacti:0.8.8a
Spine:cacti-spine-0.8.8a
MySQL:5.1.51
PHP:5.3.10
RRDTool (Cygwin or Win32 build):RRDtool-1.3.8-win32-ruby1.8-perl5.10
Net-SNMP:net-snmp-5.6.1.1-1.x86
Cygwin (cygwin1.dll version):no
Plugin Architecture:
rrd file :have data
rrdtool graph says: ok
but i have no graph show in ie6 or firefox!
i deep into source code, i find the problem maybe occured in /lib/rrd.php--->
rrdtool_function_graph ,the 811 line :$graph_opts = "-" . RRD_NL; i replace the
" - " into "c:\my.png", i can find picture is c:\my.png,but neither show graph in brosser.
[solved] no graph show in windows xp
Moderators: Developers, Moderators
Re: no graph show in windows xp
post the graph debug output please.
| 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 |
Re: no graph show in windows xp
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-120 \
--title="mysql - MySQL Connections" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/cacti/rra/mysql_threads_connected_9.rrd":"max_connections":AVERAGE \
DEF:b="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Max_used_connectins":AVERAGE \
DEF:c="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Aborted_clients":AVERAGE \
DEF:d="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Aborted_connects":AVERAGE \
DEF:e="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Threads_connected":AVERAGE \
DEF:f="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Connections":AVERAGE \
AREA:a#C0C0C0FF:"Max Connections" \
GPRINTLAST:" Cur\:%6.1lf%s\n" \
AREA:b#FFD660FF:"Max Used Connections" \
GPRINTLAST:"Cur\:%6.1lf%s\n" \
LINE1:c#FF3932FF:"Aborted Clients" \
GPRINT:c:LAST:" Cur\:%6.1lf%s" \
GPRINT:c:AVERAGE:"Avg\:%6.1lf%s" \
GPRINT:c:MAX:"Max\:%6.1lf%s\n" \
LINE1:d#00FF00FF:"Aborted Connects" \
GPRINT:d:LAST:" Cur\:%6.1lf%s" \
GPRINT:d:AVERAGE:"Avg\:%6.1lf%s" \
GPRINT:d:MAX:"Max\:%6.1lf%s\n" \
LINE2:e#FF7D00FF:"Threads Connected" \
GPRINT:e:LAST:" Cur\:%6.1lf%s" \
GPRINT:e:AVERAGE:"Avg\:%6.1lf%s" \
GPRINT:e:MAX:"Max\:%6.1lf%s\n" \
LINE1:f#4444FFFF:"Connections" \
GPRINT:f:LAST:" Cur\:%6.1lf%s" \
GPRINT:f:AVERAGE:"Avg\:%6.1lf%s" \
GPRINT:f:MAX:"Max\:%6.1lf%s\n" RRDTool Says:
OK
--imgformat=PNG \
--start=-86400 \
--end=-120 \
--title="mysql - MySQL Connections" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/cacti/rra/mysql_threads_connected_9.rrd":"max_connections":AVERAGE \
DEF:b="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Max_used_connectins":AVERAGE \
DEF:c="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Aborted_clients":AVERAGE \
DEF:d="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Aborted_connects":AVERAGE \
DEF:e="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Threads_connected":AVERAGE \
DEF:f="C\:/cacti/rra/mysql_threads_connected_9.rrd":"Connections":AVERAGE \
AREA:a#C0C0C0FF:"Max Connections" \
GPRINTLAST:" Cur\:%6.1lf%s\n" \
AREA:b#FFD660FF:"Max Used Connections" \
GPRINTLAST:"Cur\:%6.1lf%s\n" \
LINE1:c#FF3932FF:"Aborted Clients" \
GPRINT:c:LAST:" Cur\:%6.1lf%s" \
GPRINT:c:AVERAGE:"Avg\:%6.1lf%s" \
GPRINT:c:MAX:"Max\:%6.1lf%s\n" \
LINE1:d#00FF00FF:"Aborted Connects" \
GPRINT:d:LAST:" Cur\:%6.1lf%s" \
GPRINT:d:AVERAGE:"Avg\:%6.1lf%s" \
GPRINT:d:MAX:"Max\:%6.1lf%s\n" \
LINE2:e#FF7D00FF:"Threads Connected" \
GPRINT:e:LAST:" Cur\:%6.1lf%s" \
GPRINT:e:AVERAGE:"Avg\:%6.1lf%s" \
GPRINT:e:MAX:"Max\:%6.1lf%s\n" \
LINE1:f#4444FFFF:"Connections" \
GPRINT:f:LAST:" Cur\:%6.1lf%s" \
GPRINT:f:AVERAGE:"Avg\:%6.1lf%s" \
GPRINT:f:MAX:"Max\:%6.1lf%s\n" RRDTool Says:
OK
Re: no graph show in windows xp
So that output looks ok. What's the problem again? Are you sure the mysql script is properly running and retrieving 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 |
Re: no graph show in windows xp
my problem is no graph show in browser, but i can get data from mysql.
i deep into source code in /lib/rrd.php--->rrdtool_function_graph ,the 811 line :$graph_opts = "-" . RRD_NL; i replace the " - " into "c:\my.png", i can
find picture is c:\my.png in my disk,but no graph show in browser.
i deep into source code in /lib/rrd.php--->rrdtool_function_graph ,the 811 line :$graph_opts = "-" . RRD_NL; i replace the " - " into "c:\my.png", i can
find picture is c:\my.png in my disk,but no graph show in browser.
Re: no graph show in windows xp
it have been resolved,i replace RRDtool-1.3.8-win32-ruby1.8-perl5.10 into rrdtool-1.2.15-cygwin-1.5.20,so i can look graph.thanks.
Who is online
Users browsing this forum: No registered users and 0 guests