Xymon Mailing List Archive search

Remove all hosts which are not in bb-hosts or it's includes

list Michael Nemeth
Thu, 18 Sep 2008 11:37:36 -0400
Message-Id: <user-9aea1f835d54@xymon.invalid>

*So that must mean conn test is purple?
See:
remove-all-purple.ksh <http://www.hswn.dk/hobbiton/2008/07/msg00015.html>;

Modify by get rid of the TEST param.

• Lars Ebeling wrote:
Rich's suggestion is probably the best solution
 
-- 
Regards
Lars Ebeling
 
http://leopg9.no-ip.org
Hobbithobbyist
 
*"It is better to keep your mouth shut and appear stupid than to open 
it and remove all doubt."
-- Mark Twain*
 

    ----- Original Message -----
    *From:* Lars Ebeling <mailto:user-1fecd3eafd52@xymon.invalid>
    *To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
    *Sent:* Thursday, September 18, 2008 4:45 PM
    *Subject:* Re: [hobbit] Remove all hosts which are not in bb-hosts
    or it's includes

    Read bb manpages
     
    bb recipient "drop hostname"
     
    where recipient = hobbitserver
    hostname = name of host you want to remove
     
    -- 
    Regards
    Lars Ebeling
     
    http://leopg9.no-ip.org
    Hobbithobbyist
     
    "I am not young enough to know everything."
    -- Oscar Wilde
     

        ----- Original Message -----
        *From:* user-9219fb9415b1@xymon.invalid
        *To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
        *Sent:* Thursday, September 18, 2008 3:53 PM
        *Subject:* [hobbit] Remove all hosts which are not in bb-hosts
        or it's includes


        Hi

        How can I automatically remove all history and other data from
        hosts which are not in one or any bb-hosts file any more.

        Thanks
        Thorsten Erdmann
        ITI/EP68
        Mercedes Benz Werk Hamburg
        Tel.: +XX-XX-XXXX-XXXX
        mobil: +XX-XXX-XXXXXXX
        Lotus-Fax:+XX-XXX-XXXXXXXXXX
        mail: user-9219fb9415b1@xymon.invalid

        If you are not the intended addressee, please inform us
        immediately that you have received this e-mail in error, and
        delete it. We thank you for your cooperation.