Xymon Mailing List Archive search

help with hobbit-clients.cfg

8 messages in this thread

list Adam Scheblein · Wed, 28 Sep 2005 20:55:22 -0500 ·
i have red the top part of the hobbit-clients.cfg file 4 times now and i can't figure out what i am doing wrong.

i am trying to make it so that /cdrom does not cause a red alert

I have tried the following:
DISK %^/cdrom.*/ warnlevel=101 paniclevel=102
DISK /cdrom 101 102

any ideas?

thanks,
Adam
list Allan Spencer · Thu, 29 Sep 2005 14:34:53 +1000 ·
quoted from Adam Scheblein
Scheblein, Adam wrote:
i have red the top part of the hobbit-clients.cfg file 4 times now and i can't figure out what i am doing wrong.

i am trying to make it so that /cdrom does not cause a red alert

I have tried the following:
DISK %^/cdrom.*/ warnlevel=101 paniclevel=102
DISK /cdrom 101 102

any ideas?

thanks,
Adam

 
missed the start of this thread but in the hobbitclient.cfg file in the disk section there should be a line satying DFEXCLUDE="cdrom" or something similar

I'm not running the hobbit client on anything YET but I have looked at it and remembered it was identical to bb for the disk stuff

Hope this helps if its right and sorry if I'm wrong :)

Allan
list Henrik Størner · Thu, 29 Sep 2005 07:31:21 +0200 ·
quoted from Allan Spencer
On Thu, Sep 29, 2005 at 02:34:53PM +1000, ZanDAhaR wrote:
Scheblein, Adam wrote:
i am trying to make it so that /cdrom does not cause a red alert
missed the start of this thread but in the hobbitclient.cfg file in the disk section there should be a line satying DFEXCLUDE="cdrom" or something similar

I'm not running the hobbit client on anything YET but I have looked at it and remembered it was identical to bb for the disk stuff
NO. It isn't. Forget all about DFEXCLUDE, DFCMD etc. - they are
not used by the Hobbit client.
Hope this helps if its right and sorry if I'm wrong :)
I'm afraid you are.


Henrik
list Henrik Størner · Thu, 29 Sep 2005 07:32:53 +0200 ·
quoted from Allan Spencer
On Wed, Sep 28, 2005 at 08:55:22PM -0500, Scheblein, Adam wrote:
i have red the top part of the hobbit-clients.cfg file 4 times now and i can't figure out what i am doing wrong.

i am trying to make it so that /cdrom does not cause a red alert

I have tried the following:
DISK %^/cdrom.*/ warnlevel=101 paniclevel=102
DISK /cdrom 101 102
Are you running the original 4.1.1 release ? That doesn't parse
the hobbit-clients.cfg file correctly. Grab the latest snapshot
from http://www.hswn.dk/beta/ and I'll bet it starts working
for you.
list Adam Scheblein · Thu, 29 Sep 2005 10:11:58 -0500 ·
I was already running the latest snapshot, and I did finally solve my
problem...

I had 2 things wrong, the first one was that the line was on the bottom
and not the top.  Once I moved the DISK statement to the top of the list
then it started to take effect after I corrected the second problem.

My second problem was that for some reason it did not like warnlevel=
and paniclevel=  once I took those out it worked like a charm.  

The other little bit of confusion I had was that /cdrom would also
include all its sub directories (since the server I was working with has
2 cdroms, we have /cdrom/disk1 and /cdrom/disk2) 
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, September 29, 2005 12:33 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] help with hobbit-clients.cfg

On Wed, Sep 28, 2005 at 08:55:22PM -0500, Scheblein, Adam wrote:
i have red the top part of the hobbit-clients.cfg file 4 times now and
i can't figure out what i am doing wrong.

i am trying to make it so that /cdrom does not cause a red alert

I have tried the following:
DISK %^/cdrom.*/ warnlevel=101 paniclevel=102
DISK /cdrom 101 102
Are you running the original 4.1.1 release ? That doesn't parse
the hobbit-clients.cfg file correctly. Grab the latest snapshot
from http://www.hswn.dk/beta/ and I'll bet it starts working
for you.
list Allan Spencer · Fri, 30 Sep 2005 09:16:23 +1000 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Thu, Sep 29, 2005 at 02:34:53PM +1000, ZanDAhaR wrote:
 
Scheblein, Adam wrote:
   
i am trying to make it so that /cdrom does not cause a red alert
     
missed the start of this thread but in the hobbitclient.cfg file in the disk section there should be a line satying DFEXCLUDE="cdrom" or something similar

I'm not running the hobbit client on anything YET but I have looked at it and remembered it was identical to bb for the disk stuff
   
NO. It isn't. Forget all about DFEXCLUDE, DFCMD etc. - they are
not used by the Hobbit client.

 
Hope this helps if its right and sorry if I'm wrong :)
   
I'm afraid you are.


Henrik

I stand corrected on that bit but I was sure I was right, and based on the version I had I was. I went and had a look at the client dir from 4.1.1 and theres a hobbitclient.cfg dir with all the old BB sytle things in there

Either im going totally insane or I have an older version of the client files stuck in there

Can you please let me know as we are going to look at changing over to the hobbit client soon and I can honestly say I havent even looked at it yet

Allan
list Allan Spencer · Fri, 30 Sep 2005 09:20:55 +1000 ·
quoted from Allan Spencer
ZanDAhaR wrote:
Henrik Stoerner wrote:
On Thu, Sep 29, 2005 at 02:34:53PM +1000, ZanDAhaR wrote:
 
Scheblein, Adam wrote:
   
i am trying to make it so that /cdrom does not cause a red alert
     
missed the start of this thread but in the hobbitclient.cfg file in the disk section there should be a line satying DFEXCLUDE="cdrom" or something similar

I'm not running the hobbit client on anything YET but I have looked at it and remembered it was identical to bb for the disk stuff
   
NO. It isn't. Forget all about DFEXCLUDE, DFCMD etc. - they are
not used by the Hobbit client.

 
Hope this helps if its right and sorry if I'm wrong :)
   
I'm afraid you are.


Henrik

I stand corrected on that bit but I was sure I was right, and based on the version I had I was. I went and had a look at the client dir from 4.1.1 and theres a hobbitclient.cfg dir with all the old BB sytle things in there

Either im going totally insane or I have an older version of the client files stuck in there

Can you please let me know as we are going to look at changing over to the hobbit client soon and I can honestly say I havent even looked at it yet

Allan
Ahh I'm stupid  *fop*

helps if I read things properly doesnt it. 'these are not used by the hobbit client'

I never doubted you Henrik altho I'd happily be commited if I ever accused you of not knowing your own proggy :)

Allan
list Henrik Størner · Fri, 30 Sep 2005 07:27:24 +0200 ·
quoted from Allan Spencer
On Fri, Sep 30, 2005 at 09:20:55AM +1000, ZanDAhaR wrote:
I never doubted you Henrik altho I'd happily be commited if I ever 
accused you of not knowing your own proggy :)
That *is* a possibility :-) You'd be surprised how often I have to
check the man-pages for some feature I wrote 3 months ago.


Regards,
Henrik