Xymon Mailing List Archive search

Problem with DISK IGNORE

3 messages in this thread

list Geoff Hallford · Thu, 27 Jan 2011 08:30:35 -0500 ·
Hi All,

Hoping someone can help with this issue. I am attempting to use the
DISK drive IGNORE statement in the
/home/hobbit/server/etc/hobbit-clients.cfg file but I cannot get it to
work.

I have read the man pages and the previous posts in the list but none
of them work. Here are the entries I have and the ones I have tried
(note that the LOG entries work perfectly!):

HOST=hostname.fake.com
        DISK /mnt/citrix IGNORE
        LOG /var/log/mrtg.log %ERROR:.* COLOR=red
        LOG /var/log/hobbit/citrixlicensing.log %mount:.*  COLOR=red
        LOG /var/log/hobbit/kms.log %mount:.*  COLOR=red
        LOG /var/log/hobbit/iorepl.log %mount:.*  COLOR=red

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97

I have a couple of mounts under /mnt and I want to exclude them all
but even stating just one exact mount doesn't work. Here are the many
I have tried (each time restarting the hobbit server daemon and the
hobbitclient daemon):

DISK /mnt/citrix IGNORE
DISK %^/mnt/citrix IGNORE
DISK %^/mnt/citrix$ IGNORE
DISK %^\/mnt\/citrix IGNORE
DISK %^\/mnt\/citrix$ IGNORE
DISK %^/mnt.*/ IGNORE
DISK %^/mnt/.* IGNORE
DISK %^/mnt.* IGNORE
DISK %^\/mnt.* IGNORE
DISK %^/mnt IGNORE
DISK %^/mnt$ IGNORE

Here are the mount points I have that I want to ignore:

//server1/c$       20481580  18329680   2151900      90% /mnt/citrix
//server2/c$  20481584  13885498   6596086      68% /mnt/citrixload
//server3/c$  31455236  10308200  21147036      33% /mnt/kms
//server4/d$   68918816   4486576  64432240       7% /mnt/faxcom

Thanks!
list Henrik Størner · Thu, 27 Jan 2011 14:36:28 +0000 (UTC) ·
quoted from Geoff Hallford
In <user-cd67e6217e36@xymon.invalid> Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid> writes:
I have a couple of mounts under /mnt and I want to exclude them all
but even stating just one exact mount doesn't work. Here are the many
I have tried (each time restarting the hobbit server daemon and the
hobbitclient daemon):
DISK /mnt/citrix IGNORE
DISK %^/mnt/citrix IGNORE
DISK %^/mnt/citrix$ IGNORE
Any of these should do the trick.
quoted from Geoff Hallford
Here are the mount points I have that I want to ignore:
//server1/c$       20481580  18329680   2151900      90% /mnt/citrix
Silly question perhaps, but this IS a Xymon client running in
central mode (the default) ?

On the "disk" status you'll find a "client data" link. What does
the "[df]" section in that document look like ?
(If there is no "client data" link, then this host has the
configuration stored locally - so changing the configuration on
the Xymon server will not have any effect).


Regards,
Henrik
list Geoff Hallford · Thu, 27 Jan 2011 19:18:51 -0500 ·
Thanks Henrik. I can verify that those 3 work now. The problem was that the
Default section was not below the HOST section. Once I moved the Default to
the bottom, it worked like a charm.

I know that it says that the Default must be at the bottom but I thought it
just meant, has to be below the comments area and not below all other custom
settings.

###
# You must keep the Default at the bottom of the file. Nothing should be
below it. Enter custom items here:

#PLACE CUSTOM ITEMS HERE

##################################
# Do not move Default above this line

Default
    DISK * 90 95
..........

Thanks again!
quoted from Henrik Størner


On Thu, Jan 27, 2011 at 9:36 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-cd67e6217e36@xymon.invalid> Geoff
Hallford <user-dc9e7f30b1e2@xymon.invalid> writes:
I have a couple of mounts under /mnt and I want to exclude them all
but even stating just one exact mount doesn't work. Here are the many
I have tried (each time restarting the hobbit server daemon and the
hobbitclient daemon):
DISK /mnt/citrix IGNORE
DISK %^/mnt/citrix IGNORE
DISK %^/mnt/citrix$ IGNORE
Any of these should do the trick.
Here are the mount points I have that I want to ignore:
//server1/c$       20481580  18329680   2151900      90% /mnt/citrix
Silly question perhaps, but this IS a Xymon client running in
central mode (the default) ?

On the "disk" status you'll find a "client data" link. What does
the "[df]" section in that document look like ?
(If there is no "client data" link, then this host has the
configuration stored locally - so changing the configuration on
the Xymon server will not have any effect).


Regards,
Henrik