[rtg] Version of the PHP scriptage that works with the new rtgplot
Drew Weaver
drew.weaver at thenap.com
Fri Nov 20 12:15:59 EST 2009
The problem, I believe is that the version of the 'web interface' that I have uses the old command format for rtgplot...
It seems to create the links like this:
http://ipaddress/rtgplot.cgi?t1=ifInOctets_1&t2=ifOutOctets_1&begin=1258693200&end=1258779599&units=bits/s&factor=8&iid=1&xplot=500&yplot=150&borderb=70
which I'm pretty sure is the 'old format' as rtgplot.cgi says:
rtgplot 0.9.0 fatal: WARNING: No Plot Objects Defined!
when I try to browse directly to http://ipaddress/rtgplot.cgi?t1=ifInOctets_1&t2=ifOutOctets_1&begin=1258693200&end=1258779599&units=bits/s&factor=8&iid=1&xplot=500&yplot=150&borderb=70
has anyone patched this or know where I can get the version that has the updated parameters?
-Drew
From: rtg-bounces at lists.grdata.com [mailto:rtg-bounces at lists.grdata.com] On Behalf Of Quigley, Mark R
Sent: Friday, November 20, 2009 11:35 AM
To: rtg at lists.grdata.com
Subject: Re: [rtg] Version of the PHP scriptage that works with the new rtgplot
My experience with the Google distribution on Red Hat Enterprise showed I needed to:
chcon --reference /var/www/html -R /usr/local/rtg/web
All my web/cgi are in /usr/local/rtg/web *before* I run this command... something to do with security...
Let me know if you need more information.
Mark
________________________________
From: rtg-bounces at lists.grdata.com [mailto:rtg-bounces at lists.grdata.com] On Behalf Of Drew Weaver
Sent: Friday, November 20, 2009 7:54 AM
To: rtg at lists.grdata.com
Subject: [rtg] Version of the PHP scriptage that works with the new rtgplot
Is there a version of the PHP (rtg.php, view.php) that sends the appropriate variables for the new version of rtgplot (0.9?)
I've checked out the Google Code version and the old version and I still can't get the php pages to generate properly.
-Drew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.grdata.com/pipermail/rtg/attachments/20091120/37bafc28/attachment.html>
More information about the RTG
mailing list