Hello
Actually we use bb with bbgen 3.5 on Production and plan to upgrade to hobbit. I have already installed hobbit on a testserver (4.0.4, RHEL 3.0).
Now i try to configure hobbit like our production bb and have 2 problems with the pagesets and alert-configuration. I copy my bb-hosts from production machine to my hobbit testmachine an i have the follow problem with generating pagesets:
bb-hosts-part1 ... 159.0.0.3 bbtst.rtc.ch # noconn PROD:mqsprd,2 ...
bb-hosts-part3 ... 159.0.0.3 bbtst.rtc.ch # PROD:sysmgmprd,2 ...
2005-05-31 13:52:34 Warning: Cannot find any target page named 'sysmgmprd,2' in set 'prod' - dropping host 'bbtst.rtc.ch'
As result on the website i see the host twice in the first definied section (mqstst) and one entry in second (sysmgmprd) in PROD pageset. It seems the problem occures when the same host is not in the same bb-host file part. When the 2 Hosts are in the same file the error msg is not showing in the log but i see the host twice (both sections) in web. If i delete one ot the two entry it works without problem. ...
Another courious problem i have is with this entry in hobbit-alerts.cfg:
$gaa-hosts=server1.ch server2.ch server3.ch
HOST=$gaa-hosts SERVICE=lnk TIME=2345:0600:2000 MAIL roland.graeub at rtc.ch REPEAT=60 COLOR=yellow,red RECOVERED
output hobbitd_alert -test 2005-06-01 10:53:23 Using default environment file /usr/lib/hobbit/server/etc/hobbitserver.cfg 2005-06-01 10:53:23 Ignored unknown/unexpected token 'server2.ch' at line 169 2005-06-01 10:53:23 Ignored unknown/unexpected token 'server3.ch' at line 169 00017519 2005-06-01 10:53:23 send_alert server3.ch:lnk state Paging 00017519 2005-06-01 10:53:23 Matching host:service:page 'server3.ch:lnk:css3/sysmgm' against rule line 169 00017519 2005-06-01 10:53:23 Failed 'HOST=$gaa-hosts SERVICE=lnk TIME=2345:0600:2000' (hostname not in include list)
Maybe its a configuration error, but i dont find the error. Any Ideas ?
Regards Roland
On Wed, Jun 01, 2005 at 12:54:44PM +0200, Gräub Roland wrote:
Now i try to configure hobbit like our production bb and have 2 problems with the pagesets and alert-configuration. I copy my bb-hosts from production machine to my hobbit testmachine an i have the follow problem with generating pagesets:
bb-hosts-part1 ... 159.0.0.3 bbtst.rtc.ch # noconn PROD:mqsprd,2 ...
bb-hosts-part3 ... 159.0.0.3 bbtst.rtc.ch # PROD:sysmgmprd,2 ...
2005-05-31 13:52:34 Warning: Cannot find any target page named 'sysmgmprd,2' in set 'prod' - dropping host 'bbtst.rtc.ch'
As result on the website i see the host twice in the first definied section (mqstst) and one entry in second (sysmgmprd) in PROD pageset. It seems the problem occures when the same host is not in the same bb-host file part. When the 2 Hosts are in the same file the error msg is not showing in the log but i see the host twice (both sections) in web. If i delete one ot the two entry it works without problem. ...
Sounds like a problem with the setup of the "prod" page layout. What does your page layout look like (the "prodpage", "prodsubpage" etc. entries in bb-hosts) ?
Perhaps running "bbhostshow" and sending me the output will be the easiest way to troubleshoot this.
Another courious problem i have is with this entry in hobbit-alerts.cfg:
$gaa-hosts=server1.ch server2.ch server3.ch
HOST=$gaa-hosts SERVICE=lnk TIME=2345:0600:2000 MAIL roland.graeub at rtc.ch REPEAT=60 COLOR=yellow,red RECOVERED
This one is straight-forward: Use commas instead of space when you have a list of hosts.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
roland.graeub@rtc.ch