Xymon Mailing List Archive search

drop test not sticking...

23 messages in this thread

list Benjamin Gagnon · Mon, 19 Mar 2007 01:08:59 -0700 (PDT) ·
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no output errors or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and then a couple of minutes later the column reappears.  So the drop command works ok but the settings do not stick.

I've RTFM'd and searched the web for answers to no avail. Anyone have any ideas?

thanks
Benjamin


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
list Lars Ebeling · Mon, 19 Mar 2007 09:23:04 +0100 ·
Have you removed the entry in hobbit-clients,cfg?

/Lars
quoted from Benjamin Gagnon
  ----- Original Message ----- 
  From: Benjamin Gagnon 
  To: user-ae9b8668bcde@xymon.invalid 
  Sent: Monday, March 19, 2007 9:08 AM
  Subject: [hobbit] drop test not sticking...


  Hi, I'm having a problem with dropping a host's test.

  I perform the following command from the server (there are no output errors or errors in the error log)...

   bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

  Within a couple of minutes the ports column gets dropped and then a couple of minutes later the column reappears.  So the drop command works ok but the settings do not stick.

  I've RTFM'd and searched the web for answers to no avail. Anyone have any ideas?

  thanks
  Benjamin


  Ask a question on any topic and get answers from real people. Go to Yahoo! Answers.
list Joost van den Broek · Mon, 19 Mar 2007 09:23:12 +0100 ·
Try adding NOCOLUMNS:ports to the host in bb-hosts.

- Joost
quoted from Benjamin Gagnon

Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no output errors or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and then a couple of minutes later the column reappears.  So the drop command works ok but the settings do not stick.

I've RTFM'd and searched the web for answers to no avail. Anyone have any ideas?

thanks
Benjamin

Ask a question on any topic and get answers from real people. *Go to Yahoo! Answers.* <http://ca.answers.yahoo.com>;
list Buchan Milne · Mon, 19 Mar 2007 10:23:55 +0200 ·
quoted from Benjamin Gagnon
On Monday 19 March 2007, Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no output errors
or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and then a couple
of minutes later the column reappears.  So the drop command works ok but
the settings do not stick.

I've RTFM'd and searched the web for answers to no avail. Anyone have any
ideas?
To remove a test:
1)Remove the test from the configuration file for the server that is running the test (so that no new data is generated)
2)Drop the test (to prevent the test from going purple now that it receives no data)

However, note that the ports test is not run from the Hobbit server, the ports data is supplied by the client ...

If you were dropping the entire host, this would make sense, but I can't see why you would want to drop the ports test for one host (and ... this is a bit tricky). Maybe you can explain?

You could accomplish this by hacking up the hobbit-client-<OS>.sh script on the client.

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Lars Ebeling · Mon, 19 Mar 2007 09:58:09 +0100 ·
I would say that the ports test is performed on the server. All 
posrtinformation is sent from client to server and the tests in 
hobbit-clients.log is performed, so:

1. remove the PORT entry in hobbit-clients.cfg
2. drop the test

Lars


----- Original Message ----- 
From: "Buchan Milne" <user-9b139aff4dec@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Cc: "Benjamin Gagnon" <user-a2fafc3eeb73@xymon.invalid>
Sent: Monday, March 19, 2007 9:23 AM
Subject: Re: [hobbit] drop test not sticking...
list Benjamin Gagnon · Mon, 19 Mar 2007 02:07:55 -0700 (PDT) ·
There are no uncommented PORT entries in hobbit-clients.cfg.
I have dropped the test several times and it keeps coming back.  Same goes for msgs, files and procs.

Benjamin
quoted from Lars Ebeling

----- Original Message ----
From: Lars Ebeling <user-1fecd3eafd52@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 4:58:09 AM
Subject: Re: [hobbit] drop test not sticking...

I would say that the ports test is performed on the server. All posrtinformation is sent from client to server and the tests in hobbit-clients.log is performed, so:

1. remove the PORT entry in hobbit-clients.cfg
2. drop the test

Lars


----- Original Message ----- From: "Buchan Milne" <user-9b139aff4dec@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Cc: "Benjamin Gagnon" <user-a2fafc3eeb73@xymon.invalid>
Sent: Monday, March 19, 2007 9:23 AM
Subject: Re: [hobbit] drop test not sticking...


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com
list Lars Ebeling · Mon, 19 Mar 2007 10:13:22 +0100 ·
Ok, I think you have local configured clients , so check for uncommented PORT entry in localclient.cfg on the client
quoted from Benjamin Gagnon

Lars
  ----- Original Message ----- 
  From: Benjamin Gagnon 
  To: user-ae9b8668bcde@xymon.invalid 
  Sent: Monday, March 19, 2007 10:07 AM
  Subject: Re: [hobbit] drop test not sticking...


  There are no uncommented PORT entries in hobbit-clients.cfg.
  I have dropped the test several times and it keeps coming back.  Same goes for msgs, files and procs.

  Benjamin


  ----- Original Message ----
  From: Lars Ebeling <user-1fecd3eafd52@xymon.invalid>
  To: user-ae9b8668bcde@xymon.invalid
  Sent: Monday, March 19, 2007 4:58:09 AM
  Subject: Re: [hobbit] drop test not sticking...


  I would say that the ports test is performed on the server. All 
  posrtinformation is sent from client to server and the tests in 
  hobbit-clients.log is performed, so:

  1. remove the PORT entry in hobbit-clients.cfg
  2. drop the test

  Lars


  ----- Original Message ----- 
  From: "Buchan Milne" <user-9b139aff4dec@xymon.invalid>
  To: <user-ae9b8668bcde@xymon.invalid>
  Cc: "Benjamin Gagnon" <user-a2fafc3eeb73@xymon.invalid>
  Sent: Monday, March 19, 2007 9:23 AM
  Subject: Re: [hobbit] drop test not sticking...


  The best gets better. See why everyone is raving about the All-new Yahoo! Mail.
list Benjamin Gagnon · Mon, 19 Mar 2007 02:15:18 -0700 (PDT) ·
That didn't work.  Here is my bb-hosts entry...

142.78.43.171   opsappsl.lac-bac.gc.ca          # NOCOLUMNS:msgs,ports,files,procs ctmoratst

I made the change in bb-hosts, restarted the bb server (although not required I think) and then dropped the tests using the following commands.

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca msgs"
 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"
 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca files"
 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca procs"

They keep coming back and I'm getting scared ;-)

Benjamin

P.S. The ctmoratst works fine.
quoted from Joost van den Broek

----- Original Message ----
From: Joost van den Broek <user-5bf70bf7662e@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 4:23:12 AM
Subject: Re: [hobbit] drop test not sticking...

Try adding NOCOLUMNS:ports to the host in bb-hosts.

- Joost

Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no output errors or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and then a couple of minutes later the column reappears.  So the drop command works ok but the settings do not stick.

I've RTFM'd and searched the web for answers to no avail. Anyone have any ideas?

thanks
Benjamin

Ask a question on any topic and get answers from real people. *Go to Yahoo! Answers.* <http://ca.answers.yahoo.com>;

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com
list Benjamin Gagnon · Mon, 19 Mar 2007 02:20:05 -0700 (PDT) ·
BTW the ports test must be performed from the client because the server cannot have any knowledge of internal interfaces such as local loopback...  Here is a sample of my ports test data.
tcp        0      0 127.0.0.1:7017          0.0.0.0:*               LISTEN      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      tcp        0      0 0.0.0.0:1521            0.0.0.0:*               LISTEN      tcp        0      0 0.0.0.0:5555            0.0.0.0:*               LISTEN   
quoted from Lars Ebeling

Benjamin

----- Original Message ----
From: Lars Ebeling <user-1fecd3eafd52@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 4:58:09 AM
Subject: Re: [hobbit] drop test not sticking...

I would say that the ports test is performed on the server. All posrtinformation is sent from client to server and the tests in hobbit-clients.log is performed, so:

1. remove the PORT entry in hobbit-clients.cfg
2. drop the test

Lars


----- Original Message ----- From: "Buchan Milne" <user-9b139aff4dec@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Cc: "Benjamin Gagnon" <user-a2fafc3eeb73@xymon.invalid>
Sent: Monday, March 19, 2007 9:23 AM
Subject: Re: [hobbit] drop test not sticking...


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com
list Benjamin Gagnon · Mon, 19 Mar 2007 03:05:30 -0700 (PDT) ·
Thank you very much for your solution.  I have dropped both procs and ports so far.  
I
hacked the hobbit-client-<OS>.sh script on the client, restarted
the client then dropped the tests once again from the server.  Those 2
tests are now gone.

I'm not sure how to get rid of msgs and
files though.  Doesn't appear to be any entry for these in the
hobbit-client-<OS>.sh script.  Anyone?  There are no uncommented
FILE or LOG entries in the client's localclient.cfg or in the server's
hobbit-clients.cfg files.

I'm confused as to why it is so
difficult to remove standard client-side tests that I do not wish to
perform at this point in time.  
Benjamin
quoted from Buchan Milne

----- Original Message ----
From: Buchan Milne <user-9b139aff4dec@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Cc: Benjamin Gagnon <user-a2fafc3eeb73@xymon.invalid>
Sent: Monday, March 19, 2007 4:23:55 AM
Subject: Re: [hobbit] drop test not sticking...

On Monday 19 March 2007, Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no output errors
or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and then a couple
of minutes later the column reappears.  So the drop command works ok but
the settings do not stick.

I've RTFM'd and searched the web for answers to no avail. Anyone have any
ideas?
To remove a test:
1)Remove the test from the configuration file for the server that is running the test (so that no new data is generated)
2)Drop the test (to prevent the test from going purple now that it receives no data)

However, note that the ports test is not run from the Hobbit server, the ports data is supplied by the client ...

If you were dropping the entire host, this would make sense, but I can't see why you would want to drop the ports test for one host (and ... this is a bit tricky). Maybe you can explain?

You could accomplish this by hacking up the hobbit-client-<OS>.sh script on the client.

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com
list Charles Goyard · Mon, 19 Mar 2007 11:07:36 +0100 ·
quoted from Benjamin Gagnon
Benjamin Gagnon wrote :
There are no uncommented PORT entries in hobbit-clients.cfg.
I have dropped the test several times and it keeps coming back.  Same
goes for msgs, files and procs.
If what you want is to avoid all-clear columns, edit your
hobbitlaunch.cfg and add --no-clear... :

[clientdata]
        ENVFILE /usr2/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client --no-clear-msgs --no-clear-files --no-clear-ports


-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Benjamin Gagnon · Mon, 19 Mar 2007 18:11:04 +0800 (CST) ·
I have no uncommented PORT entries on the client or the server.  
Looks like Milne has the right answer, at least for ports and procs.

I'm still not sure how to get files and msgs to disappear.  As I mentioned in the Milne reply none of the proposed solutions has worked for those two tests and only his solution has worked for the procs and ports tests.

Thanks anyway.
quoted from Benjamin Gagnon

Benjamin

----- Original Message ----
From: Lars Ebeling <user-1fecd3eafd52@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 5:13:22 AM
Subject: Re: [hobbit] drop test not sticking...


 DIV {
MARGIN:0px;}
quoted from Benjamin Gagnon


Ok, I think you have local configured clients , so check for uncommented PORT entry in localclient.cfg on the client

 
Lars


  ----- Original Message ----- 
  From:   Benjamin Gagnon 
  To: user-ae9b8668bcde@xymon.invalid 
  Sent: Monday, March 19, 2007 10:07   AM

  Subject: Re: [hobbit] drop test not   sticking...

  
    There   are no uncommented PORT entries in hobbit-clients.cfg.
I have dropped the   test several times and it keeps coming back.  Same goes for msgs, files   and procs.

Benjamin


  -----   Original Message ----
From: Lars Ebeling <user-1fecd3eafd52@xymon.invalid>
To:   user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19,   2007 4:58:09 AM
Subject: Re: [hobbit] drop test not sticking...


  I would say that the ports test is performed on the server. All   posrtinformation is sent from client to server and the tests in   hobbit-clients.log is performed, so:

1. remove the PORT entry in   hobbit-clients.cfg
2. drop the test

Lars


----- Original   Message ----- From: "Buchan Milne"   <user-9b139aff4dec@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Cc:   "Benjamin Gagnon" <user-a2fafc3eeb73@xymon.invalid>
Sent: Monday, March 19,   2007 9:23 AM
Subject: Re: [hobbit] drop test not   sticking...


To unsubscribe from the hobbit list, send an e-mail   to
user-095ef1c764a2@xymon.invalid
quoted from Benjamin Gagnon


    The best gets better. See why everyone is raving about the All-new   Yahoo! Mail. 


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com
list Chris Morris · Mon, 19 Mar 2007 10:20:56 -0000 ·
The log and file tests are controlled by the client-local.cfg file on the
hobbit server and the logfetch.* files in ~/client/tmp/ on the client.

This is all in the man pages for hobbit.
quoted from Benjamin Gagnon
-----Original Message-----
From:	Benjamin Gagnon [SMTP:user-a2fafc3eeb73@xymon.invalid]
Sent:	Monday, March 19, 2007 10:11 AM
To:	user-ae9b8668bcde@xymon.invalid
Subject:	Re: [hobbit] drop test not sticking...

I have no uncommented PORT entries on the client or the server.  

Looks like Milne has the right answer, at least for ports and procs.

I'm still not sure how to get files and msgs to disappear.  As I mentioned
in the Milne reply none of the proposed solutions has worked for those two
tests and only his solution has worked for the procs and ports tests.

Thanks anyway.

Benjamin


----- Original Message ----
From: Lars Ebeling <user-1fecd3eafd52@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 5:13:22 AM
Subject: Re: [hobbit] drop test not sticking...


Ok, I think you have local configured clients , so check for uncommented
PORT entry in localclient.cfg on the client
 
Lars

	----- Original Message ----- 
	From: Benjamin Gagnon <mailto:user-a2fafc3eeb73@xymon.invalid> 
	To: user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid> 
	Sent: Monday, March 19, 2007 10:07 AM
	Subject: Re: [hobbit] drop test not sticking...

	There are no uncommented PORT entries in hobbit-clients.cfg.
	I have dropped the test several times and it keeps coming back.
Same goes for msgs, files and procs.
	
	Benjamin
	
	
	----- Original Message ----
	From: Lars Ebeling < user-1fecd3eafd52@xymon.invalid
	To: user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
	Sent: Monday, March 19, 2007 4:58:09 AM
	Subject: Re: [hobbit] drop test not sticking...
	
	
	I would say that the ports test is performed on the server. All 
	posrtinformation is sent from client to server and the tests in 
	hobbit-clients.log is performed, so:
	
	1. remove the PORT entry in hobbit-clients.cfg
	2. drop the test
	
	Lars
	
	
	----- Original Message ----- 
	From: "Buchan Milne" <user-9b139aff4dec@xymon.invalid>
	To: <user-ae9b8668bcde@xymon.invalid>
	Cc: "Benjamin Gagnon" <user-a2fafc3eeb73@xymon.invalid>
	Sent: Monday, March 19, 2007 9:23 AM
	Subject: Re: [hobbit] drop test not sticking...
	
	
	The best gets better. See why everyone is raving about the All-new
Yahoo! Mail.

<http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.int
l=ca> 


All new Yahoo! Mail -
<http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.int
l=ca>

Get a sneak peak at messages with a handy reading pane.

****************************************************************************
Across the UK, mobile phone chargers left plugged in waste over 60 million pounds and are responsible for a quarter of a million tonnes of CO2 every year

Source:  Energy Saving Trust (2007)

****************************************************************************
This e-mail is provided for general information purposes only and does not constitute investment or transactional advice. For  the avoidance of doubt the contents of this email are subject to contract and will not constitute a legally binding contract.

The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this e-mail in error, please notify user-874c4fade580@xymon.invalid (UK 01384 275454) and delete it immediately from your system.
    
Neither Npower nor any of the other companies in the RWE Npower group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses.
RWE Npower plc Registered office: Windmill Hill Business Park, Whitehill Way, Swindon SN5 6PB. Registered in England and Wales: number 3892782.  This e-mail may be sent on behalf of a member of the RWE Npower group of companies.
*****************************************************************************
list Benjamin Gagnon · Mon, 19 Mar 2007 03:38:03 -0700 (PDT) ·
Those options had no apparent effect whatsoever even though files and msgs are both clear (ports was removed by hacking the client hobbitclient-linux.sh script).

Here is the ps output...

hobbit   17592 17572  0 06:30 ?        00:00:00 hobbitd_channel --channel=client --log=/home/hobbit/log/clientdata.log hobbitd_client --no-clear-msgs --no-clear-files --no-clear-ports

I made your recommended change, dropped the 2 tests, restarted the server and dropped the 2 tests again to no avail.

Benjamin
quoted from Charles Goyard


----- Original Message ----
From: Charles Goyard <user-98f9625a7a59@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 6:07:36 AM
Subject: Re: [hobbit] drop test not sticking...

Benjamin Gagnon wrote :
There are no uncommented PORT entries in hobbit-clients.cfg.
I have dropped the test several times and it keeps coming back.  Same
goes for msgs, files and procs.
If what you want is to avoid all-clear columns, edit your
hobbitlaunch.cfg and add --no-clear... :

[clientdata]
        ENVFILE /usr2/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client --no-clear-msgs --no-clear-files --no-clear-ports


-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
list Benjamin Gagnon · Mon, 19 Mar 2007 04:27:36 -0700 (PDT) ·
I commented out every single entry in the client-local.cfg file.  There were no logfetch.* files in the ~/client/tmp/ directory (I've never seen one of those).

I also read the man page for the client-local.cfg file (and many other man pages).  
Here is my configuration so far (listed only what I have changed from the defaults)

Server
bb-hosts (Should have an impact but doesn't)

page CLIENTS Hobbit Clients
group-compress  <H3><I>Hobbit Clients</I></H3>
142.78.43.171   opsappsl.lac-bac.gc.ca          # NOCOLUMNS:msgs,ports,files,procs ctmoratst

client-local.cfg (I believe that commenting out all the lines should have an impact however this is not clear from the documentation)

All lines are commented out

hobbitlauch.cfg (Change should have an impact but doesn't)

# The client back-end module. You need this if you are running the Hobbit client on any system.
[clientdata]
        ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client --no-clear-msgs --no-clear-files --no-clear-ports


Client


clientlaunch.cfg  (Changes should have no impact)

[ctmoratst]
        ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
        CMD /home/hobbit/client/ext/plugins/oracle/controlm_oracle_test.php
        LOGFILE /home/hobbit/client/logs/controlm_oracle_test.launch.log
        INTERVAL 5m


localclient.cfg (Change should have no impact)

DEFAULT
        # These are the built-in defaults.
        UP      2h
        LOAD    5.0 10.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97


hobbitclient-linux.sh (Changes did have an impact... ports and procs are no longer being reported)


#echo "[ports]"
# Bug in RedHat's netstat spews annoying error messages.
#netstat -ant 2>/dev/null

#echo "[ps]"
#ps -Aw -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd

So far the changes to hobbitclient-linux.sh are the only ones that had any effect.  Still trying to hide the files and msgs test columns.  
Benjamin
quoted from Chris Morris

----- Original Message ----
From: "Morris, Chris (SS-IS)" <user-7c3d847d296d@xymon.invalid>
To: "user-ae9b8668bcde@xymon.invalid" <user-ae9b8668bcde@xymon.invalid>
Sent: Monday, March 19, 2007 6:20:56 AM
Subject: RE: [hobbit] drop test not sticking...

The log and file tests are controlled by the client-local.cfg file on the
hobbit server and the logfetch.* files in ~/client/tmp/ on the client.

This is all in the man pages for hobbit.
-----Original Message-----
From:    Benjamin Gagnon [SMTP:user-a2fafc3eeb73@xymon.invalid]
Sent:    Monday, March 19, 2007 10:11 AM
To:    user-ae9b8668bcde@xymon.invalid
Subject:    Re: [hobbit] drop test not sticking...

I have no uncommented PORT entries on the client or the server.  
Looks like Milne has the right answer, at least for ports and procs.

I'm still not sure how to get files and msgs to disappear.  As I mentioned
in the Milne reply none of the proposed solutions has worked for those two
tests and only his solution has worked for the procs and ports tests.

Thanks anyway.

Benjamin


----- Original Message ----
From: Lars Ebeling <user-1fecd3eafd52@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 5:13:22 AM
Subject: Re: [hobbit] drop test not sticking...


Ok, I think you have local configured clients , so check for uncommented
PORT entry in localclient.cfg on the client
 Lars

    ----- Original Message -----     From: Benjamin Gagnon <mailto:user-a2fafc3eeb73@xymon.invalid>     To: user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>     Sent: Monday, March 19, 2007 10:07 AM
    Subject: Re: [hobbit] drop test not sticking...

    There are no uncommented PORT entries in hobbit-clients.cfg.
    I have dropped the test several times and it keeps coming back.
Same goes for msgs, files and procs.
        Benjamin
            ----- Original Message ----
    From: Lars Ebeling < user-1fecd3eafd52@xymon.invalid
    To: user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
    Sent: Monday, March 19, 2007 4:58:09 AM
    Subject: Re: [hobbit] drop test not sticking...
            I would say that the ports test is performed on the server. All     posrtinformation is sent from client to server and the tests in     hobbit-clients.log is performed, so:
        1. remove the PORT entry in hobbit-clients.cfg
    2. drop the test
        Lars
            ----- Original Message -----     From: "Buchan Milne" <user-9b139aff4dec@xymon.invalid>
    To: <user-ae9b8668bcde@xymon.invalid>
    Cc: "Benjamin Gagnon" <user-a2fafc3eeb73@xymon.invalid>
    Sent: Monday, March 19, 2007 9:23 AM
    Subject: Re: [hobbit] drop test not sticking...
                            

    The best gets better. See why everyone is raving about the All-new
Yahoo! Mail.
<http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.int
l=ca> 


All new Yahoo! Mail -
<http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.int
l=ca>
Get a sneak peak at messages with a handy reading pane.

****************************************************************************
Across the UK, mobile phone chargers left plugged in waste over 60 million pounds and are responsible for a quarter of a million tonnes of CO2 every year

Source:  Energy Saving Trust (2007)

****************************************************************************
This e-mail is provided for general information purposes only and does not constitute investment or transactional advice. For  the avoidance of doubt the contents of this email are subject to contract and will not constitute a legally binding contract.

The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this e-mail in error, please notify user-874c4fade580@xymon.invalid (UK 01384 275454) and delete it immediately from your system.
    Neither Npower nor any of the other companies in the RWE Npower group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses.
RWE Npower plc Registered office: Windmill Hill Business Park, Whitehill Way, Swindon SN5 6PB. Registered in England and Wales: number 3892782.  This e-mail may be sent on behalf of a member of the RWE Npower group of companies.
*****************************************************************************


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com
list Henrik Størner · Mon, 19 Mar 2007 12:37:47 +0100 ·
quoted from Benjamin Gagnon
On Mon, Mar 19, 2007 at 01:08:59AM -0700, Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no output errors or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and then a couple of minutes later the column reappears.  So the drop command works ok but the settings do not stick.
The "ports" column re-appears because it is one of the columns generated
from the client data. So after you drop it, it will be re-created the
next time the client sends in an update.

If you want to remove the "ports" column because it is clear (white),
then use the "NOCOLUMNS:ports" setting in bb-hosts, or change
hobbitserver.cfg so hobbitd_client is launched with the --no-clear-ports
option.


Regards,
Henrik
list Benjamin Gagnon · Mon, 19 Mar 2007 05:08:56 -0700 (PDT) ·
I tried both of the options you suggested and they do not work for me.  I listed the contents of my configuration files in my previous post on this subject (listed again here).  Both of these changes are in place but neither of them is having an effect.

Does this work for you?  I'm using 4.2.

Benjamin
quoted from Benjamin Gagnon


Server
bb-hosts (Should have an impact but doesn't)

page CLIENTS Hobbit Clients
group-compress  <H3><I>Hobbit Clients</I></H3>
142.78.43.171   opsappsl.lac-bac.gc.ca          # NOCOLUMNS:msgs,ports,files,procs
 ctmoratst

client-local.cfg
(I believe that commenting out all the lines should have an impact
however this is not clear from the documentation)

All lines are commented out

hobbitlauch.cfg (Change should have an impact but doesn't)

# The client back-end module. You need this if you are running the Hobbit client on any system.
[clientdata]
        ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
       
CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log
hobbitd_client --no-clear-msgs --no-clear-files --no-clear-ports


Client


clientlaunch.cfg  (Changes should have no impact)

[ctmoratst]
        ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
        CMD /home/hobbit/client/ext/plugins/oracle/controlm_oracle_test.php
        LOGFILE /home/hobbit/client/logs/controlm_oracle_test.launch.log
        INTERVAL 5m


localclient.cfg (Change should have no impact)

DEFAULT
        # These are the built-in defaults.
        UP      2h
        LOAD    5.0 10.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97


hobbitclient-linux.sh (Changes did have an impact... ports and procs are no longer being reported)


#echo "[ports]"
# Bug in RedHat's netstat spews annoying error messages.
#netstat -ant 2>/dev/null

#echo "[ps]"
#ps -Aw -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd


----- Original Message ----
From: Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 7:37:47 AM
Subject: Re: [hobbit] drop test not sticking...

On Mon, Mar 19, 2007 at 01:08:59AM -0700, Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no output errors or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and then a couple of minutes later the column reappears.  So the drop command works ok but the settings do not stick.
The "ports" column re-appears because it is one of the columns generated
from the client data. So after you drop it, it will be re-created the
next time the client sends in an update.

If you want to remove the "ports" column because it is clear (white),
then use the "NOCOLUMNS:ports" setting in bb-hosts, or change
hobbitserver.cfg so hobbitd_client is launched with the --no-clear-ports
option.


Regards,
Henrik


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
list Greg L Hubbard · Mon, 19 Mar 2007 07:56:00 -0500 ·
I think you are better off to hide these columns than to try to get rid
of the standard tests.  They are harmless with default settings.
 
GLH
quoted from Benjamin Gagnon


	From: Benjamin Gagnon [mailto:user-a2fafc3eeb73@xymon.invalid] 
	Sent: Monday, March 19, 2007 4:15 AM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] drop test not sticking...
	
	
	That didn't work.  Here is my bb-hosts entry...
	
	142.78.43.171   opsappsl.lac-bac.gc.ca          #
NOCOLUMNS:msgs,ports,files,procs ctmoratst
	
	I made the change in bb-hosts, restarted the bb server (although
not required I think) and then dropped the tests using the following
commands.
	
	 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca msgs"
	 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"
	 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca files"
	 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca procs"
	
	They keep coming back and I'm getting scared ;-)
	
	Benjamin
	
	P.S. The ctmoratst works fine.
	
	
	----- Original Message ----
	From: Joost van den Broek <user-5bf70bf7662e@xymon.invalid>
	To: user-ae9b8668bcde@xymon.invalid
	Sent: Monday, March 19, 2007 4:23:12 AM
	Subject: Re: [hobbit] drop test not sticking...
	
	
	Try adding NOCOLUMNS:ports to the host in bb-hosts.
	
	- Joost
	
	Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no
output 
errors or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and
then a 
couple of minutes later the column reappears.  So the drop
command works 
ok but the settings do not stick.

I've RTFM'd and searched the web for answers to no avail.
Anyone have 
any ideas?

thanks
Benjamin


Ask a question on any topic and get answers from real people.
*Go to 
Yahoo! Answers.* <http://ca.answers.yahoo.com>;
	
	
	Share your photos with the people who matter at Yahoo! Canada
Photos <http://photos.yahoo.ca>;
list Benjamin Gagnon · Mon, 19 Mar 2007 06:13:26 -0700 (PDT) ·
How would you go about it?  First, check out my last 2-3 posts on this topic.  I really don't know what else to try except maybe a clean installation (which shouldn't make any difference).

Benjamin
quoted from Greg L Hubbard

----- Original Message ----
From: "Hubbard, Greg L" <user-d970b5e56ec9@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 8:56:00 AM
Subject: RE: [hobbit] drop test not sticking...


 DIV {
MARGIN:0px;}


I think you are better off to hide these columns than to try to get rid of the standard tests.  They are harmless with default settings.

 
GLH


      From: Benjamin Gagnon   [mailto:user-a2fafc3eeb73@xymon.invalid] Sent: Monday, March 19, 2007 4:15   AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] drop test not   sticking...


    That   didn't work.  Here is my bb-hosts   entry...

142.78.43.171     opsappsl.lac-bac.gc.ca          #   NOCOLUMNS:msgs,ports,files,procs ctmoratst

I made the change in   bb-hosts, restarted the bb server (although not required I think) and then   dropped the tests using the following commands.

 bb 127.0.0.1   "drop opsappsl.lac-bac.gc.ca msgs"
 bb 127.0.0.1 "drop   opsappsl.lac-bac.gc.ca ports"
 bb 127.0.0.1 "drop   opsappsl.lac-bac.gc.ca files"
 bb 127.0.0.1 "drop   opsappsl.lac-bac.gc.ca procs"

They keep coming back and I'm getting   scared ;-)

Benjamin

P.S. The ctmoratst works fine.


  ----- Original Message ----
From: Joost van   den Broek <user-5bf70bf7662e@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday,   March 19, 2007 4:23:12 AM
Subject: Re: [hobbit] drop test not   sticking...


  Try adding NOCOLUMNS:ports to the host in bb-hosts.

-   Joost

Benjamin Gagnon wrote:
Hi, I'm having a problem with 
  dropping a host's test.

I perform the following command from 
  the server (there are no output 
errors or errors in the error 
  log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca 
  ports"

Within a couple of minutes the ports column gets 
  dropped and then a 
couple of minutes later the column 
  reappears.  So the drop command works 
ok but the settings 
  do not stick.

I've RTFM'd and searched the web for answers to 
  no avail. Anyone have 
any ideas?

thanks
  Benjamin
  Ask a question on any topic and get answers from real people. *Go to 
  Yahoo! Answers.* <http://ca.answers.yahoo.com>;

To unsubscribe from   the hobbit list, send an e-mail   to
user-095ef1c764a2@xymon.invalid


    Share your photos with the people who matter at Yahoo! Canada Photos


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com
list Greg L Hubbard · Mon, 19 Mar 2007 08:28:45 -0500 ·
Look at these options for the bb-hosts file:
 
group-only COLUMN1|COLUMN2|COLUMN3 [group-title] 
Same as the "group" and "group-compress" lines, but includes only the
columns explicitly listed in the group. Any columns not listed will be
ignored for these hosts. 

group-except COLUMN1|COLUMN2|COLUMN3 [group-title] 
Same as the "group-only" lines, but includes all columns EXCEPT those
explicitly listed in the group. Any columns listed will be ignored for
these hosts - all other columns are shown. 
 
NOCOLUMNS:column[,column] 
Used to drop certain of the status columns generated by the Hobbit
client. column is one of cpu, disk, files, memory, msgs, ports, procs.
This setting stops these columns from being updated for the host. Note:
If the columns already exist, you must use the bb
<http://usplsgrad002.net.eds.com:8000/hobbit/help/manpages/man1/bb.1.htm
l> (1) utility to drop them, or they will go purple. 
 
 
Which one to use depends on whether you have a group of hosts that you
don't want to show all values for, or if you need to do this on a
host-by-host basis.  Use "NOCOLUMNS" for controlling the display of
individual hosts, and the "group" commands for groups.
quoted from Benjamin Gagnon
 
GLH


	From: Benjamin Gagnon [mailto:user-a2fafc3eeb73@xymon.invalid] 
	Sent: Monday, March 19, 2007 8:13 AM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] drop test not sticking...
	
	
	How would you go about it?  First, check out my last 2-3 posts
on this topic.  I really don't know what else to try except maybe a
clean installation (which shouldn't make any difference).
	
	Benjamin
	
	
	----- Original Message ----
	From: "Hubbard, Greg L" <user-d970b5e56ec9@xymon.invalid>
	To: user-ae9b8668bcde@xymon.invalid
	Sent: Monday, March 19, 2007 8:56:00 AM
	Subject: RE: [hobbit] drop test not sticking...
	
	
	I think you are better off to hide these columns than to try to
get rid of the standard tests.  They are harmless with default settings.
	 
	GLH


		From: Benjamin Gagnon [mailto:user-a2fafc3eeb73@xymon.invalid] 
		Sent: Monday, March 19, 2007 4:15 AM
		To: user-ae9b8668bcde@xymon.invalid
		Subject: Re: [hobbit] drop test not sticking...
		
		
		That didn't work.  Here is my bb-hosts entry...
		
		142.78.43.171   opsappsl.lac-bac.gc.ca          #
NOCOLUMNS:msgs,ports,files,procs ctmoratst
		
		I made the change in bb-hosts, restarted the bb server
(although not required I think) and then dropped the tests using the
following commands.
		
		 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca msgs"
		 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"
		 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca files"
		 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca procs"
		
		They keep coming back and I'm getting scared ;-)
		
		Benjamin
		
		P.S. The ctmoratst works fine.
		
		
		----- Original Message ----
		From: Joost van den Broek <user-5bf70bf7662e@xymon.invalid>
		To: user-ae9b8668bcde@xymon.invalid
		Sent: Monday, March 19, 2007 4:23:12 AM
		Subject: Re: [hobbit] drop test not sticking...
		
		
		Try adding NOCOLUMNS:ports to the host in bb-hosts.
		
		- Joost
		
		Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there
are no output 
errors or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets
dropped and then a 
couple of minutes later the column reappears.  So the
drop command works 
ok but the settings do not stick.

I've RTFM'd and searched the web for answers to no
avail. Anyone have 
any ideas?

thanks
Benjamin


Ask a question on any topic and get answers from real
people. *Go to 
Yahoo! Answers.* <http://ca.answers.yahoo.com>;
		
		
		Share your photos with the people who matter at Yahoo!
Canada Photos <http://photos.yahoo.ca>; 


	All new Yahoo! Mail
<http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.i
ntl=ca> 

	Get news delivered. Enjoy RSS feeds right on your Mail page.
list Dean Casey · Mon, 19 Mar 2007 09:33:01 -0400 ·
Since these are standard tests, as long as you have the host itself
listed in the bb-hosts file, they will re-appear unless you use the
"no<test>" tag - noconn noprocs nports, etc - as outlined in the help
files. Use those tags at the appropriate level in the bb-hosts file and
all will be well.

 
Dean Casey 
quoted from Benjamin Gagnon


From: Benjamin Gagnon [mailto:user-a2fafc3eeb73@xymon.invalid] 
Sent: Monday, March 19, 2007 6:06 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] drop test not sticking...

 
Thank you very much for your solution.  I have dropped both procs and
ports so far.  

I hacked the hobbit-client-<OS>.sh script on the client, restarted the
client then dropped the tests once again from the server.  Those 2 tests
are now gone.

I'm not sure how to get rid of msgs and files though.  Doesn't appear to
be any entry for these in the hobbit-client-<OS>.sh script.  Anyone?
There are no uncommented FILE or LOG entries in the client's
localclient.cfg or in the server's hobbit-clients.cfg files.

I'm confused as to why it is so difficult to remove standard client-side
tests that I do not wish to perform at this point in time.  

Benjamin

----- Original Message ----
From: Buchan Milne <user-9b139aff4dec@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Cc: Benjamin Gagnon <user-a2fafc3eeb73@xymon.invalid>
Sent: Monday, March 19, 2007 4:23:55 AM
Subject: Re: [hobbit] drop test not sticking...

On Monday 19 March 2007, Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.

I perform the following command from the server (there are no output
errors
or errors in the error log)...

 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes the ports column gets dropped and then a
couple
of minutes later the column reappears.  So the drop command works ok
but
the settings do not stick.

I've RTFM'd and searched the web for answers to no avail. Anyone have
any
ideas?
To remove a test:
1)Remove the test from the configuration file for the server that is
running 
the test (so that no new data is generated)
2)Drop the test (to prevent the test from going purple now that it
receives no 
data)

However, note that the ports test is not run from the Hobbit server, the
ports 
data is supplied by the client ...

If you were dropping the entire host, this would make sense, but I can't
see 
why you would want to drop the ports test for one host (and ... this is
a bit 
tricky). Maybe you can explain?

You could accomplish this by hacking up the hobbit-client-<OS>.sh script
on 
the client.

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

 
The best gets better. See why everyone is raving about the All-new
Yahoo! Mail.

<http://us.rd.yahoo.com/evt=40705/*http:/mrd.mail.yahoo.com/try_beta?.in
tl=ca>
list Benjamin Gagnon · Tue, 20 Mar 2007 17:55:09 -0700 (PDT) ·
Thanks.  group-only and group-except works like a charm.


NOCOLUMNS + bb drop does not work for me (the column disappears for a couple of minutes only).  I don't get this at all because it's documented and people keep telling me this is supposed to work.

bb-hosts
page CLIENTS Hobbit Clients
142.78.43.171   opsappsl.lac-bac.gc.ca          # NOCOLUMNS:files ctmoratst

then
# bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca files"

then wait 1-2 minutes for columns to disappear

then wait 1-2 minutes for columns to re-appear.
quoted from Greg L Hubbard


Benjamin

----- Original Message ----
From: "Hubbard, Greg L" <user-d970b5e56ec9@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 9:28:45 AM
Subject: RE: [hobbit] drop test not sticking...


 DIV {
MARGIN:0px;}


Look at these options for the bb-hosts file:

 
group-only COLUMN1|COLUMN2|COLUMN3 [group-title] Same as the "group" and "group-compress" lines, but includes only the columns explicitly listed in the group. Any columns not listed will be ignored for these hosts. 

group-except COLUMN1|COLUMN2|COLUMN3 [group-title] Same as the "group-only" lines, but includes all columns EXCEPT those explicitly listed in the group. Any columns listed will be ignored for these hosts - all other columns are shown.  

NOCOLUMNS:column[,column] Used to drop certain of the status columns generated by the Hobbit client. column is one of cpu, disk, files, memory, msgs, ports, procs. This setting stops these columns from being updated for the host. Note: If the columns already exist, you must use the bb(1) utility to drop them, or they will go purple. 
quoted from Greg L Hubbard
 
 
Which one to use depends on whether you have a group of hosts that you don't want to show all values for, or if you need to do this on a host-by-host basis.  Use "NOCOLUMNS" for controlling the display of individual hosts, and the "group" commands for groups.

 
GLH


      From: Benjamin Gagnon   [mailto:user-a2fafc3eeb73@xymon.invalid] Sent: Monday, March 19, 2007 8:13   AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] drop test not   sticking...


    How   would you go about it?  First, check out my last 2-3 posts on this   topic.  I really don't know what else to try except maybe a clean   installation (which shouldn't make any difference).

Benjamin


  -----   Original Message ----
From: "Hubbard, Greg L"   <user-d970b5e56ec9@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19,   2007 8:56:00 AM
Subject: RE: [hobbit] drop test not sticking...


  DIV {
MARGIN:0px;}


  I think you are better off to hide these columns   than to try to get rid of the standard tests.  They are harmless with   default settings.

   
  GLH


              From: Benjamin Gagnon     [mailto:user-a2fafc3eeb73@xymon.invalid] Sent: Monday, March 19, 2007     4:15 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] drop     test not sticking...


        That     didn't work.  Here is my bb-hosts     entry...

142.78.43.171       opsappsl.lac-bac.gc.ca              # NOCOLUMNS:msgs,ports,files,procs ctmoratst

I made the change in     bb-hosts, restarted the bb server (although not required I think) and then     dropped the tests using the following commands.

 bb 127.0.0.1     "drop opsappsl.lac-bac.gc.ca msgs"
 bb 127.0.0.1 "drop     opsappsl.lac-bac.gc.ca ports"
 bb 127.0.0.1 "drop     opsappsl.lac-bac.gc.ca files"
 bb 127.0.0.1 "drop     opsappsl.lac-bac.gc.ca procs"

They keep coming back and I'm getting     scared ;-)

Benjamin

P.S. The ctmoratst works fine.


    -----     Original Message ----
From: Joost van den Broek     <user-5bf70bf7662e@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19,     2007 4:23:12 AM
Subject: Re: [hobbit] drop test not sticking...


    Try adding NOCOLUMNS:ports to the host in bb-hosts.

-     Joost

Benjamin Gagnon wrote:
Hi, I'm having a problem with 
    dropping a host's test.

I perform the following command 
    from the server (there are no output 
errors or errors in the error 
    log)...

 bb 127.0.0.1 "drop 
    opsappsl.lac-bac.gc.ca ports"

Within a couple of minutes 
    the ports column gets dropped and then a 
couple of minutes later 
    the column reappears.  So the drop command works 
ok but 
    the settings do not stick.

I've RTFM'd and searched the web 
    for answers to no avail. Anyone have 
any ideas?

    thanks
Benjamin

    Ask a question on any topic and get answers from real people. *Go to     
Yahoo! Answers.* <http://ca.answers.yahoo.com>;
To     unsubscribe from the hobbit list, send an e-mail     to
user-095ef1c764a2@xymon.invalid


        Share your photos with the people who matter at Yahoo! Canada     Photos


    All   new Yahoo! Mail     Get news delivered. Enjoy RSS feeds right on your Mail page.
quoted from Benjamin Gagnon


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com
list Benjamin Gagnon · Tue, 20 Mar 2007 20:08:24 -0500 (CDT) ·
I have been trying to hide the following 4 columns....

msgs, files, procs and ports

None of those have a "no" option.

Benjamin

P.S.  The only way I can get those columns to disappear is by using the group-only and group-except tags (or hacking the client script - see below).  NOCOLUMNS + bb drop does not work for me at all (see my previous message).
quoted from Dean Casey

----- Original Message ----
From: Dean Casey <user-99832ab50ffd@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, March 19, 2007 9:33:01 AM
Subject: RE: [hobbit] drop test not sticking...


<!--

 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
p.MsoToc1, li.MsoToc1, div.MsoToc1
	{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:Arial;}
p.MsoToc2, li.MsoToc2, div.MsoToc2
	{margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:12.0pt;margin-bottom:.0001pt;font-size:11.0pt;font-family:Arial;}
p.MsoToc3, li.MsoToc3, div.MsoToc3
	{margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.3in;margin-bottom:.0001pt;font-size:10.0pt;font-family:Arial;}
p.MsoToc4, li.MsoToc4, div.MsoToc4
	{margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;font-size:9.0pt;font-family:Arial;}
a:link, span.MsoHyperlink
	{color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;text-decoration:underline;}
span.EmailStyle21
	{font-family:Arial;color:navy;}
 _filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
quoted from Dean Casey
	{}
-->


Since these are standard tests, as long as
you have the host itself listed in the bb-hosts file, they will re-appear
unless you use the “no<test>” tag – noconn noprocs
nports, etc – as outlined in the help files. Use those tags at the appropriate
level in the bb-hosts file and all will be well.
 

Dean Casey 
 

From: Benjamin Gagnon
[mailto:user-a2fafc3eeb73@xymon.invalid] 

Sent: Monday, March 19, 2007 6:06
AM

To: user-ae9b8668bcde@xymon.invalid

Subject: Re: [hobbit] drop test
not sticking...
 

Thank you very much for
your solution.  I have dropped both procs and ports so far.  


I hacked the hobbit-client-<OS>.sh script on the client, restarted the
client then dropped the tests once again from the server.  Those 2 tests
are now gone.


I'm not sure how to get rid of msgs and files though.  Doesn't appear to
be any entry for these in the hobbit-client-<OS>.sh script. 
Anyone?  There are no uncommented FILE or LOG entries in the client's
localclient.cfg or in the server's hobbit-clients.cfg files.


I'm confused as to why it is so difficult to remove standard client-side tests
that I do not wish to perform at this point in time.  


Benjamin
 

----- Original Message
----

From: Buchan Milne <user-9b139aff4dec@xymon.invalid>

To: user-ae9b8668bcde@xymon.invalid

Cc: Benjamin Gagnon <user-a2fafc3eeb73@xymon.invalid>

Sent: Monday, March 19, 2007 4:23:55 AM

Subject: Re: [hobbit] drop test not sticking...
 

On Monday 19 March 2007, Benjamin Gagnon wrote:
Hi, I'm having a problem with dropping a host's test.
I perform the following command from the server (there are no output
errors
or errors in the error log)...
 bb 127.0.0.1 "drop opsappsl.lac-bac.gc.ca ports"
Within a couple of minutes the ports column gets dropped and then a couple
of minutes later the column reappears.  So the drop command
works ok but
the settings do not stick.
I've RTFM'd and searched the web for answers to no avail. Anyone have any
ideas?

To remove a test:

1)Remove the test from the configuration file for the server that is running 

the test (so that no new data is generated)

2)Drop the test (to prevent the test from going purple now that it receives no 

data)


However, note that the ports test is not run from the Hobbit server, the ports 

data is supplied by the client ...


If you were dropping the entire host, this would make sense, but I can't see 

why you would want to drop the ports test for one host (and ... this is a bit 

tricky). Maybe you can explain?


You could accomplish this by hacking up the hobbit-client-<OS>.sh script
on 

the client.


Regards,

Buchan


-- 

Buchan Milne

ISP Systems Specialist - Monitoring/Authentication Team Leader

B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
 

The best gets better. See why everyone is raving about the All-new Yahoo! Mail. 
 

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com