Xymon Mailing List Archive search

Disable client test from running.

11 messages in this thread

list Steve Aiello · Mon, 14 Aug 2006 10:06:01 -0400 ·
Is it possible to configure what tests a client run ? i.e. I have a
custom disk test that some systems run, can I disable a hobbit client
from running the default disk test ?
list Steve Aiello · Mon, 14 Aug 2006 10:12:59 -0400 ·
Is there a way to disable the Full Log output on the msgs test ?
list Frédéric Mangeant · Mon, 14 Aug 2006 16:18:18 +0200 ·
quoted from Steve Aiello
Le 14/08/2006 16:06, Aiello, Steve (GE, Corporate, consultant) a écrit :
Is it possible to configure what tests a client run ? i.e. I have a
custom disk test that some systems run, can I disable a hobbit client
from running the default disk test ?
  
Hi

try to edit ~client/bin/hobbitclient-your_OS.sh, and remove these lines :

echo "[df]"
df -Pl -x none -x tmpfs -x shmfs -x unknown | sed -e '/^[^      ][^     
]*$/{
N
s/[     ]*\n[   ]*/ /
}'

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Steve Aiello · Mon, 14 Aug 2006 10:21:01 -0400 ·
That was my guess :)  
Thanks,
quoted from Frédéric Mangeant
-----Original Message-----
From: Frédéric Mangeant [mailto:user-b6ea1d850181@xymon.invalid] Sent: Monday, August 14, 2006 10:18 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Disable client test from running.


Le 14/08/2006 16:06, Aiello, Steve (GE, Corporate, consultant) a écrit :
Is it possible to configure what tests a client run ? i.e. I have a > custom disk test that some systems run, can I disable a hobbit client > from running the default disk test ?
  
Hi

try to edit ~client/bin/hobbitclient-your_OS.sh, and remove these lines :

echo "[df]"
df -Pl -x none -x tmpfs -x shmfs -x unknown | sed -e '/^[^      ][^     ]*$/{
N
s/[     ]*\n[   ]*/ /
}'

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis

list Henrik Størner · Mon, 14 Aug 2006 16:52:57 +0200 ·
quoted from Steve Aiello
On Mon, Aug 14, 2006 at 10:06:01AM -0400, Aiello, Steve (GE, Corporate, consultant) wrote:
Is it possible to configure what tests a client run ? i.e. I have a
custom disk test that some systems run, can I disable a hobbit client
from running the default disk test ?
On the Hobbit server add "NOCOLUMNS:disk" to the relevant entry in
the bb-hosts file. See the bb-hosts(5) manpage for details.


Regards,
Henrik
list Henrik Størner · Mon, 14 Aug 2006 16:53:31 +0200 ·
quoted from Henrik Størner
On Mon, Aug 14, 2006 at 10:12:59AM -0400, Aiello, Steve (GE, Corporate, consultant) wrote:
Is there a way to disable the Full Log output on the msgs test ?
No.


Regards,
Henrik
list Steve Aiello · Mon, 14 Aug 2006 11:18:30 -0400 ·
quoted from Henrik Størner
Is there a way to disable the Full Log output on the msgs test ?
No.
I think I am just too acustomed to the way BB did things, and it is
taking me awhile to wrap my brain around the Hobbit way of doing things.

I am curious to the reason of the Full Log display. Would it be when a
Alert match is found you can see the other log entries surrounding that
long entry ?

My concern is if I have 5+ log files being monitored, the msgs report
may bury the user with too much information.
list Henrik Størner · Mon, 14 Aug 2006 17:25:12 +0200 ·
quoted from Steve Aiello
On Mon, Aug 14, 2006 at 11:18:30AM -0400, Aiello, Steve (GE, Corporate, consultant) wrote:
I am curious to the reason of the Full Log display. Would it be when a
Alert match is found you can see the other log entries surrounding that
long entry ?
The idea is that when you're troubleshooting a problem, having access to
the latest data from the logs can be helpful. There could be something
in that logfile that gives you a hint about what's wrong, even if though
it isn't something that you explicitly want to trigger a yellow or red
alert.

In other words, if I can figure out what a problem is from clicking on
the "msgs" display, then I don't have to logon to the server (via one 
or two terminal servers).
quoted from Steve Aiello
My concern is if I have 5+ log files being monitored, the msgs report
may bury the user with too much information.
True. I should probably provide some way of just having the links to the
full logs instead of always including them on the msgs display.


Regards,
Henrik
list Gary B. · Mon, 14 Aug 2006 11:28:05 -0400 ·
quoted from Henrik Størner
My concern is if I have 5+ log files being monitored, the msgs report
may bury the user with too much information.
Have you been able to get any logs besides maillog and messages to
show up?  That's the one issue I have left that I haven't been able to
figure out.
list Steve Aiello · Mon, 14 Aug 2006 11:34:22 -0400 ·
I have not yet tried. I am looking at migrating from our BB/BBGEN system
to Hobbit. So currently I just have the one Hobbit server/client & many
BB clients reporting in. I am just trying to anticipate questions as we
start migrating to the Hobbit clients.
quoted from Gary B.
-----Original Message-----
From: Gary B. [mailto:user-33b796116d5f@xymon.invalid] Sent: Monday, August 14, 2006 11:28 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Disable Full Log output on the msgs test

My concern is if I have 5+ log files being monitored, the msgs report > may bury the user with too much information.
Have you been able to get any logs besides maillog and messages to show up?  That's the one issue I have left that I haven't been able to figure out.

list Jerry Yu · Mon, 14 Aug 2006 11:42:19 -0400 ·
I monitor database server log from Sybase ASE on CentOS. the same deal
for mailog/mesesages. you need entries both in client-local.cfg and
hobbit-clients.cfg.
quoted from Gary B.

On 8/14/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:
My concern is if I have 5+ log files being monitored, the msgs report
may bury the user with too much information.
Have you been able to get any logs besides maillog and messages to
show up?  That's the one issue I have left that I haven't been able to
figure out.