Hi,
After recompiling rrdtool 1.2.10 on aix 5.2 and hobbit 4.0.4, I have infos in my rrd files (rrd fetch shows some entries).
But I can't get any graph at the bottom of hobbit pages.
I tried to run the cgi from command line, but I have the following message : "xgetenv: Cannot find value for variable QUERY_STRING"
How can I set the QUERY_STRING properly and try to generate my graphs ?
Thanks
Nicolas FIGARO
On Thu, Jul 07, 2005 at 09:41:48AM +0200, FIGARO Nicolas wrote:
Hi,
After recompiling rrdtool 1.2.10 on aix 5.2 and hobbit 4.0.4, I have infos in my rrd files (rrd fetch shows some entries).
But I can't get any graph at the bottom of hobbit pages.
Did you also recompile Hobbit ? If you are moving from rrdtool 1.0.x to 1.2.x you must do a "make distclean; ./configure; make; make install" of Hobbit because the library interface is different in the two rrdtool versions.
I tried to run the cgi from command line, but I have the following message : "xgetenv: Cannot find value for variable QUERY_STRING"
QUERY_STRING is set by the webserver when running a CGI program. It the "query" part of the URL, ie. everything after the '?' mark in the URL.
Regards, Henrik
Dear Nicolas,
Hi,
After recompiling rrdtool 1.2.10 on aix 5.2 and hobbit 4.0.4, I have infos in my rrd files (rrd fetch shows some entries).
But I can't get any graph at the bottom of hobbit pages.
I tried to run the cgi from command line, but I have the following message : "xgetenv: Cannot find value for variable QUERY_STRING"
How can I set the QUERY_STRING properly and try to generate my graphs ?
Try (for Solaris, but should work for Linux and AIX as well I hope) QUERY_STRING="VAR1=VAL1&VAR2=VAL2..." export QUERY_STRING then execute the script from command line
or - if it is a perl script - add a line like $ENV{'QUERY_STRING'} = "VAR1=VAL1&VAR2=VAL2..."; at the top of the script
where VARx are the variables the script needs and VALx are the values of these variables
Rolf
Rolf Schrittenlocher
HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel. Sammelnr. LBS: (49) 69 - 798 28830 Fax: (49) 69 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de
Persoenlich: schritte at rz.uni-frankfurt.de Tel: (49) 69 - 798 28908
Dear Henrik,
We haven't installed hobbit yet, still using bb, but we want to move as soon as possible. We are working with virtual hosts. Our services are linked to virtual hostnames, each machine may have a number of virtual hostnames. So one machine should be able to send reports using different hostnames. In bb we had bbaliasname for that purpose which set a limit of 2 to the number of names usable. There we had to hack bbinc, bb-bbexttab, etc. It would be very helpful (if not already done, I didn't get that information in the docu so far) if hobbit wouldn't have such a limit.
kind regards
Rolf Schrittenlocher
HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel. Sammelnr. LBS: (49) 69 - 798 28830 Fax: (49) 69 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de
Persoenlich: schritte at rz.uni-frankfurt.de Tel: (49) 69 - 798 28908
Hi Rolf,
On Tue, Jul 26, 2005 at 02:06:53PM +0200, Rolf Schrittenlocher wrote:
We are working with virtual hosts. Our services are linked to virtual hostnames, each machine may have a number of virtual hostnames. So one machine should be able to send reports using different hostnames. In bb we had bbaliasname for that purpose which set a limit of 2 to the number of names usable. There we had to hack bbinc, bb-bbexttab, etc.
So what you're asking for is that each virtual server can have the full set of client status messages: cpu, disk, memory and so on - but these should just be copies of the status messages from the real server, not data obtained by querying the virtual server ?
Or is this related to clustering ? I know some HP-UX clusters have their clustered applications tied to a virtual IP-address, which then follows the software package as it moves to different hosts in the cluster. So maybe you have a custom extension script running and it can run on any node in the cluster, but you always want it reported on a specific host from your bb-hosts file ?
I think Hobbit can do what you want to do without any code changes being needed, but I have to understand your request first :-)
Regards, Henrik
participants (3)
-
henrik@hswn.dk
-
nfigaro@effigie.fr
-
Schrittenlocher@rz.uni-frankfurt.de