Xymon Mailing List Archive search

need help with DISK and NFS mounts

4 messages in this thread

list Cayo de Moraes · Mon, 29 Mar 2010 08:46:42 +0200 ·
Hi guys,

im trying to set up some trigger values into the
.../hobbit/server/etc/hobbit-clients.cfg but its not working.

I have a server with some NFS mounts and i had to change the
.../hobbit/client/bin/hobbitclient-linux.sh to monitor them:

[df]
df -P -x none -x tmpfs -x shmfs -x unknown -x iso9660


with this change i can see the NFS mounts in the "disk" column.

Now the problem is, that if i put some values for Yellow and Red status on
the hobbit-clients.cfg or even client-side config, it does not trigger the
values.

HOST=nsftest
DISK /nfsmount/test1 98 99 ---> this doesnt work.


DEFAULT
DISK /nfsmount/test1 98 99 ---> this also doesnt work.


Does someone have an idea how it could work?

Many thanks,
Cayo
list Eric Jacobs · Tue, 30 Mar 2010 09:56:07 -0400 ·
quoted from Cayo de Moraes
 

From: Cayo de Moraes [mailto:user-92aec3b3c467@xymon.invalid] 
Sent: Monday, March 29, 2010 2:47 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] need help with DISK and NFS mounts

 
Hi guys,

im trying to set up some trigger values into the
.../hobbit/server/etc/hobbit-clients.cfg but its not working.

I have a server with some NFS mounts and i had to change the
.../hobbit/client/bin/hobbitclient-linux.sh to monitor them:

[df]
df -P -x none -x tmpfs -x shmfs -x unknown -x iso9660


with this change i can see the NFS mounts in the "disk" column.

Now the problem is, that if i put some values for Yellow and Red status
on the hobbit-clients.cfg or even client-side config, it does not
trigger the values.

HOST=nsftest
DISK /nfsmount/test1 98 99 ---> this doesnt work.


DEFAULT
DISK /nfsmount/test1 98 99 ---> this also doesnt work.


Does someone have an idea how it could work?

Many thanks,


Cayo

 

I've been using the bb-nfs script from deadcat as an extension, and I do
get alerts

 
Eric Jacobs
list Cayo de Moraes · Wed, 31 Mar 2010 13:29:08 +0200 ·
i get also alerts, but only the DEFAULTS... if i set up some values for RED
and YELLOW to this NFS Mounts it doesnt work...


2010/3/30 Jacobs, Eric <user-2ad24e73f3d4@xymon.invalid>
quoted from Eric Jacobs
*From:* Cayo de Moraes [mailto:user-92aec3b3c467@xymon.invalid]
*Sent:* Monday, March 29, 2010 2:47 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] need help with DISK and NFS mounts


Hi guys,

im trying to set up some trigger values into the
.../hobbit/server/etc/hobbit-clients.cfg but its not working.

I have a server with some NFS mounts and i had to change the
.../hobbit/client/bin/hobbitclient-linux.sh to monitor them:

[df]
df -P -x none -x tmpfs -x shmfs -x unknown -x iso9660


with this change i can see the NFS mounts in the "disk" column.

Now the problem is, that if i put some values for Yellow and Red status on
the hobbit-clients.cfg or even client-side config, it does not trigger the
values.

HOST=nsftest
DISK /nfsmount/test1 98 99 ---> this doesnt work.


DEFAULT
DISK /nfsmount/test1 98 99 ---> this also doesnt work.


Does someone have an idea how it could work?

Many thanks,

Cayo


I’ve been using the bb-nfs script from deadcat as an extension, and I do
get alerts


Eric Jacobs
list Josh Luthman · Wed, 31 Mar 2010 11:58:42 -0400 ·
Can you show this config?  Are the defaults above your more specific rules?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill
quoted from Cayo de Moraes


On Wed, Mar 31, 2010 at 7:29 AM, Cayo de Moraes <user-92aec3b3c467@xymon.invalid> wrote:
i get also alerts, but only the DEFAULTS... if i set up some values for RED
and YELLOW to this NFS Mounts it doesnt work...


2010/3/30 Jacobs, Eric <user-2ad24e73f3d4@xymon.invalid>

From: Cayo de Moraes [mailto:user-92aec3b3c467@xymon.invalid]
Sent: Monday, March 29, 2010 2:47 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] need help with DISK and NFS mounts


Hi guys,

im trying to set up some trigger values into the
.../hobbit/server/etc/hobbit-clients.cfg but its not working.

I have a server with some NFS mounts and i had to change the
.../hobbit/client/bin/hobbitclient-linux.sh to monitor them:

[df]
df -P -x none -x tmpfs -x shmfs -x unknown -x iso9660


with this change i can see the NFS mounts in the "disk" column.

Now the problem is, that if i put some values for Yellow and Red status on
the hobbit-clients.cfg or even client-side config, it does not trigger the
values.

HOST=nsftest
DISK /nfsmount/test1 98 99 ---> this doesnt work.


DEFAULT
DISK /nfsmount/test1 98 99 ---> this also doesnt work.


Does someone have an idea how it could work?

Many thanks,

Cayo


I’ve been using the bb-nfs script from deadcat as an extension, and I do
get alerts


Eric Jacobs