[rrd-users] Perl script doesn't create graph on link click
k2pattu at yahoo.com
Mon May 5 03:05:02 MEST 2003
Hello, After successfully creating graphs with help of rrduser's mailing list, I have two perl-graph related issues (hopefully this should be last :) My perl script (in cgi-bin) has commands to create two graphs using rrd perl module. This script also create statistics. Script has a link on main page and when link is clicked, it should create/load graphs and statistics dynamically into browser. When executed from command line, my script create two graphs (along with descriptive text stastitics). Directing output of command line execution into a html file, and viewing that html page separately in browser shows both the graphs and stats in browser. So far so good. However, when same script is accessed/executed using link on main page -first: it doesn't create graphs (it creates text statistics though). "ls -l" verifies it.second: output created on link click shows statistics only and not the graphs even though they already exist (created by previous command line execution). "View Source" shows it has proper <img> tag with correct image information. Do I need to "catch" output of RRDs::graph function in order to create it/refer it? Or do I need to make any changes into perl script to make it work? Perl/RRDtool gurus out there, I really need this issue resolved. Please share your expertise on this. Not to increase length of this mail, I haven't pasted code here. If you want me to post the code as well, please let me know. Thanksk2
/ ó ó \
0 | 0
\ U /
It's wonderful when I live in present
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users