Xymon Mailing List Archive search

Wildcards in hobbit-clients.cfg

15 messages in this thread

list James Wade · Tue, 21 Oct 2008 10:07:27 -0500 ·
Hello,
 
We have archive logs that get attached as external storage.
These filesystems get filled causing alerts. We would like
to disable them.
 
I normally set the thresholds to 101 & 102 in the hobbit-clients.cfg
file to ignore alerts on these types of filesystems.
 
However, the problem is that these are mounted with
diffrenet names. Example:  disk_archive_Sep08, disk_arch_Oct08
 
Is there a way to use Wildcards in hobbit-clients.cfg?
 
DISK  disk_archive_????? 101 102
 
Thanks.....James
list Ginny Jaworski · Tue, 21 Oct 2008 12:57:13 -0400 ·
Hi James,
I haven't gotten that far yet.  I am doing the initial install on an AIX 
5.3 server.
These are the commands I've issued:

MAKE=gmake ./configure --client
gmake
gmake install    .... this is were I get the permissions error on 

cp -fp runclient.sh /home/hobbit/client
cp -fp hobbitlaunch logfetch clientupdate orcahobbit msgcache 
hobbitclient*.sh bb bbcmd bbhostgrep bbhostshow bbdigest 
/home/hobbit/client/bin/
../build/merge-sects clientlaunch.cfg 
/home/hobbit/client/etc/clientlaunch.cfg
sh: ../build/merge-sects: 0403-006 Execute permission denied
sh: ../build/merge-sects: 0403-006 Execute permission denied.
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/m1/hobbit/trunk/client'
gmake: *** [install-client] Error 2

Ginny Jaworski
Marist College
Information Technology
3399 North Road
Poughkeepsie, NY 12601

(845)575-3940
user-eac184b7c47e@xymon.invalid


"James Wade" <user-659655b2ea05@xymon.invalid> 
10/21/2008 11:07 AM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
<user-ae9b8668bcde@xymon.invalid>
cc

Subject
[hobbit] Wildcards in hobbit-clients.cfg
quoted from James Wade


Hello,
 
We have archive logs that get attached as external storage.
These filesystems get filled causing alerts. We would like
to disable them.
 
I normally set the thresholds to 101 & 102 in the hobbit-clients.cfg
file to ignore alerts on these 

types of filesystems.
 
However, the problem is that these are mounted with
diffrenet names. Example:  disk_archive_Sep08, disk_arch_Oct08
 
Is there a way to use Wildcards in hobbit-clients.cfg?
 
DISK  disk_archive_????? 101 102
 
Thanks.....James
list Stef Coene · Tue, 21 Oct 2008 19:16:19 +0200 ·
quoted from James Wade
On Tuesday 21 October 2008, James Wade wrote:
Hello,

We have archive logs that get attached as external storage.
These filesystems get filled causing alerts. We would like
to disable them.

I normally set the thresholds to 101 & 102 in the hobbit-clients.cfg
file to ignore alerts on these types of filesystems.

However, the problem is that these are mounted with
diffrenet names. Example:  disk_archive_Sep08, disk_arch_Oct08

Is there a way to use Wildcards in hobbit-clients.cfg?

DISK  disk_archive_????? 101 102
See http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-clients.cfg.5.html

% is for regular expressions.  So in your case:
DISK  %disk_archive_* 101 102


Stef
list Stef Coene · Tue, 21 Oct 2008 19:19:15 +0200 ·
quoted from Ginny Jaworski
On Tuesday 21 October 2008, Ginny Jaworski wrote:
Hi James,
I haven't gotten that far yet.  I am doing the initial install on an AIX
5.3 server.
These are the commands I've issued:

MAKE=gmake ./configure --client
gmake
gmake install    .... this is were I get the permissions error on

cp -fp runclient.sh /home/hobbit/client
cp -fp hobbitlaunch logfetch clientupdate orcahobbit msgcache
hobbitclient*.sh bb bbcmd bbhostgrep bbhostshow bbdigest
/home/hobbit/client/bin/
../build/merge-sects clientlaunch.cfg
/home/hobbit/client/etc/clientlaunch.cfg
sh: ../build/merge-sects: 0403-006 Execute permission denied
sh: ../build/merge-sects: 0403-006 Execute permission denied.
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/m1/hobbit/trunk/client'
gmake: *** [install-client] Error 2
I never had a problem compiling the hobbit client and server on AIX.  Are you 
doing this as root ?


Stef
list Ginny Jaworski · Tue, 21 Oct 2008 13:20:16 -0400 ·
Sorry,
I just changed the hobbit-clients.cfg file  and it still didn't work... I 
don't see anything mounted for disk_archive...

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        #DISK    * 90 95
        DISK    * 101 102
quoted from Stef Coene

Ginny Jaworski
Marist College
Information Technology
3399 North Road
Poughkeepsie, NY 12601

(845)575-3940
user-eac184b7c47e@xymon.invalid


"James Wade" <user-659655b2ea05@xymon.invalid> 
10/21/2008 11:07 AM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
<user-ae9b8668bcde@xymon.invalid>
cc

Subject
[hobbit] Wildcards in hobbit-clients.cfg


Hello,
 
We have archive logs that get attached as external storage.
These filesystems get filled causing alerts. We would like
to disable them.
 
I normally set the thresholds to 101 & 102 in the hobbit-clients.cfg
file to ignore alerts on these types of filesystems.
 
However, the problem is that these are mounted with
diffrenet names. Example:  disk_archive_Sep08, disk_arch_Oct08
 
Is there a way to use Wildcards in hobbit-clients.cfg?
 
DISK  disk_archive_????? 101 102
 
Thanks.....James
list Ginny Jaworski · Tue, 21 Oct 2008 13:25:16 -0400 ·
Yes I am root...


Stef Coene <user-dbffe946c0f4@xymon.invalid> 
10/21/2008 01:19 PM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] Wildcards in hobbit-clients.cfg
quoted from Ginny Jaworski


On Tuesday 21 October 2008, Ginny Jaworski wrote:
Hi James,
I haven't gotten that far yet.  I am doing the initial install on an AIX
5.3 server.
These are the commands I've issued:

MAKE=gmake ./configure --client
gmake
gmake install    .... this is were I get the permissions error on

cp -fp runclient.sh /home/hobbit/client
cp -fp hobbitlaunch logfetch clientupdate orcahobbit msgcache
hobbitclient*.sh bb bbcmd bbhostgrep bbhostshow bbdigest
/home/hobbit/client/bin/
../build/merge-sects clientlaunch.cfg
/home/hobbit/client/etc/clientlaunch.cfg
sh: ../build/merge-sects: 0403-006 Execute permission denied
sh: ../build/merge-sects: 0403-006 Execute permission denied.
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/m1/hobbit/trunk/client'
gmake: *** [install-client] Error 2
I never had a problem compiling the hobbit client and server on AIX.  Are 
you 
doing this as root ?


Stef
list Rich Smrcina · Tue, 21 Oct 2008 12:29:59 -0500 ·
quoted from Stef Coene
Stef Coene wrote:
On Tuesday 21 October 2008, Ginny Jaworski wrote:
Hi James,
I haven't gotten that far yet.  I am doing the initial install on an AIX
5.3 server.
These are the commands I've issued:

MAKE=gmake ./configure --client
gmake
gmake install    .... this is were I get the permissions error on

cp -fp runclient.sh /home/hobbit/client
cp -fp hobbitlaunch logfetch clientupdate orcahobbit msgcache
hobbitclient*.sh bb bbcmd bbhostgrep bbhostshow bbdigest
/home/hobbit/client/bin/
../build/merge-sects clientlaunch.cfg
/home/hobbit/client/etc/clientlaunch.cfg
sh: ../build/merge-sects: 0403-006 Execute permission denied
sh: ../build/merge-sects: 0403-006 Execute permission denied.
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/m1/hobbit/trunk/client'
gmake: *** [install-client] Error 2
I never had a problem compiling the hobbit client and server on AIX.  Are you 
doing this as root ?


Stef
Ginny,

I believe some permission issues have been resolved in a recent update to svn.


-- 

Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009
list Ginny Jaworski · Tue, 21 Oct 2008 13:59:13 -0400 ·
That worked!!!!!   Thanks to all of you for the help and the quick 
responses.....


Stef Coene <user-dbffe946c0f4@xymon.invalid> 
10/21/2008 01:16 PM
signature
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] Wildcards in hobbit-clients.cfg


quoted from James Wade
On Tuesday 21 October 2008, James Wade wrote:
Hello,

We have archive logs that get attached as external storage.
These filesystems get filled causing alerts. We would like
to disable them.

I normally set the thresholds to 101 & 102 in the hobbit-clients.cfg
file to ignore alerts on these types of filesystems.

However, the problem is that these are mounted with
diffrenet names. Example:  disk_archive_Sep08, disk_arch_Oct08

Is there a way to use Wildcards in hobbit-clients.cfg?

DISK  disk_archive_????? 101 102
See http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-clients.cfg.5.html

% is for regular expressions.  So in your case:
DISK  %disk_archive_* 101 102


Stef
list Stef Coene · Tue, 21 Oct 2008 19:59:24 +0200 ·
quoted from Ginny Jaworski
On Tuesday 21 October 2008, Ginny Jaworski wrote:
Sorry,
I just changed the hobbit-clients.cfg file  and it still didn't work... I
don't see anything mounted for disk_archive...

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        #DISK    * 90 95
        DISK    * 101 102
I don't get it.  Is it Ginny Jaworski or James Wade that has a problem with 
wild cards ????


Stef
list Stef Coene · Tue, 21 Oct 2008 19:59:44 +0200 ·
On Tuesday 21 October 2008, Ginny Jaworski wrote:
Sorry,
I just changed the hobbit-clients.cfg file  and it still didn't work... I
don't see anything mounted for disk_archive...

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        #DISK    * 90 95
        DISK    * 101 102
I don't get it.  Is it Ginny Jaworski or James Wade that has a problem with 
wild cards ????


Stef
list Stef Coene · Tue, 21 Oct 2008 19:59:52 +0200 ·
On Tuesday 21 October 2008, Ginny Jaworski wrote:
Yes I am root...
I have a precompiled client if you want:
http://www.docum.org/twiki/bin/view/Hobbit/Aix5HobbitClient
Just extract the tar file and you have everything you need.


Stef
list Ginny Jaworski · Tue, 21 Oct 2008 14:10:26 -0400 ·
Ginny had the problem...
list Ginny Jaworski · Tue, 21 Oct 2008 14:20:29 -0400 ·
Thank you so much.... Does this client also work with AIX 6.1? Or will I 
need to re-configure on those servers? 


Stef Coene <user-dbffe946c0f4@xymon.invalid> 
10/21/2008 01:59 PM
signature
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] Wildcards in hobbit-clients.cfg


quoted from Ginny Jaworski
On Tuesday 21 October 2008, Ginny Jaworski wrote:
Yes I am root...
I have a precompiled client if you want:
http://www.docum.org/twiki/bin/view/Hobbit/Aix5HobbitClient
Just extract the tar file and you have everything you need.


Stef
list Stef Coene · Tue, 21 Oct 2008 20:47:40 +0200 ·
quoted from Ginny Jaworski
On Tuesday 21 October 2008, Ginny Jaworski wrote:
Thank you so much.... Does this client also work with AIX 6.1? Or will I
need to re-configure on those servers?
Just unpack the client and try.  If it is not working, let me know and I will 
recompile the client.


Stef
list Ginny Jaworski · Tue, 21 Oct 2008 15:15:53 -0400 ·
I will do that ...in the next few days.... Thanks so much for your help...