Xymon Mailing List Archive search

conn went purple?

7 messages in this thread

list Michael Nemeth · Tue, 16 Oct 2007 11:46:53 -0400 ·
Conn went purple?
How is that possible?  And were no idisk space problems

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth                                            |  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX    |><___________)                                                        |               Home Page:http://www.geocities.com/mjnemeth/           |               Work Page:http://scorpion/~nemethm/                    |               Work Page:http://phlccase/SWUNIX/mnemeth/              |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Greg L Hubbard · Tue, 16 Oct 2007 10:55:46 -0500 ·
Conn goes purple when the system reporting the test stops reporting.
One possible reason is DNS.  Another could be that your main server
(that does the pinging) is having problems.

GLH 
quoted from Michael Nemeth
-----Original Message-----
From: michael nemeth [mailto:user-609d3fab5b2d@xymon.invalid] Sent: Tuesday, October 16, 2007 10:47 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] conn went purple?

Conn went purple?
How is that possible?  And were no idisk space problems

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth                                            |  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX    |><___________)                                                        |               Home Page:http://www.geocities.com/mjnemeth/           |               Work Page:http://scorpion/~nemethm/                    |               Work Page:http://phlccase/SWUNIX/mnemeth/              |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Michael A. Price · Tue, 16 Oct 2007 12:56:07 -0400 ·
Hello,


I accidentally added a test to all my hosts and I would like to remove
it now from the webpage. I had to disable the test for all hosts,
because of course it is turning purple.

I found the command to remove a test from a single host.

~/server/bin/bb 127.0.0.1 "drop HOSTNAME ftp"

That works great, but I have 400+ hosts, so I have to do this for each
host.

I was wondering if there was a command to remove the single test from
all the hosts???

Thanks, michael
list Henrik Størner · Tue, 16 Oct 2007 21:56:21 +0200 ·
quoted from Michael A. Price
On Tue, Oct 16, 2007 at 12:56:07PM -0400, Michael A. Price wrote:
I found the command to remove a test from a single host.

~/server/bin/bb 127.0.0.1 "drop HOSTNAME ftp"

That works great, but I have 400+ hosts, so I have to do this for each
host.

I was wondering if there was a command to remove the single test from
all the hosts???
How about

   bbcmd bbhostgrep ftp | awk '{print $2}' | \
      while read H; do bb 127.0.0.1 "drop $H ftp"; done

That should do it ...


Henrik
list Josh Luthman · Tue, 16 Oct 2007 15:56:52 -0400 ·
Possibly this:

~/server/bin/bbcmd ~/server/bin/bb 127.0.0.1 "drop * ftp"

Josh
quoted from Michael A. Price

On 10/16/07, Michael A. Price < user-d7d653acf808@xymon.invalid> wrote:
Hello,


I accidentally added a test to all my hosts and I would like to remove
it now from the webpage. I had to disable the test for all hosts,
because of course it is turning purple.

I found the command to remove a test from a single host.

~/server/bin/bb 127.0.0.1 "drop HOSTNAME ftp"

That works great, but I have 400+ hosts, so I have to do this for each
host.

I was wondering if there was a command to remove the single test from
all the hosts???

Thanks, michael

-- 

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Stef Coene · Tue, 16 Oct 2007 22:16:02 +0200 ·
quoted from Michael A. Price
On Tuesday 16 October 2007, Michael A. Price wrote:
Hello,


I accidentally added a test to all my hosts and I would like to remove
it now from the webpage. I had to disable the test for all hosts,
because of course it is turning purple.

I found the command to remove a test from a single host.

~/server/bin/bb 127.0.0.1 "drop HOSTNAME ftp"

That works great, but I have 400+ hosts, so I have to do this for each
host.

I was wondering if there was a command to remove the single test from
all the hosts???
You can stop hobbit server, delete all files in the tmp directory and start 
the hobbit server.
This will clear all checks, you will also loose the history info so the hobbit 
server does not know the checks that hasn't changed in the last 24h.


Stef
list Ralph Mitchell · Tue, 16 Oct 2007 15:18:16 -0500 ·
quoted from Stef Coene
On 10/16/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, Oct 16, 2007 at 12:56:07PM -0400, Michael A. Price wrote:
I found the command to remove a test from a single host.

~/server/bin/bb 127.0.0.1 "drop HOSTNAME ftp"

That works great, but I have 400+ hosts, so I have to do this for each
host.

I was wondering if there was a command to remove the single test from
all the hosts???
How about

   bbcmd bbhostgrep ftp | awk '{print $2}' | \
      while read H; do bb 127.0.0.1 "drop $H ftp"; done

That should do it ...
Won't that only work for hosts that still have 'ftp' in the bb-hosts
file??  Instead of bbhostgrep, how about hobbitdboard??

     ~/server/bin/bb localhost "hobbitdboard test=ftp fields=hostname"  | \
          while read H
          do
             ~/server/bin/bb localhost "drop $H ftp"
          done

Ralph Mitchell