[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configuration problem



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