Disable client test from running.
list Steve Aiello
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
Is there a way to disable the Full Log output on the msgs test ?
list Frédéric Mangeant
▸
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
That was my guess :) Thanks,
▸
-----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
▸
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
▸
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
▸
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
▸
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).
▸
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.
▸
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
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.
▸
-----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 testMy 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
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.
▸
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.