Xymon Mailing List Archive search

xymon not warning

12 messages in this thread

list Steffan Noord · Fri, 12 Oct 2018 11:12:22 +0200 ·
Hello list,

Xymon is sending warnings from other servers but it does not warn if /mnt is getting filled
(yellow level is 90%)

 
Eny idees why this is ignored?

 
Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok

Filesystem            Size  Used Avail Use% Mounted on

udev                   12G     0   12G   0% /dev

tmpfs                 2.4G  266M  2.1G  12% /run

/dev/mapper/pve-root   94G  3.5G   86G   4% /

tmpfs                  12G   19M   12G   1% /dev/shm

tmpfs                 5.0M     0  5.0M   0% /run/lock

tmpfs                  12G     0   12G   0% /sys/fs/cgroup

/dev/sdb1             1.8T  1.5T  273G  85% /mnt/node1

/dev/sdd1             1.8T  1.5T  257G  86% /mnt/node3

/dev/sdc1             3.6T  3.1T  343G  91% /mnt/node2

tmpfs                 2.4G     0  2.4G   0% /run/user/0

 
Steffan
list Neil Simmonds · Fri, 12 Oct 2018 10:26:52 +0100 ·
Isn’t /mnt ignored in analysis.cfg?
quoted from Steffan Noord

 
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Steffan
Sent: 12 October 2018 10:12
To: xymon at xymon.com
Subject: [Xymon] xymon not warning

 
Hello list,

Xymon is sending warnings from other servers but it does not warn if /mnt is getting filled
(yellow level is 90%)

 
Eny idees why this is ignored?

 
Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok

Filesystem            Size  Used Avail Use% Mounted on

udev                   12G     0   12G   0% /dev

tmpfs                 2.4G  266M  2.1G  12% /run

/dev/mapper/pve-root   94G  3.5G   86G   4% /

tmpfs                  12G   19M   12G   1% /dev/shm

tmpfs                 5.0M     0  5.0M   0% /run/lock

tmpfs                  12G     0   12G   0% /sys/fs/cgroup

/dev/sdb1             1.8T  1.5T  273G  85% /mnt/node1

/dev/sdd1             1.8T  1.5T  257G  86% /mnt/node3

/dev/sdc1             3.6T  3.1T  343G  91% /mnt/node2

tmpfs                 2.4G     0  2.4G   0% /run/user/0

 
Steffan
list Steffan Noord · Fri, 12 Oct 2018 11:35:35 +0200 ·
I dont see anything ignored in analysis.cfg
quoted from Neil Simmonds

 
Van: Neil Simmonds <user-feff97fabd3d@xymon.invalid> 
Verzonden: vrijdag 12 oktober 2018 11:27
Aan: 'Steffan' <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
Onderwerp: RE: [Xymon] xymon not warning

 
Isn’t /mnt ignored in analysis.cfg?

 
From: Xymon <xymon-bounces at xymon.com <mailto:xymon-bounces at xymon.com> > On Behalf Of Steffan
Sent: 12 October 2018 10:12
To: xymon at xymon.com <mailto:xymon at xymon.com> 
Subject: [Xymon] xymon not warning

 
Hello list,

Xymon is sending warnings from other servers but it does not warn if /mnt is getting filled
(yellow level is 90%)

 
Eny idees why this is ignored?

 
Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok

Filesystem            Size  Used Avail Use% Mounted on

udev                   12G     0   12G   0% /dev

tmpfs                 2.4G  266M  2.1G  12% /run

/dev/mapper/pve-root   94G  3.5G   86G   4% /

tmpfs                  12G   19M   12G   1% /dev/shm

tmpfs                 5.0M     0  5.0M   0% /run/lock

tmpfs                  12G     0   12G   0% /sys/fs/cgroup

/dev/sdb1             1.8T  1.5T  273G  85% /mnt/node1

/dev/sdd1             1.8T  1.5T  257G  86% /mnt/node3

/dev/sdc1             3.6T  3.1T  343G  91% /mnt/node2

tmpfs                 2.4G     0  2.4G   0% /run/user/0

 
Steffan
list Sebastian Auriol · Fri, 12 Oct 2018 12:48:12 +0100 ·
Is the status green or yellow?  If green, check your analysis.cfg will
match this host and limits configured appropriately.  If yellow, check the
info page for this host to see what alerting you have, and configure
alerting in alerts.cfg if needed.  If configured OK, check the
notifications report.

Kind regards,

SebA
quoted from Steffan Noord


On 12 October 2018 at 10:35, Steffan <user-a2c231b1253e@xymon.invalid> wrote:
I dont see anything ignored in analysis.cfg


*Van:* Neil Simmonds <user-feff97fabd3d@xymon.invalid>
*Verzonden:* vrijdag 12 oktober 2018 11:27
*Aan:* 'Steffan' <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
*Onderwerp:* RE: [Xymon] xymon not warning


Isn’t /mnt ignored in analysis.cfg?


*From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Steffan
*Sent:* 12 October 2018 10:12
*To:* xymon at xymon.com
*Subject:* [Xymon] xymon not warning


Hello list,

Xymon is sending warnings from other servers but it does not warn if /mnt
is getting filled
(yellow level is 90%)


Eny idees why this is ignored?


*Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok*

Filesystem            Size  Used Avail Use% Mounted on

udev                   12G     0   12G   0% /dev

tmpfs                 2.4G  266M  2.1G  12% /run

/dev/mapper/pve-root   94G  3.5G   86G   4% /

tmpfs                  12G   19M   12G   1% /dev/shm

tmpfs                 5.0M     0  5.0M   0% /run/lock

tmpfs                  12G     0   12G   0% /sys/fs/cgroup

/dev/sdb1             1.8T  1.5T  273G  85% /mnt/node1

/dev/sdd1             1.8T  1.5T  257G  86% /mnt/node3

/dev/sdc1             3.6T  3.1T  343G  91% /mnt/node2

tmpfs                 2.4G     0  2.4G   0% /run/user/0


Steffan

list Steffan Noord · Fri, 12 Oct 2018 15:23:14 +0200 ·
It is always green

Even if one is 100%

Analysis settings are:

DISK    * 80 97  #YELLOW LOW FOR TESTING

 
91% /mnt/node2

 
Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok
quoted from Sebastian Auriol

 
Van: SebA <user-4631430d620a@xymon.invalid> 
Verzonden: vrijdag 12 oktober 2018 13:48
Aan: Steffan <user-a2c231b1253e@xymon.invalid>
CC: Xymon Mailing List <xymon at xymon.com>
Onderwerp: Re: [Xymon] xymon not warning

 
Is the status green or yellow?  If green, check your analysis.cfg will match this host and limits configured appropriately.  If yellow, check the info page for this host to see what alerting you have, and configure alerting in alerts.cfg if needed.  If configured OK, check the notifications report.


Kind regards,

SebA

 
On 12 October 2018 at 10:35, Steffan <user-a2c231b1253e@xymon.invalid <mailto:user-a2c231b1253e@xymon.invalid> > wrote:

I dont see anything ignored in analysis.cfg

 
Van: Neil Simmonds <user-feff97fabd3d@xymon.invalid <mailto:user-feff97fabd3d@xymon.invalid> > 
Verzonden: vrijdag 12 oktober 2018 11:27
Aan: 'Steffan' <user-a2c231b1253e@xymon.invalid <mailto:user-a2c231b1253e@xymon.invalid> >; xymon at xymon.com <mailto:xymon at xymon.com> 
Onderwerp: RE: [Xymon] xymon not warning

 
Isn’t /mnt ignored in analysis.cfg?

 
From: Xymon <xymon-bounces at xymon.com <mailto:xymon-bounces at xymon.com> > On Behalf Of Steffan
Sent: 12 October 2018 10:12
To: xymon at xymon.com <mailto:xymon at xymon.com> 
Subject: [Xymon] xymon not warning

 
Hello list,

Xymon is sending warnings from other servers but it does not warn if /mnt is getting filled
(yellow level is 90%)

 
Eny idees why this is ignored?

 
Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok

Filesystem            Size  Used Avail Use% Mounted on

udev                   12G     0   12G   0% /dev

tmpfs                 2.4G  266M  2.1G  12% /run

/dev/mapper/pve-root   94G  3.5G   86G   4% /

tmpfs                  12G   19M   12G   1% /dev/shm

tmpfs                 5.0M     0  5.0M   0% /run/lock

tmpfs                  12G     0   12G   0% /sys/fs/cgroup

/dev/sdb1             1.8T  1.5T  273G  85% /mnt/node1

/dev/sdd1             1.8T  1.5T  257G  86% /mnt/node3

/dev/sdc1             3.6T  3.1T  343G  91% /mnt/node2

tmpfs                 2.4G     0  2.4G   0% /run/user/0

 
Steffan
list Becker Christian · Fri, 12 Oct 2018 13:40:15 +0000 ·
Hello,

could this be anything related to the “form” of the reporting of the sizes of the filesystems? …and the result of calculating to the gigabytes / terabytes as in your example?

On “my” systems the sizes are reported in bytes, not in megabytes, gigabytes, terabytes or whatever:
[cid:image001.png at 01D46242.1571F360]


Just a thought…

Regards
Christian
quoted from Steffan Noord


Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Steffan
Gesendet: Freitag, 12. Oktober 2018 15:23
An: xymon at xymon.com
Betreff: Re: [Xymon] xymon not warning

It is always green
Even if one is 100%
Analysis settings are:
DISK    * 80 97  #YELLOW LOW FOR TESTING

91% /mnt/node2

Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok

Van: SebA <user-4631430d620a@xymon.invalid<mailto:user-4631430d620a@xymon.invalid>>
Verzonden: vrijdag 12 oktober 2018 13:48
Aan: Steffan <user-a2c231b1253e@xymon.invalid<mailto:user-a2c231b1253e@xymon.invalid>>
CC: Xymon Mailing List <xymon at xymon.com<mailto:xymon at xymon.com>>
Onderwerp: Re: [Xymon] xymon not warning

Is the status green or yellow?  If green, check your analysis.cfg will match this host and limits configured appropriately.  If yellow, check the info page for this host to see what alerting you have, and configure alerting in alerts.cfg if needed.  If configured OK, check the notifications report.

Kind regards,

SebA

On 12 October 2018 at 10:35, Steffan <user-a2c231b1253e@xymon.invalid<mailto:user-a2c231b1253e@xymon.invalid>> wrote:
I dont see anything ignored in analysis.cfg

Van: Neil Simmonds <user-feff97fabd3d@xymon.invalid<mailto:user-feff97fabd3d@xymon.invalid>>
Verzonden: vrijdag 12 oktober 2018 11:27
Aan: 'Steffan' <user-a2c231b1253e@xymon.invalid<mailto:user-a2c231b1253e@xymon.invalid>>; xymon at xymon.com<mailto:xymon at xymon.com>
Onderwerp: RE: [Xymon] xymon not warning

Isn’t /mnt ignored in analysis.cfg?

From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Steffan
Sent: 12 October 2018 10:12
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] xymon not warning

Hello list,

Xymon is sending warnings from other servers but it does not warn if /mnt is getting filled
(yellow level is 90%)

Eny idees why this is ignored?


Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok
Filesystem            Size  Used Avail Use% Mounted on
udev                   12G     0   12G   0% /dev
tmpfs                 2.4G  266M  2.1G  12% /run
/dev/mapper/pve-root   94G  3.5G   86G   4% /
tmpfs                  12G   19M   12G   1% /dev/shm
tmpfs                 5.0M     0  5.0M   0% /run/lock
tmpfs                  12G     0   12G   0% /sys/fs/cgroup
/dev/sdb1             1.8T  1.5T  273G  85% /mnt/node1
/dev/sdd1             1.8T  1.5T  257G  86% /mnt/node3
/dev/sdc1             3.6T  3.1T  343G  91% /mnt/node2
tmpfs                 2.4G     0  2.4G   0% /run/user/0


Steffan
Attachments (1)
list Steffan Noord · Fri, 12 Oct 2018 16:05:48 +0200 ·
I completely forgot about that. I changed bin/xymon client-linux.sh More then a year ago to human readable pages. I change dit back and yes it works. To bad that i have to change it.

 
Thanx
quoted from Becker Christian

 
Van: Becker Christian <user-e4a19bfb94c0@xymon.invalid> 
Verzonden: vrijdag 12 oktober 2018 15:40
Aan: Steffan <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
Onderwerp: AW: [Xymon] xymon not warning

 
Hello,

 
could this be anything related to the “form” of the reporting of the sizes of the filesystems? …and the result of calculating to the gigabytes / terabytes as in your example?

 
On “my” systems the sizes are reported in bytes, not in megabytes, gigabytes, terabytes or whatever:


Just a thought…

 
Regards

Christian

 
Von: Xymon <xymon-bounces at xymon.com <mailto:xymon-bounces at xymon.com> > Im Auftrag von Steffan
Gesendet: Freitag, 12. Oktober 2018 15:23
An: xymon at xymon.com <mailto:xymon at xymon.com> 
Betreff: Re: [Xymon] xymon not warning

 
It is always green

Even if one is 100%

Analysis settings are:

DISK    * 80 97  #YELLOW LOW FOR TESTING

 
91% /mnt/node2

 
Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok

 
Van: SebA <user-4631430d620a@xymon.invalid <mailto:user-4631430d620a@xymon.invalid> > 
Verzonden: vrijdag 12 oktober 2018 13:48
Aan: Steffan <user-a2c231b1253e@xymon.invalid <mailto:user-a2c231b1253e@xymon.invalid> >
CC: Xymon Mailing List <xymon at xymon.com <mailto:xymon at xymon.com> >
Onderwerp: Re: [Xymon] xymon not warning

 
Is the status green or yellow?  If green, check your analysis.cfg will match this host and limits configured appropriately.  If yellow, check the info page for this host to see what alerting you have, and configure alerting in alerts.cfg if needed.  If configured OK, check the notifications report.


Kind regards,

SebA

 
On 12 October 2018 at 10:35, Steffan <user-a2c231b1253e@xymon.invalid <mailto:user-a2c231b1253e@xymon.invalid> > wrote:

I dont see anything ignored in analysis.cfg

 
Van: Neil Simmonds <user-feff97fabd3d@xymon.invalid <mailto:user-feff97fabd3d@xymon.invalid> > 
Verzonden: vrijdag 12 oktober 2018 11:27
Aan: 'Steffan' <user-a2c231b1253e@xymon.invalid <mailto:user-a2c231b1253e@xymon.invalid> >; xymon at xymon.com <mailto:xymon at xymon.com> 
Onderwerp: RE: [Xymon] xymon not warning

 
Isn’t /mnt ignored in analysis.cfg?

 
From: Xymon <xymon-bounces at xymon.com <mailto:xymon-bounces at xymon.com> > On Behalf Of Steffan
Sent: 12 October 2018 10:12
To: xymon at xymon.com <mailto:xymon at xymon.com> 
Subject: [Xymon] xymon not warning

 
Hello list,

Xymon is sending warnings from other servers but it does not warn if /mnt is getting filled
(yellow level is 90%)

 
Eny idees why this is ignored?

 
Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok

Filesystem            Size  Used Avail Use% Mounted on

udev                   12G     0   12G   0% /dev

tmpfs                 2.4G  266M  2.1G  12% /run

/dev/mapper/pve-root   94G  3.5G   86G   4% /

tmpfs                  12G   19M   12G   1% /dev/shm

tmpfs                 5.0M     0  5.0M   0% /run/lock

tmpfs                  12G     0   12G   0% /sys/fs/cgroup

/dev/sdb1             1.8T  1.5T  273G  85% /mnt/node1

/dev/sdd1             1.8T  1.5T  257G  86% /mnt/node3

/dev/sdc1             3.6T  3.1T  343G  91% /mnt/node2

tmpfs                 2.4G     0  2.4G   0% /run/user/0

 
Steffan
list Norbert Kriegenburg · Fri, 12 Oct 2018 16:39:50 +0200 ·
Ah yes,

i also recently stumbled over this. Took me some time to find out what is
the root cause (as always this mailing list helped).
But i wonder why the disk alerting does not work anymore if i change df -Pl
to df -hPl, if the disk usage percentage is not affected (by syntax or
output field).
(Btw: the inode alerting is not affected by the "h" switch).

I really would like to get this fixed, as for our normally huge disks it is
hard to check how much space is available by a normal df...

Norbert


From:	"Steffan" <user-a2c231b1253e@xymon.invalid>
To:	<xymon at xymon.com>
Date:	10/12/2018 04:07 PM
Subject:	Re: [Xymon] xymon not warning
Sent by:	"Xymon" <xymon-bounces at xymon.com>
quoted from Steffan Noord


I completely forgot about that. I changed bin/xymon client-linux.sh More
then a year ago to human readable pages. I change dit back and yes it
works. To bad that i have to change it.

Thanx


Van: Becker Christian <user-e4a19bfb94c0@xymon.invalid>
Verzonden: vrijdag 12 oktober 2018 15:40
Aan: Steffan <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
Onderwerp: AW: [Xymon] xymon not warning

Hello,

could this be anything related to the “form” of the reporting of the sizes
of the filesystems? …and the result of calculating to the gigabytes /
terabytes as in your example?

On “my” systems the sizes are reported in bytes, not in megabytes,
gigabytes, terabytes or whatever:


Just a thought…

Regards
Christian


Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Steffan
Gesendet: Freitag, 12. Oktober 2018 15:23
An: xymon at xymon.com
Betreff: Re: [Xymon] xymon not warning

It is always green
Even if one is 100%
Analysis settings are:
DISK    * 80 97  #YELLOW LOW FOR TESTING

91% /mnt/node2

Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok

Van: SebA <user-4631430d620a@xymon.invalid>
Verzonden: vrijdag 12 oktober 2018 13:48
Aan: Steffan <user-a2c231b1253e@xymon.invalid>
CC: Xymon Mailing List <xymon at xymon.com>
Onderwerp: Re: [Xymon] xymon not warning

Is the status green or yellow?  If green, check your analysis.cfg will
match this host and limits configured appropriately.  If yellow, check the
info page for this host to see what alerting you have, and configure
alerting in alerts.cfg if needed.  If configured OK, check the
notifications report.

Kind regards,

SebA

On 12 October 2018 at 10:35, Steffan <user-a2c231b1253e@xymon.invalid> wrote:
 I dont see anything ignored in analysis.cfg

 Van: Neil Simmonds <user-feff97fabd3d@xymon.invalid>
 Verzonden: vrijdag 12 oktober 2018 11:27
 Aan: 'Steffan' <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
 Onderwerp: RE: [Xymon] xymon not warning

 Isn’t /mnt ignored in analysis.cfg?

 From: Xymon <xymon-bounces at xymon.com> On Behalf Of Steffan
 Sent: 12 October 2018 10:12
 To: xymon at xymon.com
 Subject: [Xymon] xymon not warning

 Hello list,

 Xymon is sending warnings from other servers but it does not warn if /mnt
 is getting filled
 (yellow level is 90%)

 Eny idees why this is ignored?


 Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok
 Filesystem            Size  Used Avail Use% Mounted on
 udev                   12G     0   12G   0% /dev
 tmpfs                 2.4G  266M  2.1G  12% /run
 /dev/mapper/pve-root   94G  3.5G   86G   4% /
 tmpfs                  12G   19M   12G   1% /dev/shm
 tmpfs                 5.0M     0  5.0M   0% /run/lock
 tmpfs                  12G     0   12G   0% /sys/fs/cgroup
 /dev/sdb1             1.8T  1.5T  273G  85% /mnt/node1
 /dev/sdd1             1.8T  1.5T  257G  86% /mnt/node3
 /dev/sdc1             3.6T  3.1T  343G  91% /mnt/node2
 tmpfs                 2.4G     0  2.4G   0% /run/user/0


 Steffan

 
list Galen Johnson · Fri, 12 Oct 2018 10:49:23 -0400 ·
You can actually check for free space on volume instead of percentage.  I
do this for really large volumes since multi-terabyte disks still have
plenty of space when at 95% :-).  I expect that is why the -h arg won't
work since the parser in Xymon expects a certain format.  For example:

DISK /archive/courses 52428800U 10485760U

(IIRC, those are in KB...check the man page) to turn yellow when 50 GB
remains and red when 10 GB left on device.

=G=

On Fri, Oct 12, 2018 at 10:40 AM Norbert Kriegenburg <
quoted from Norbert Kriegenburg
user-501bbe9c5409@xymon.invalid> wrote:
Ah yes,

i also recently stumbled over this. Took me some time to find out what is
the root cause (as always this mailing list helped).
But i wonder why the disk alerting does not work anymore if i change df
-Pl to df -hPl, if the disk usage percentage is not affected (by syntax or
output field).
(Btw: the inode alerting is not affected by the "h" switch).

I really would like to get this fixed, as for our normally huge disks it
is hard to check how much space is available by a normal df...

Norbert


[image: Inactive hide details for "Steffan" ---10/12/2018 04:07:05 PM---I
completely forgot about that. I changed bin/xymon client-linu]"Steffan"
---10/12/2018 04:07:05 PM---I completely forgot about that. I changed
bin/xymon client-linux.sh More then a year ago to human re
quoted from Norbert Kriegenburg

From: "Steffan" <user-a2c231b1253e@xymon.invalid>
To: <xymon at xymon.com>
Date: 10/12/2018 04:07 PM
Subject: Re: [Xymon] xymon not warning
Sent by: "Xymon" <xymon-bounces at xymon.com>


I completely forgot about that. I changed bin/xymon client-linux.sh More
then a year ago to human readable pages. I change dit back and yes it
works. To bad that i have to change it.

Thanx


*Van:* Becker Christian <user-e4a19bfb94c0@xymon.invalid>
*Verzonden:* vrijdag 12 oktober 2018 15:40
*Aan:* Steffan <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
*Onderwerp:* AW: [Xymon] xymon not warning

Hello,

could this be anything related to the “form” of the reporting of the sizes
of the filesystems? …and the result of calculating to the gigabytes /
terabytes as in your example?

On “my” systems the sizes are reported in bytes, not in megabytes,
gigabytes, terabytes or whatever:


Just a thought…

Regards
Christian


*Von:* Xymon <*xymon-bounces at xymon.com* <xymon-bounces at xymon.com>> *Im
Auftrag von *Steffan
*Gesendet:* Freitag, 12. Oktober 2018 15:23
*An:* *xymon at xymon.com* <xymon at xymon.com>
*Betreff:* Re: [Xymon] xymon not warning

It is always green
Even if one is 100%
Analysis settings are:
DISK * 80 97 #YELLOW LOW FOR TESTING

91% /mnt/node2

*Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok*

*Van:* SebA <*user-4631430d620a@xymon.invalid* <user-4631430d620a@xymon.invalid>>
*Verzonden:* vrijdag 12 oktober 2018 13:48
*Aan:* Steffan <*user-a2c231b1253e@xymon.invalid* <user-a2c231b1253e@xymon.invalid>>
*CC:* Xymon Mailing List <*xymon at xymon.com* <xymon at xymon.com>>
*Onderwerp:* Re: [Xymon] xymon not warning

Is the status green or yellow? If green, check your analysis.cfg will
match this host and limits configured appropriately. If yellow, check the
info page for this host to see what alerting you have, and configure
alerting in alerts.cfg if needed. If configured OK, check the notifications
report.

Kind regards,

SebA

On 12 October 2018 at 10:35, Steffan <*user-a2c231b1253e@xymon.invalid*
<user-a2c231b1253e@xymon.invalid>> wrote:
I dont see anything ignored in analysis.cfg

*Van:* Neil Simmonds <*user-feff97fabd3d@xymon.invalid*
<user-feff97fabd3d@xymon.invalid>>
*Verzonden:* vrijdag 12 oktober 2018 11:27

*Aan:* 'Steffan' <*user-a2c231b1253e@xymon.invalid* <user-a2c231b1253e@xymon.invalid>>;
*xymon at xymon.com* <xymon at xymon.com>
quoted from Norbert Kriegenburg
*Onderwerp:* RE: [Xymon] xymon not warning

Isn’t /mnt ignored in analysis.cfg?

*From:* Xymon <*xymon-bounces at xymon.com* <xymon-bounces at xymon.com>> *On
Behalf Of *Steffan
*Sent:* 12 October 2018 10:12
*To:* *xymon at xymon.com* <xymon at xymon.com>
*Subject:* [Xymon] xymon not warning

Hello list,

Xymon is sending warnings from other servers but it does not warn if /mnt
is getting filled
(yellow level is 90%)

Eny idees why this is ignored?


*Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok*
Filesystem Size Used Avail Use% Mounted on
udev 12G 0 12G 0% /dev
tmpfs 2.4G 266M 2.1G 12% /run
/dev/mapper/pve-root 94G 3.5G 86G 4% /
tmpfs 12G 19M 12G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 12G 0 12G 0% /sys/fs/cgroup
/dev/sdb1 1.8T 1.5T 273G 85% /mnt/node1
/dev/sdd1 1.8T 1.5T 257G 86% /mnt/node3
/dev/sdc1 3.6T 3.1T 343G 91% /mnt/node2
tmpfs 2.4G 0 2.4G 0% /run/user/0


Steffan


*Xymon at xymon.com*
<

list Norbert Kriegenburg · Fri, 12 Oct 2018 17:29:12 +0200 ·
sure,

but for a fast check how many GB are available if the disk becomes yellow
it is much more useful to have human readeable output.
I cannot see why this

df -hlP /home
Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda2       25G  7.0G   17G  31% /

behaves differently then this

df -lP /home
Filesystem     1024-blocks    Used Available Capacity Mounted on
/dev/xvda2        25412940 7260876  16854504      31% /

as field NF-1 is the same. And the usage graphs are also not affected.

Norbert


From:	Galen Johnson <user-fc632e705d24@xymon.invalid>
To:	user-501bbe9c5409@xymon.invalid
Cc:	Steffan <user-a2c231b1253e@xymon.invalid>, "xymon >> xymon at xymon.com"
            <xymon at xymon.com>
Date:	10/12/2018 04:49 PM
quoted from Galen Johnson
Subject:	Re: [Xymon] xymon not warning


You can actually check for free space on volume instead of percentage.  I
do this for really large volumes since multi-terabyte disks still have
plenty of space when at 95% :-).  I expect that is why the -h arg won't
work since the parser in Xymon expects a certain format.  For example:

DISK /archive/courses 52428800U 10485760U

(IIRC, those are in KB...check the man page) to turn yellow when 50 GB
remains and red when 10 GB left on device.

=G=

On Fri, Oct 12, 2018 at 10:40 AM Norbert Kriegenburg <
user-501bbe9c5409@xymon.invalid> wrote:
  Ah yes,

  i also recently stumbled over this. Took me some time to find out what is
  the root cause (as always this mailing list helped).
  But i wonder why the disk alerting does not work anymore if i change df
  -Pl to df -hPl, if the disk usage percentage is not affected (by syntax
  or output field).
  (Btw: the inode alerting is not affected by the "h" switch).

  I really would like to get this fixed, as for our normally huge disks it
  is hard to check how much space is available by a normal df...

  Norbert


  "Steffan" ---10/12/2018 04:07:05 PM---I completely forgot about that. I
  changed bin/xymon client-linux.sh More then a year ago to human re

  From: "Steffan" <user-a2c231b1253e@xymon.invalid>
  To: <xymon at xymon.com>
  Date: 10/12/2018 04:07 PM
  Subject: Re: [Xymon] xymon not warning
  Sent by: "Xymon" <xymon-bounces at xymon.com>


  I completely forgot about that. I changed bin/xymon client-linux.sh More
  then a year ago to human readable pages. I change dit back and yes it
  works. To bad that i have to change it.

  Thanx


  Van: Becker Christian <user-e4a19bfb94c0@xymon.invalid>
  Verzonden: vrijdag 12 oktober 2018 15:40
  Aan: Steffan <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
  Onderwerp: AW: [Xymon] xymon not warning

  Hello,

  could this be anything related to the “form” of the reporting of the
  sizes of the filesystems? …and the result of calculating to the
  gigabytes / terabytes as in your example?

  On “my” systems the sizes are reported in bytes, not in megabytes,
  gigabytes, terabytes or whatever:


  Just a thought…

  Regards
  Christian


  Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Steffan
  Gesendet: Freitag, 12. Oktober 2018 15:23
  An: xymon at xymon.com
  Betreff: Re: [Xymon] xymon not warning

  It is always green
  Even if one is 100%
  Analysis settings are:
  DISK * 80 97 #YELLOW LOW FOR TESTING

  91% /mnt/node2

  Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok

  Van: SebA <user-4631430d620a@xymon.invalid>
  Verzonden: vrijdag 12 oktober 2018 13:48
  Aan: Steffan <user-a2c231b1253e@xymon.invalid>
  CC: Xymon Mailing List <xymon at xymon.com>
  Onderwerp: Re: [Xymon] xymon not warning

  Is the status green or yellow? If green, check your analysis.cfg will
  match this host and limits configured appropriately. If yellow, check the
  info page for this host to see what alerting you have, and configure
  alerting in alerts.cfg if needed. If configured OK, check the
  notifications report.

  Kind regards,

  SebA

  On 12 October 2018 at 10:35, Steffan <user-a2c231b1253e@xymon.invalid> wrote:
  I dont see anything ignored in analysis.cfg

  Van: Neil Simmonds <user-feff97fabd3d@xymon.invalid>
  Verzonden: vrijdag 12 oktober 2018 11:27
  Aan: 'Steffan' <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
  Onderwerp: RE: [Xymon] xymon not warning

  Isn’t /mnt ignored in analysis.cfg?

  From: Xymon <xymon-bounces at xymon.com> On Behalf Of Steffan
  Sent: 12 October 2018 10:12
  To: xymon at xymon.com
  Subject: [Xymon] xymon not warning

  Hello list,

  Xymon is sending warnings from other servers but it does not warn if /mnt
  is getting filled
  (yellow level is 90%)

  Eny idees why this is ignored?


  Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok
  Filesystem Size Used Avail Use% Mounted on
  udev 12G 0 12G 0% /dev
  tmpfs 2.4G 266M 2.1G 12% /run
  /dev/mapper/pve-root 94G 3.5G 86G 4% /
  tmpfs 12G 19M 12G 1% /dev/shm
  tmpfs 5.0M 0 5.0M 0% /run/lock
  tmpfs 12G 0 12G 0% /sys/fs/cgroup
  /dev/sdb1 1.8T 1.5T 273G 85% /mnt/node1
  /dev/sdd1 1.8T 1.5T 257G 86% /mnt/node3
  /dev/sdc1 3.6T 3.1T 343G 91% /mnt/node2
  tmpfs 2.4G 0 2.4G 0% /run/user/0


  Steffan

  

  Xymon at xymon.com "graycol.gif"
  deleted by Norbert Kriegenburg/Germany/IBM] [attachment "1B332202.gif"
  deleted by Norbert Kriegenburg/Germany/IBM] [attachment "graycol.gif"
  deleted by Norbert Kriegenburg/Germany/IBM]
list Ralph Mitchell · Fri, 12 Oct 2018 15:14:20 -0400 ·
I wonder if the dot in the string is causing an issue?

     /dev/xvda2  25G  7.0G  17G  31%  /

If I found the right bit in the code, it uses "atol()" to convert ascii
string to long int.  I think maybe the conversion stops when it hits the
non-numeric dot and it never sees the multiplier?

Ralph Mitchell


On Fri, Oct 12, 2018 at 1:29 PM Norbert Kriegenburg <
quoted from Norbert Kriegenburg
user-501bbe9c5409@xymon.invalid> wrote:
sure,

but for a fast check how many GB are available if the disk becomes yellow
it is much more useful to have human readeable output.
I cannot see why this

df -hlP /home
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 25G 7.0G 17G 31% /

behaves differently then this

df -lP /home
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/xvda2 25412940 7260876 16854504 31% /

as field NF-1 is the same. And the usage graphs are also not affected.

Norbert

[image: Inactive hide details for Galen Johnson ---10/12/2018 04:49:42
PM---You can actually check for free space on volume instead of]Galen
Johnson ---10/12/2018 04:49:42 PM---You can actually check for free space
on volume instead of percentage. I do this for really large v
quoted from Galen Johnson

From: Galen Johnson <user-fc632e705d24@xymon.invalid>
To: user-501bbe9c5409@xymon.invalid
Cc: Steffan <user-a2c231b1253e@xymon.invalid>, "xymon >> xymon at xymon.com" <
xymon at xymon.com>
Date: 10/12/2018 04:49 PM
Subject: Re: [Xymon] xymon not warning


You can actually check for free space on volume instead of percentage.  I
do this for really large volumes since multi-terabyte disks still have
plenty of space when at 95% :-).  I expect that is why the -h arg won't
work since the parser in Xymon expects a certain format.  For example:

DISK /archive/courses 52428800U 10485760U

(IIRC, those are in KB...check the man page) to turn yellow when 50 GB
remains and red when 10 GB left on device.

=G=

On Fri, Oct 12, 2018 at 10:40 AM Norbert Kriegenburg <
*user-501bbe9c5409@xymon.invalid* <user-501bbe9c5409@xymon.invalid>> wrote:

   Ah yes,

   i also recently stumbled over this. Took me some time to find out what
   is the root cause (as always this mailing list helped).
   But i wonder why the disk alerting does not work anymore if i change
   df -Pl to df -hPl, if the disk usage percentage is not affected (by syntax
   or output field).
   (Btw: the inode alerting is not affected by the "h" switch).

   I really would like to get this fixed, as for our normally huge disks
   it is hard to check how much space is available by a normal df...

   Norbert


   "Steffan" ---10/12/2018 04:07:05 PM---I completely forgot about that.
   I changed bin/xymon client-linux.sh More then a year ago to human re

   From: "Steffan" <*user-a2c231b1253e@xymon.invalid* <user-a2c231b1253e@xymon.invalid>>
   To: <*xymon at xymon.com* <xymon at xymon.com>>
   Date: 10/12/2018 04:07 PM
   Subject: Re: [Xymon] xymon not warning
   Sent by: "Xymon" <*xymon-bounces at xymon.com* <xymon-bounces at xymon.com>>


   I completely forgot about that. I changed bin/xymon client-linux.sh
   More then a year ago to human readable pages. I change dit back and yes it
   works. To bad that i have to change it.

   Thanx


* Van:* Becker Christian <*user-e4a19bfb94c0@xymon.invalid*
   <user-e4a19bfb94c0@xymon.invalid>>
* Verzonden:* vrijdag 12 oktober 2018 15:40
* Aan:* Steffan <*user-a2c231b1253e@xymon.invalid* <user-a2c231b1253e@xymon.invalid>>;
   *xymon at xymon.com* <xymon at xymon.com>
* Onderwerp:* AW: [Xymon] xymon not warning

   Hello,

   could this be anything related to the “form” of the reporting of the
   sizes of the filesystems? …and the result of calculating to the gigabytes /
   terabytes as in your example?

   On “my” systems the sizes are reported in bytes, not in megabytes,
   gigabytes, terabytes or whatever:


   Just a thought…

   Regards
   Christian


* Von:* Xymon <*xymon-bounces at xymon.com* <xymon-bounces at xymon.com>> *Im
   Auftrag von *Steffan
* Gesendet:* Freitag, 12. Oktober 2018 15:23
* An:* *xymon at xymon.com* <xymon at xymon.com>
* Betreff:* Re: [Xymon] xymon not warning

   It is always green
   Even if one is 100%
   Analysis settings are:
   DISK * 80 97 #YELLOW LOW FOR TESTING

   91% /mnt/node2

* Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok*

* Van:* SebA <*user-4631430d620a@xymon.invalid* <user-4631430d620a@xymon.invalid>>
* Verzonden:* vrijdag 12 oktober 2018 13:48
* Aan:* Steffan <*user-a2c231b1253e@xymon.invalid* <user-a2c231b1253e@xymon.invalid>>
* CC:* Xymon Mailing List <*xymon at xymon.com* <xymon at xymon.com>>
* Onderwerp:* Re: [Xymon] xymon not warning

   Is the status green or yellow? If green, check your analysis.cfg will
   match this host and limits configured appropriately. If yellow, check the
   info page for this host to see what alerting you have, and configure
   alerting in alerts.cfg if needed. If configured OK, check the notifications
   report.

   Kind regards,

   SebA

   On 12 October 2018 at 10:35, Steffan <*user-a2c231b1253e@xymon.invalid*
   <user-a2c231b1253e@xymon.invalid>> wrote:
   I dont see anything ignored in analysis.cfg

* Van:* Neil Simmonds <*user-feff97fabd3d@xymon.invalid*
   <user-feff97fabd3d@xymon.invalid>>
* Verzonden:* vrijdag 12 oktober 2018 11:27
* Aan:* 'Steffan' <*user-a2c231b1253e@xymon.invalid* <user-a2c231b1253e@xymon.invalid>>;
   *xymon at xymon.com* <xymon at xymon.com>
* Onderwerp:* RE: [Xymon] xymon not warning

   Isn’t /mnt ignored in analysis.cfg?

* From:* Xymon <*xymon-bounces at xymon.com* <xymon-bounces at xymon.com>> *On
   Behalf Of *Steffan
* Sent:* 12 October 2018 10:12
* To:* *xymon at xymon.com* <xymon at xymon.com>
* Subject:* [Xymon] xymon not warning

   Hello list,

   Xymon is sending warnings from other servers but it does not warn if
   /mnt is getting filled
   (yellow level is 90%)

   Eny idees why this is ignored?


* Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok*
   Filesystem Size Used Avail Use% Mounted on
   udev 12G 0 12G 0% /dev
   tmpfs 2.4G 266M 2.1G 12% /run
   /dev/mapper/pve-root 94G 3.5G 86G 4% /
   tmpfs 12G 19M 12G 1% /dev/shm
   tmpfs 5.0M 0 5.0M 0% /run/lock
   tmpfs 12G 0 12G 0% /sys/fs/cgroup
   /dev/sdb1 1.8T 1.5T 273G 85% /mnt/node1
   /dev/sdd1 1.8T 1.5T 257G 86% /mnt/node3
   /dev/sdc1 3.6T 3.1T 343G 91% /mnt/node2
   tmpfs 2.4G 0 2.4G 0% /run/user/0


   Steffan

   
*Xymon at xymon.com*
   <
   
*Xymon at xymon.com*
   <


*Xymon at xymon.com*
   <
   "graycol.gif" deleted by Norbert Kriegenburg/Germany/IBM] [attachment
   "1B332202.gif" deleted by Norbert Kriegenburg/Germany/IBM] [attachment
   "graycol.gif" deleted by Norbert Kriegenburg/Germany/IBM] *

list Norbert Kriegenburg · Mon, 15 Oct 2018 09:28:34 +0200 ·
Yes,

this may break the evaluation of remaining disk space, but we only use the
percentage value in analysis.cfg. And there is a dot in percent usage in
both output versions, means in general this can handle the dot.
And, as i said, the graph works fine even if i use the human readable
output.
So no difference in syntax or field, but nevertheless only one version
works.

Norbert


From:	Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
To:	user-501bbe9c5409@xymon.invalid
Cc:	Galen Johnson <user-fc632e705d24@xymon.invalid>, "xymon at xymon.com"
            <xymon at xymon.com>
Date:	10/12/2018 09:14 PM
quoted from Ralph Mitchell
Subject:	Re: [Xymon] xymon not warning


I wonder if the dot in the string is causing an issue?

     /dev/xvda2  25G  7.0G  17G  31%  /

If I found the right bit in the code, it uses "atol()" to convert ascii
string to long int.  I think maybe the conversion stops when it hits the
non-numeric dot and it never sees the multiplier?

Ralph Mitchell


On Fri, Oct 12, 2018 at 1:29 PM Norbert Kriegenburg <
user-501bbe9c5409@xymon.invalid> wrote:
  sure,

  but for a fast check how many GB are available if the disk becomes yellow
  it is much more useful to have human readeable output.
  I cannot see why this

  df -hlP /home
  Filesystem Size Used Avail Use% Mounted on
  /dev/xvda2 25G 7.0G 17G 31% /

  behaves differently then this

  df -lP /home
  Filesystem 1024-blocks Used Available Capacity Mounted on
  /dev/xvda2 25412940 7260876 16854504 31% /

  as field NF-1 is the same. And the usage graphs are also not affected.

  Norbert

  Galen Johnson ---10/12/2018 04:49:42 PM---You can actually check for free
  space on volume instead of percentage. I do this for really large v

  From: Galen Johnson <user-fc632e705d24@xymon.invalid>
  To: user-501bbe9c5409@xymon.invalid
  Cc: Steffan <user-a2c231b1253e@xymon.invalid>, "xymon >> xymon at xymon.com" <
  xymon at xymon.com>
  Date: 10/12/2018 04:49 PM
  Subject: Re: [Xymon] xymon not warning


  You can actually check for free space on volume instead of percentage.  I
  do this for really large volumes since multi-terabyte disks still have
  plenty of space when at 95% :-).  I expect that is why the -h arg won't
  work since the parser in Xymon expects a certain format.  For example:

  DISK /archive/courses 52428800U 10485760U

  (IIRC, those are in KB...check the man page) to turn yellow when 50 GB
  remains and red when 10 GB left on device.

  =G=

  On Fri, Oct 12, 2018 at 10:40 AM Norbert Kriegenburg <
  user-501bbe9c5409@xymon.invalid> wrote:
        Ah yes,

        i also recently stumbled over this. Took me some time to find out
        what is the root cause (as always this mailing list helped).
        But i wonder why the disk alerting does not work anymore if i
        change df -Pl to df -hPl, if the disk usage percentage is not
        affected (by syntax or output field).
        (Btw: the inode alerting is not affected by the "h" switch).

        I really would like to get this fixed, as for our normally huge
        disks it is hard to check how much space is available by a normal
        df...

        Norbert


        "Steffan" ---10/12/2018 04:07:05 PM---I completely forgot about
        that. I changed bin/xymon client-linux.sh More then a year ago to
        human re

        From: "Steffan" <user-a2c231b1253e@xymon.invalid>
        To: <xymon at xymon.com>
        Date: 10/12/2018 04:07 PM
        Subject: Re: [Xymon] xymon not warning
        Sent by: "Xymon" <xymon-bounces at xymon.com>


        I completely forgot about that. I changed bin/xymon client-linux.sh
        More then a year ago to human readable pages. I change dit back and
        yes it works. To bad that i have to change it.

        Thanx


        Van: Becker Christian <user-e4a19bfb94c0@xymon.invalid>
        Verzonden: vrijdag 12 oktober 2018 15:40
        Aan: Steffan <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
        Onderwerp: AW: [Xymon] xymon not warning

        Hello,

        could this be anything related to the “form” of the reporting of
        the sizes of the filesystems? …and the result of calculating to the
        gigabytes / terabytes as in your example?

        On “my” systems the sizes are reported in bytes, not in megabytes,
        gigabytes, terabytes or whatever:


        Just a thought…

        Regards
        Christian


        Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Steffan
        Gesendet: Freitag, 12. Oktober 2018 15:23
        An: xymon at xymon.com
        Betreff: Re: [Xymon] xymon not warning

        It is always green
        Even if one is 100%
        Analysis settings are:
        DISK * 80 97 #YELLOW LOW FOR TESTING

        91% /mnt/node2

        Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok

        Van: SebA <user-4631430d620a@xymon.invalid>
        Verzonden: vrijdag 12 oktober 2018 13:48
        Aan: Steffan <user-a2c231b1253e@xymon.invalid>
        CC: Xymon Mailing List <xymon at xymon.com>
        Onderwerp: Re: [Xymon] xymon not warning

        Is the status green or yellow? If green, check your analysis.cfg
        will match this host and limits configured appropriately. If
        yellow, check the info page for this host to see what alerting you
        have, and configure alerting in alerts.cfg if needed. If configured
        OK, check the notifications report.

        Kind regards,

        SebA

        On 12 October 2018 at 10:35, Steffan <user-a2c231b1253e@xymon.invalid>
        wrote:
        I dont see anything ignored in analysis.cfg

        Van: Neil Simmonds <user-feff97fabd3d@xymon.invalid>
        Verzonden: vrijdag 12 oktober 2018 11:27
        Aan: 'Steffan' <user-a2c231b1253e@xymon.invalid>; xymon at xymon.com
        Onderwerp: RE: [Xymon] xymon not warning

        Isn’t /mnt ignored in analysis.cfg?

        From: Xymon <xymon-bounces at xymon.com> On Behalf Of Steffan
        Sent: 12 October 2018 10:12
        To: xymon at xymon.com
        Subject: [Xymon] xymon not warning

        Hello list,

        Xymon is sending warnings from other servers but it does not warn
        if /mnt is getting filled
        (yellow level is 90%)

        Eny idees why this is ignored?


        Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok
        Filesystem Size Used Avail Use% Mounted on
        udev 12G 0 12G 0% /dev
        tmpfs 2.4G 266M 2.1G 12% /run
        /dev/mapper/pve-root 94G 3.5G 86G 4% /
        tmpfs 12G 19M 12G 1% /dev/shm
        tmpfs 5.0M 0 5.0M 0% /run/lock
        tmpfs 12G 0 12G 0% /sys/fs/cgroup
        /dev/sdb1 1.8T 1.5T 273G 85% /mnt/node1
        /dev/sdd1 1.8T 1.5T 257G 86% /mnt/node3
        /dev/sdc1 3.6T 3.1T 343G 91% /mnt/node2
        tmpfs 2.4G 0 2.4G 0% /run/user/0


        Steffan

        
        "graycol.gif" deleted by Norbert Kriegenburg/Germany/IBM]
        [attachment "1B332202.gif" deleted by Norbert
        Kriegenburg/Germany/IBM] [attachment "graycol.gif" deleted by
        Norbert Kriegenburg/Germany/IBM]


  Xymon at xymon.com "graycol.gif"
  deleted by Norbert Kriegenburg/Germany/IBM] [attachment "graycol.gif"
  deleted by Norbert Kriegenburg/Germany/IBM]