[Xymon] xymon not warning
Norbert Kriegenburg
norbert.kriegenburg at de.ibm.com
Mon Oct 15 09:28:34 CEST 2018
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 <ralphmitchell at gmail.com>
To: norbert.kriegenburg at de.ibm.com
Cc: Galen Johnson <solitaryr at gmail.com>, "xymon at xymon.com"
<xymon at xymon.com>
Date: 10/12/2018 09:14 PM
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 <
norbert.kriegenburg at de.ibm.com> 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 <solitaryr at gmail.com>
To: norbert.kriegenburg at de.ibm.com
Cc: Steffan <mailinglist at tikklik.nl>, "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 <
norbert.kriegenburg at de.ibm.com> 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" <mailinglist at tikklik.nl>
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 <christian.becker at rhein-zeitung.net>
Verzonden: vrijdag 12 oktober 2018 15:40
Aan: Steffan <mailinglist at tikklik.nl>; 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 <spah at syntec.co.uk>
Verzonden: vrijdag 12 oktober 2018 13:48
Aan: Steffan <mailinglist at tikklik.nl>
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 <mailinglist at tikklik.nl>
wrote:
I dont see anything ignored in analysis.cfg
Van: Neil Simmonds <neilsimmonds1808 at gmail.com>
Verzonden: vrijdag 12 oktober 2018 11:27
Aan: 'Steffan' <mailinglist at tikklik.nl>; 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 mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon[attachment
"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 mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon[attachment "graycol.gif"
deleted by Norbert Kriegenburg/Germany/IBM] [attachment "graycol.gif"
deleted by Norbert Kriegenburg/Germany/IBM]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181015/3f2ab503/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181015/3f2ab503/attachment.gif>
More information about the Xymon
mailing list