Xymon Mailing List Archive search

the opposite of DEPENDS?

14 messages in this thread

list Rob McBroom · Tue, 13 Jul 2010 16:39:09 -0400 ·
I have three LDAP servers. Searches can go on happily as long as one of the three is working, so what I’d like is something like this:

LDAP running on all three servers:  green
LDAP running on one or two servers: yellow
LDAP running on zero servers:       red

I’m sure I could write a server-side script for this, but there are service checks already in place that I’d like to use.

Is that possible? Am I missing something obvious in the man pages? Thanks.

-- 
Rob McBroom
<http://www.skurfer.com/>;
list Vernon Everett · Wed, 14 Jul 2010 07:14:00 +0800 ·
bbcombotest
http://www.xymon.com/hobbit/help/manpages/man1/bbcombotest.1.html
Best and easiest way to do this one.
quoted from Rob McBroom


On Wed, Jul 14, 2010 at 4:39 AM, Rob McBroom <user-371ba9bb5b75@xymon.invalid> wrote:
I have three LDAP servers. Searches can go on happily as long as one of the three is working, so what I’d like is something like this:

LDAP running on all three servers:  green
LDAP running on one or two servers: yellow
LDAP running on zero servers:       red

I’m sure I could write a server-side script for this, but there are service checks already in place that I’d like to use.

Is that possible? Am I missing something obvious in the man pages? Thanks.

--
Rob McBroom
<http://www.skurfer.com/>;

list Buchan Milne · Wed, 14 Jul 2010 09:03:13 +0100 ·
quoted from Rob McBroom
On Tuesday, 13 July 2010 21:39:09 Rob McBroom wrote:
I have three LDAP servers. Searches can go on happily as long as one of the
 three is working, so what I’d like is something like this:

LDAP running on all three servers:  green
LDAP running on one or two servers: yellow
LDAP running on zero servers:       red

I’m sure I could write a server-side script for this, but there are service
 checks already in place that I’d like to use.
Use bbcombotest, see 'man bbcombotest' and 'man bbcombotest.cfg'
Is that possible? Am I missing something obvious in the man pages? Thanks.
Regards,
Buchan
list Marco Avvisano · Wed, 14 Jul 2010 11:12:46 +0200 ·
in 4.3.0 using bbcombotest it's possible to have also the yellow state ?

Marco

Il 14/07/2010 10.03, Buchan Milne ha scritto:
man bbcombotest
list Maik Heinelt · Wed, 14 Jul 2010 18:32:53 +0900 ·
  Cause I also sometimes check our server status from my iphone,
I just have created an icon for it, to put it on my home screen.

If You also would like to use it, copy it into your www folder and 
that's it.
If you then login into your Hobbit/Xymon from your iphone, click the + 
and add it to your home screen.
The icon will change to this one.

Have fun!

Maik
list Neil Franken · Wed, 14 Jul 2010 11:51:26 +0200 ·
Can I put this in the Wiki? I don't have a iPhone so I am not sure if
the instruction will be clear enough.
quoted from Maik Heinelt

-----Original Message-----
From: Maik Heinelt [mailto:user-4ab5eb34adb2@xymon.invalid] 
Sent: 14 July 2010 11:33 AM
To: xymon at xymon.com
Subject: [xymon] Xymon iphone icon

  Cause I also sometimes check our server status from my iphone, I just
have created an icon for it, to put it on my home screen.

If You also would like to use it, copy it into your www folder and
that's it.
If you then login into your Hobbit/Xymon from your iphone, click the +
and add it to your home screen.
The icon will change to this one.

Have fun!

Maik
list Rob McBroom · Wed, 14 Jul 2010 07:48:18 -0400 ·
quoted from Neil Franken
On Jul 14, 2010, at 5:51 AM, Neil Franken wrote:
Can I put this in the Wiki? I don't have a iPhone so I am not sure if
the instruction will be clear enough.
What he means is that it goes in the DocumentRoot of your Xymon web server. (I think that’s `/usr/local/xymon/server/www/` by default.) iOS devices will look for files with that name, so don’t rename it.

-- 
Rob McBroom
<http://www.skurfer.com/>;
list Rob McBroom · Wed, 14 Jul 2010 08:07:24 -0400 ·
On Jul 14, 2010, at 4:03 AM, Buchan Milne wrote:
Use bbcombotest, see 'man bbcombotest' and 'man bbcombotest.cfg'
That would be the “something obvious” I was missing. I’ll take a look. Thanks.

As long as I’ve got you, I wanted to say that I found and am using your excellent OpenLDAP monitoring scripts and graphs. I generally love them, but I was getting a lot of “out of sync” false positives on the slaves. They would all of a sudden claim to be like 38 minutes out of sync. I wonder if maybe you wrote them with `refreshAndPersist` in mind because I’m using `refreshOnly` (once per minute) for now.

Here’s the problem: Say it’s been 45 minutes since a change on the master and then a MOD comes through. If the slave checks in once per minute, it’ll get the change in far less than the 10 minute default threshold for “yellow”, but the contextCSN on the master and slave are technically 45 minutes apart so simply comparing them will make things look much worse than they really are.

I’ve modified the logic of the script a bit. It still compares contextCSN on master and slave, but if they’re different, it then compares the contextCSN timestamp on the master to the current time. So if the slave is out of sync, but the master only changed 25 seconds ago, it won’t freak out.

Like I said, I made these changes to better handle `refreshOnly` slaves, but if I’m not mistaken, the same logic would work for `refreshAndPersist` so let me know if you’d like me to send the changes to be incorporated into your script. Thanks again.

-- 
Rob McBroom
<http://www.skurfer.com/>;

If you need something, that doesn't mean someone else owes it to you. If you don’t need something, that doesn’t mean someone else can take it.
list TJ Yang · Wed, 14 Jul 2010 07:08:02 -0500 ·
quoted from Maik Heinelt
On Wed, Jul 14, 2010 at 4:32 AM, Maik Heinelt <user-4ab5eb34adb2@xymon.invalid> wrote:
 Cause I also sometimes check our server status from my iphone,
I just have created an icon for it, to put it on my home screen.

If You also would like to use it, copy it into your www folder and that's
it.
If you then login into your Hobbit/Xymon from your iphone, click the + and
add it to your home screen.
The icon will change to this one.

Have fun!
Hi, Mark
What is the license term of this picture ?
If this is open source, can you provide picture source code also ?

tj
Maik

-- 
T.J. Yang
list Rob McBroom · Wed, 14 Jul 2010 14:17:41 -0400 ·
quoted from Marco Avvisano
On Jul 14, 2010, at 5:12 AM, Marco Avvisano wrote:
in 4.3.0 using bbcombotest it's possible to have also the yellow state ?
It doesn’t look like it, but perhaps you could change the test on the individual hosts to go yellow on an outage instead of red? But if you did that, I wonder if the combo test would see it as yellow also, in which case it would never go red.

-- 
Rob McBroom
<http://www.skurfer.com/>;

Because it screws up the order in which people normally read text.

Original message:
Why is it bad to top-post your reply?
list Maik Heinelt · Thu, 15 Jul 2010 09:05:21 +0900 ·
   I have designed this icon in Gimp 2.6.
Everyone feel free to use, or change it.
It was just for my own using and no commercial background at all ! ! LOL
Any GPL is just fine, I think.
So if you like to put it on Wiki, I would appreciate it!

If someone has a better design idea, I'm interest in it, too.

Maik


Heinelt Maik
Status: Software Developer
ハイネルト マイク
愛知県一宮市富士2-2-22
株式会社 ベガシステムズ
TEL 0586-71-3903
FAX 0586-71-4071
http://www.vegasystems.com
Skype ID: daliose
Attachments (1)
list TJ Yang · Wed, 14 Jul 2010 19:53:28 -0500 ·
quoted from Maik Heinelt
On Wed, Jul 14, 2010 at 7:05 PM, Maik Heinelt <user-4ab5eb34adb2@xymon.invalid> wrote:
 I have designed this icon in Gimp 2.6.
Everyone feel free to use, or change it.
It was just for my own using and no commercial background at all ! ! LOL
Any GPL is just fine, I think.
So if you like to put it on Wiki, I would appreciate it!
Hi, Maik
Thanks for  releasing  your art work into GNU license.
I need an icon for the xymon official wiki site. Yours looks good to me.
So put it up for the site logo for now until better comes along.
If someone has a better design idea, I'm interest in it, too.
IMHO, John Tuner also has a good design (See R1), but it is too wide.
Not suitable for logo.

R1: https://sourceforge.net/apps/mediawiki/xymon/nfs/project/x/xy/xymon/archive/7/70/20100714122023!MediaWikiSidebarLogo.png

tj
quoted from Maik Heinelt
Maik


Heinelt Maik
Status: Software Developer
ハイネルト マイク
愛知県一宮市富士2−2−22
株式会社 ベガシステムズ
TEL 0586−71−3903
FAX 0586−71−4071
http://www.vegasystems.com
Skype ID: daliose

-- 

T.J. Yang
list Josh Luthman · Wed, 14 Jul 2010 21:06:00 -0400 ·
IMO Maik's is far superior as a logo.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


2010/7/14 TJ Yang <user-61afc885aa73@xymon.invalid>
quoted from TJ Yang
On Wed, Jul 14, 2010 at 7:05 PM, Maik Heinelt <user-4ab5eb34adb2@xymon.invalid>
wrote:
 I have designed this icon in Gimp 2.6.
Everyone feel free to use, or change it.
It was just for my own using and no commercial background at all ! ! LOL
Any GPL is just fine, I think.
So if you like to put it on Wiki, I would appreciate it!
Hi, Maik
Thanks for  releasing  your art work into GNU license.
I need an icon for the xymon official wiki site. Yours looks good to me.
So put it up for the site logo for now until better comes along.
If someone has a better design idea, I'm interest in it, too.
IMHO, John Tuner also has a good design (See R1), but it is too wide.
Not suitable for logo.

R1:

https://sourceforge.net/apps/mediawiki/xymon/nfs/project/x/xy/xymon/archive/7/70/20100714122023!MediaWikiSidebarLogo.png<https://sourceforge.net/apps/mediawiki/xymon/nfs/project/x/xy/xymon/archive/7/70/20100714122023%21MediaWikiSidebarLogo.png>;
quoted from TJ Yang

tj
Maik


Heinelt Maik
Status: Software Developer
ハイネルト マイク
愛知県一宮市富士2−2−22
株式会社 ベガシステムズ
TEL 0586−71−3903
FAX 0586−71−4071
http://www.vegasystems.com
Skype ID: daliose

--
T.J. Yang

list Henrik Størner · Thu, 15 Jul 2010 05:41:56 +0000 (UTC) ·
Den Wed, 14 Jul 2010 18:32:53 +0900 skrev Maik Heinelt:
quoted from TJ Yang
Cause I also sometimes check our server status from my iphone, I just
have created an icon for it
Neat!


Regards,
Henrik