configuration problem
list Gräub Roland
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 user-3de8f19e45fe@xymon.invalid 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
list Henrik Størner
▸
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 user-3de8f19e45fe@xymon.invalid REPEAT=60 COLOR=yellow,red RECOVEREDThis one is straight-forward: Use commas instead of space when you have a list of hosts. Regards, Henrik
list Gräub Roland
Hello I attached the bb-hosts testfile that give the result. Its possible that i have made a mistake like this missing ",". :-( I have checked the file but i dont see any possible mistake. I hope you have a lot of fun with doing hobbit-work of course we have fun to use this absolutly great tool. Greetings Roland
▸
-----Ursprüngliche Nachricht-----
Von: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Gesendet: Samstag, 4. Juni 2005 09:10
An: user-ae9b8668bcde@xymon.invalid
Betreff: Re: [hobbit] configuration problem
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 user-3de8f19e45fe@xymon.invalid REPEAT=60 COLOR=yellow,red RECOVEREDThis one is straight-forward: Use commas instead of space when you have a list of hosts. Regards, Henrik
Attachments (1)
list 刘正明
Gr�ub_Roland,���ã� ======= 2005-06-07 14:16:26 ����������д����=======
▸
Hello I attached the bb-hosts testfile that give the result. Its possible that i have made a mistake like this missing ",". :-( I have checked the file but i dont see any possible mistake. I hope you have a lot of fun with doing hobbit-work of course we have fun to use this absolutly great tool. Greetings Roland
-----Urspr�ngliche Nachricht-----
▸
Von: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Gesendet: Samstag, 4. Juni 2005 09:10 An: user-ae9b8668bcde@xymon.invalid Betreff: Re: [hobbit] configuration problem 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 user-3de8f19e45fe@xymon.invalid REPEAT=60 COLOR=yellow,red RECOVEREDThis one is straight-forward: Use commas instead of space when you have a list of hosts. Regards, Henrik
= = = = = = = = = = = = = = = = = = = = ������������������ ��
����������������liu-zm
����������������user-f75ddabb69cc@xymon.invalid
��������������������2005-06-07
Attachments (1)