Xymon Mailing List Archive search

BBcombotest questions

4 messages in this thread

list Benjamin Blazke · Thu, 8 May 2008 14:34:19 -0700 (PDT) ·
Hi,

I would like to use bbcombotest.cfg to define
dependencies between services. I have done some
testing and came up with a couple of questions:

1. The format of a combotest is basically name=value.
Are there any known limitations to this scheme (e.g.
max. length of "value")?

2. I tried to define a "combo of combos" but kept on
getting errors. Is this something that is not
supported? If it is not, I can still work around it by
explicitly "expanding" the combos but then my "values"
would be very long and hard to maintain. I was also 
wondering if I'd be hitting any limits (see 1.)

3. I would like to automatically disable application
monitors during a software update and enable when the
update is done. I was thinking of creating a "rollout"
test and have all services depend on it using
bbcombos. Then I could have the upgrade script disable
this "rollout" only. For example:

serviceCluster.serviceA_combo = (host1.serviceA +
host2.serviceA) >= 1 || (host1.rollout + host2.rollout
== 0) 

Has anybody implemented anything similar or have any
other suggestions? 

Thanks!

Ben


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
list Vernon Everett · Fri, 9 May 2008 11:25:34 +0800 ·
Hi all

Here's something I would like to do.
Is it possible?
How?

We have multiple teams, Unix, Wintel, Oracle, Apps, Security, etc. I want to set up a "critical systems" view tailored to each team, just
like the current menu option, but only showing the systems relevant to
that team.
In the same way, I would like to do the same thing with the "All
non-green view".

The idea is that in every section, we have a large monitor, displaying
only the critical systems issues for that team.
And each team can acceess an "All non-green" view of only their own
systems.

Regards
    Vernon


NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Mario Andre · Tue, 13 May 2008 12:05:53 -0300 ·
Vernon,

I do another "all non green view" with the bbcmd utility:
on cron:
*/2 * * * * /home/bbmon/server/bin/bbcmd
--env=/home/bbmon/server/etc/bb3.cfg /home/bbmon/server/msc/gera_msc_bb3.sh

cat gera_msc_bb3.sh
#!/bin/sh

BBHOME=/home/bbmon/server
export BBHOME
. $BBHOME/etc/bb3.cfg
sleep 2
#echo $COLOR1
BBHELPSKIN="/home/bbmon/server/www/help"
BBNOTESSKIN="/home/bbmon/server/www/notes"
/home/bbmon/server/bin/bbgen --report --subpagecolumns=2 --template=msc
/home/bbmon/server/www/msc/
bb3.cfg is a copy of hobbitserver.cfg that you have to modify:
BBHOSTS="$BBHOME/etc/bb3msc" --> #this is a bb-hosts file only with the
hosts for team Oracle for example
BBWEBHOSTURL="$BBWEBHOST$BBSERVERWWWURL/msc"    # Prefix for all static
Hobbit pages - http://www.foo.com/bb

Regards,

Mario.
quoted from Vernon Everett


On 5/9/08, Everett, Vernon <user-9da1a1882f49@xymon.invalid> wrote:
Hi all

Here's something I would like to do.
Is it possible?
How?

We have multiple teams, Unix, Wintel, Oracle, Apps, Security, etc.
I want to set up a "critical systems" view tailored to each team, just
like the current menu option, but only showing the systems relevant to
that team.
In the same way, I would like to do the same thing with the "All
non-green view".

The idea is that in every section, we have a large monitor, displaying
only the critical systems issues for that team.
And each team can acceess an "All non-green" view of only their own
systems.

Regards
   Vernon


NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.

list Vernon Everett · Wed, 14 May 2008 16:39:50 +0800 ·
Hi Mario
 
Thanks for that, it works really well.
 
The only problem I can see, is that I now need to update, and keep in
sync, multiple bb-hosts files.
I think I will have to come up with a clever script to create the local
bb-hosts files from the main one.
 
In our case, that shouldn't be too difficult, because most of the hosts
for a particular team are already on seperate pages.
 
Regards
    Vernon
quoted from Mario Andre
 

From: mario andre [mailto:user-82c7780661a4@xymon.invalid] 
Sent: Tuesday, 13 May 2008 11:06 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Multiple Critical Systems View - possible?


Vernon,
 
I do another "all non green view" with the bbcmd utility:
on cron:
*/2 * * * * /home/bbmon/server/bin/bbcmd
--env=/home/bbmon/server/etc/bb3.cfg
/home/bbmon/server/msc/gera_msc_bb3.sh
 
cat gera_msc_bb3.sh
#!/bin/sh

BBHOME=/home/bbmon/server
export BBHOME
. $BBHOME/etc/bb3.cfg
sleep 2
#echo $COLOR1
BBHELPSKIN="/home/bbmon/server/www/help"
BBNOTESSKIN="/home/bbmon/server/www/notes"
/home/bbmon/server/bin/bbgen --report --subpagecolumns=2 --template=msc
/home/bbmon/server/www/msc/

bb3.cfg is a copy of hobbitserver.cfg that you have to modify:
BBHOSTS="$BBHOME/etc/bb3msc" --> #this is a bb-hosts file only with the
hosts for team Oracle for example
BBWEBHOSTURL="$BBWEBHOST$BBSERVERWWWURL/msc"    # Prefix for all static
Hobbit pages - http://www.foo.com/bb 
 
Regards,
 
Mario.
 
 
On 5/9/08, Everett, Vernon <user-9da1a1882f49@xymon.invalid> wrote: 

	Hi all
	
	Here's something I would like to do.
	Is it possible?
	How?
	
	We have multiple teams, Unix, Wintel, Oracle, Apps, Security,
etc.
	I want to set up a "critical systems" view tailored to each
team, just
	like the current menu option, but only showing the systems
relevant to
	that team.
	In the same way, I would like to do the same thing with the "All
	non-green view".
	
	The idea is that in every section, we have a large monitor,
displaying
	only the critical systems issues for that team.
	And each team can acceess an "All non-green" view of only their
own
	systems.
	
	Regards
	   Vernon
	
	
	NOTICE: This email and any attachments are confidential.
	They may contain legally privileged information or
	copyright material. You must not read, copy, use or
	disclose them without authorisation. If you are not an
	intended recipient, please contact us at once by return
	email and then delete both messages and all attachments.
	
	
NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.