[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Hobbit_perl_client_1.21 beastat.pl
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Hobbit_perl_client_1.21 beastat.pl
- From: "Williams, Doug (Consultant-RIC)" <Doug.Williams (at) rhd.com>
- Date: Wed, 18 Nov 2009 16:19:20 -0700
- References: <BAY133-W59601B1784CEA53E45D52B4A80 (at) phx.gbl> <d6b65a270911132305p1f2dedfdl8c61af1bbe0198cb (at) mail.gmail.com> <BA6B801A0471124EB9D301BCCA67368EF66E94 (at) rhddenmbx04-dex-bup> <c6fda93d0911161334k7ac11415xcb9541f219673636 (at) mail.gmail.com> <BA6B801A0471124EB9D301BCCA67368EF66FA1 (at) rhddenmbx04-dex-bup> <BA6B801A0471124EB9D301BCCA67368EF66FDD (at) rhddenmbx04-dex-bup>
- Thread-index: AcpnBXWLfuhrRVm4Qam7DsWMyYZ5dwAAZLaAAAIOK4AAA0RnIABhVd0w
- Thread-topic: [hobbit] Hobbit_perl_client_1.21 beastat.pl
Unsure if anyone interested, but for general FYI, I got beastat.pl
working on the Hobbit client(s) by (in addtion to doing everything
suggested in supplied documentation):
On Hobbit server, modify bb-hosts to look like:
# BEA Servers
0.0.0.0 prdAcrm1_01.crmServer # noconn
0.0.0.0 prdAcrm2_01.crmServer # noconn
0.0.0.0 prdAcrm3_01.crmServer # noconn
0.0.0.0 prdAcrm4_01.crmServer # noconn
On Hobbit client to run the Weblogic tests now, modify bb-hosts:
# BEA Servers
0.0.0.0 prdAcrm1_01 # noconn nodisp beastat
0.0.0.0 prdAcrm1_01.crmServer # noconn beaping
0.0.0.0 prdAcrm2_01 # noconn nodisp beastat
0.0.0.0 prdAcrm2_01.crmServer # noconn beaping
0.0.0.0 prdAcrm3_01 # noconn nodisp beastat
0.0.0.0 prdAcrm3_01.crmServer # noconn beaping
0.0.0.0 prdAcrm4_01 # noconn nodisp beastat
0.0.0.0 prdAcrm4_01.crmServer # noconn beaping
# Edit Hobbit_fd_lib.pm, find and comment out line:
# From:
&check_env_var("BBVAR",1);
# To:
#&check_env_var("BBVAR",1);
# Edit beastat.pl, and in "sub get_bea_state"
# Below line:
foreach $line (@serverlist) {
# Insert the following 2 lines:
$line =~ s/^\s+//g;
$line =~ s/\s+$//g;
# so, you should have:
foreach $line (@serverlist) {
$line =~ s/^\s+//g;
$line =~ s/\s+$//g;
# Find this line a little farther down, and comment it out:
# From:
($servstate) = ($status =~ /.*(Current.*"$line".*)\n.*/);
# To:
#($servstate) = ($status =~ /.*(Current.*"$line".*)\n.*/);
# And put the following line below it (above commented out line) or in
it's place (don't think it's really needed but didn't want to trace
through everything, so put it just in case:
$servstate = $status . "\n";
# A wee bit farther down, change this line:
# From:
$text_event = "$servstate";
# To:
$text_event = "$status\n";
===============
Thanks
Doug
-----Original Message-----
From: Williams, Doug (Consultant-RIC)
Sent: Monday, November 16, 2009 7:27 PM
To: 'hobbit (at) hswn.dk'
Subject: RE: [hobbit] Hobbit_perl_client_1.21 beastat.pl
Well, not to flog road-kill, but it was only lightning in a bottle. Got
it to work for one BEA server instance on the client, and can't
duplicate for other BEA instance on that client.
Any ideas welcome.
Thanks
Doug
-----Original Message-----
From: Williams, Doug (Consultant-RIC) [mailto:Doug.Williams (at) rhd.com]
Sent: Monday, November 16, 2009 6:00 PM
To: hobbit (at) hswn.dk
Subject: RE: [hobbit] Hobbit_perl_client_1.21 beastat.pl
I got it working. The key was to include in client's (papp01) Hobbit
bb-hosts the hostname of the server (papp01) where the BEA Weblogic
instance resides, so I have the following in the client's (papp01)
Hobbit's bb-hosts:
# Servers
144.163.58.57 papp01 # ssh ntp
# BEA Servers
0.0.0.0 prdAcrm1_01 # noconn nodisp beastat
0.0.0.0 prdAcrm1_01.crmServer # noconn beaping
And all of the above also in the Hobbit Server's bb-hosts
Not sure if commenting out the BBVAR check is the expected way to get it
past the missing BBVAR check, but it works.
Thanks
Doug
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk