Hi,
I have one host with some filesystems that are always 100% full. So I wanted to disable the red alarm by setting the warnlevel and paniclevel in the hobbit-clients.cfg to 101. The filesystems are /tsm/data, /tsm/db1, and /tsm/db2. I tried the following definitions without success:
HOST=glaukos.x.y.z a) DISK /tsm/data 101 101
b) DISK /tsm/* 101 101
c) DISK %/tsm/* 101 101
d) DISK %^/tsm/* 101 101
e) DISK "%^/tsm/*" 101 101
The hobbit server always shows a red alarm. I use hobbit 4.1.2. What did I do wrong?
Regards, Dirk
On Mon, Oct 17, 2005 at 05:58:25PM +0200, Dirk Kastens wrote:
I have one host with some filesystems that are always 100% full. So I wanted to disable the red alarm by setting the warnlevel and paniclevel in the hobbit-clients.cfg to 101. The filesystems are /tsm/data, /tsm/db1, and /tsm/db2. I tried the following definitions without success:
HOST=glaukos.x.y.z a) DISK /tsm/data 101 101
b) DISK /tsm/* 101 101
c) DISK %/tsm/* 101 101
d) DISK %^/tsm/* 101 101
e) DISK "%^/tsm/*" 101 101
You hit one of the intricacies of regular expressions. "*" means "zero or one of the patterns immediately to the left", so "/*" matches "/", "//", "///" etc.
What you want is DISK %^/tsm/.* 101 101
because ".*" matches any character, zero or more times.
Regards, Henrik
Hi,
Henrik Stoerner schrieb:
because ".*" matches any character, zero or more times.
Yes, there were two mistakes that I made: the first was the missing dot and the second the DEFAULT entries at the top of the file.
Thanks to everyone for their help.
Dirk
I have this for an alert:
HOST=$opt1frame MAIL $ems1 REPEAT=20m RECOVERED MAIL page_ems_team1 at somewhere SERVICE=conn DURATION>10 DURATION<15
The host went down, and is still done. I am getting the email every 20 minutes from the first line, but the second line never kicked off to my pager. Any ideas why it would not?
Thanks Wes
On Mon, Oct 17, 2005 at 01:05:03PM -0400, Wes Neal wrote:
I have this for an alert:
HOST=$opt1frame MAIL $ems1 REPEAT=20m RECOVERED MAIL page_ems_team1 at somewhere SERVICE=conn DURATION>10 DURATION<15
The host went down, and is still done. I am getting the email every 20 minutes from the first line, but the second line never kicked off to my pager. Any ideas why it would not?
Those two duration entries probably cancelled out all of the alerts.
Henrik
Why would it cancel out all the alerts?
Wes
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Monday, October 17, 2005 1:53 PM To: hobbit at hswn.dk Subject: Re: [hobbit] alert issue
On Mon, Oct 17, 2005 at 01:05:03PM -0400, Wes Neal wrote:
I have this for an alert:
HOST=$opt1frame MAIL $ems1 REPEAT=20m RECOVERED MAIL page_ems_team1 at somewhere SERVICE=conn DURATION>10 DURATION<15
The host went down, and is still done. I am getting the email every 20 minutes from the first line, but the second line never kicked off to my pager. Any ideas why it would not?
Those two duration entries probably cancelled out all of the alerts.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
Dirk.Kastens@uni-osnabrueck.de
-
henrik@hswn.dk
-
wes.neal@mci.com