Availability Report static
Hi friends,
When I try to generate the Availability Report static using my script
year=date +%Y
START=date +%s --date="01 $month $year 00:00:00"
END=date +%s --date="$day $month $year 23:59:59"
BBWEB="/sla/date +%Y/$month"
BBHELPSKIN="/home/hobbit/server/www/help"
BBNOTESSKIN="/home/hobbit/server/www/notes"
/home/hobbit/server/bin/bbgen --reportopts=$START:$END:1:crit
--subpagecolumns=2 /home/hobbit/server/www/sla/date +%Y/$month
I got these errors:
2005-06-02 11:13:49 xgetenv: Cannot find value for variable BBREPGREEN 2005-06-02 11:13:49 xgetenv: Cannot find value for variable MACHINE 2005-06-02 11:13:49 Environment variable MACHINE not defined 2005-06-02 11:13:49 Aborting
Any hint?
Thanks in Advance,
Mario
Can you use a hobbit server, but keep your bb clients? I am thinking of upgrading my server to hobbit, but if I have to upgrade all my clients as well I probably won't have the time to do it yet.
Wes
On Thu, Jun 02, 2005 at 11:25:50AM -0400, Wes Neal wrote:
Can you use a hobbit server, but keep your bb clients? I am thinking of upgrading my server to hobbit, but if I have to upgrade all my clients as well I probably won't have the time to do it yet.
A Hobbit server will work just fine with your existing BB clients.
In fact, there isn't really a Hobbit client yet - it's "work in progress".
Henrik
Henrik Stoerner wrote:
On Thu, Jun 02, 2005 at 11:25:50AM -0400, Wes Neal wrote:
Can you use a hobbit server, but keep your bb clients? I am thinking of upgrading my server to hobbit, but if I have to upgrade all my clients as well I probably won't have the time to do it yet.
A Hobbit server will work just fine with your existing BB clients.
In fact, there isn't really a Hobbit client yet - it's "work in progress".
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This is exactly what we are doing and have been for the last 3 months I think it is. Our main concern was the history for old reports but all that stayed in tact so it was a very smooth transition.
Not only that the poor Pentium Pro 200 that handles it all that used to have a load average of 4.00 all the time running BB server now is lucky to hit .4 even when you try run lots of reports and refresh the hell out of the web pages.
We were only using plain old bb server before with no fancy bits so I suppose that is another reason why hobbit looks so wonderfuly attractive to us :)
Anyway enough praise of the Hobbit Master Henrik and back to work
Allan
On Thu, Jun 02, 2005 at 11:20:00AM -0300, mario andre wrote:
Hi friends,
When I try to generate the Availability Report static using my script
year=
date +%YSTART=date +%s --date="01 $month $year 00:00:00"END=date +%s --date="$day $month $year 23:59:59"BBWEB="/sla/date +%Y/$month"BBHELPSKIN="/home/hobbit/server/www/help" BBNOTESSKIN="/home/hobbit/server/www/notes" /home/hobbit/server/bin/bbgen --reportopts=$START:$END:1:crit --subpagecolumns=2 /home/hobbit/server/www/sla/
date +%Y/$monthI got these errors:
2005-06-02 11:13:49 xgetenv: Cannot find value for variable BBREPGREEN 2005-06-02 11:13:49 xgetenv: Cannot find value for variable MACHINE 2005-06-02 11:13:49 Environment variable MACHINE not defined 2005-06-02 11:13:49 Aborting
You need to have the Hobbit environment variables defined. Run your script via the "bbcmd" tool:
bbcmd /usr/local/bin/myreport.sh
and that should provide all of the environment variables from hobbitserver.cfg.
Henrik
How does this work?
If I try to open this up in my browser I get an apache error. I most likely have the syntax wrong.
Thanks,
Paul
participants (5)
-
allan@zandahar.net
-
henrik@hswn.dk
-
pauldb1@cotepe.carenet.org
-
rower.master@gmail.com
-
wes.neal@mci.com