<html><body><p><font size="2">Yes,</font><br><br><font size="2">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.</font><br><font size="2">And, as i said, the graph works fine even if i use the human readable output.</font><br><font size="2">So no difference in syntax or field, but nevertheless only one version works.</font><br><br><font size="2">Norbert</font><br><br><img width="16" height="16" src="cid:1__=4EBB09B4DFBBEE3D8f9e8a93df938690918c4EB@" border="0" alt="Inactive hide details for Ralph Mitchell ---10/12/2018 09:14:38 PM---I wonder if the dot in the string is causing an issue?    "><font size="2" color="#424282">Ralph Mitchell ---10/12/2018 09:14:38 PM---I wonder if the dot in the string is causing an issue?      /dev/xvda2  25G  7.0G  17G  31%  /</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Ralph Mitchell <ralphmitchell@gmail.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">norbert.kriegenburg@de.ibm.com</font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">Galen Johnson <solitaryr@gmail.com>, "xymon@xymon.com" <xymon@xymon.com></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">10/12/2018 09:14 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [Xymon] xymon not warning</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br>I wonder if the dot in the string is causing an issue?<br><br><font size="2">     /dev/xvda2  25G  7.0G  17G  31%  /</font><br><br><font size="2">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?</font><br><br><font size="2">Ralph Mitchell</font><br><br><br>On Fri, Oct 12, 2018 at 1:29 PM Norbert Kriegenburg <<a href="mailto:norbert.kriegenburg@de.ibm.com"><u><font color="#0000FF">norbert.kriegenburg@de.ibm.com</font></u></a>> wrote:
<ul><font size="2">sure, </font><br><font size="2"><br>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.<br>I cannot see why this </font><br><font size="2"><br>df -hlP /home<br>Filesystem Size Used Avail Use% Mounted on<br>/dev/xvda2 25G 7.0G 17G 31% /</font><br><font size="2"><br>behaves differently then this</font><br><font size="2"><br>df -lP /home<br>Filesystem 1024-blocks Used Available Capacity Mounted on<br>/dev/xvda2 25412940 7260876 16854504 31% /</font><br><font size="2"><br>as field NF-1 is the same. And the usage graphs are also not affected.</font><br><font size="2"><br>Norbert</font><br><br><font size="2" color="#424282">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</font><br><font size="2" color="#5F5F5F"><br>From: </font><font size="2">Galen Johnson <</font><a href="mailto:solitaryr@gmail.com" target="_blank"><u><font size="2" color="#0000FF">solitaryr@gmail.com</font></u></a><font size="2">></font><font size="2" color="#5F5F5F"><br>To: </font><a href="mailto:norbert.kriegenburg@de.ibm.com" target="_blank"><u><font size="2" color="#0000FF">norbert.kriegenburg@de.ibm.com</font></u></a><font size="2" color="#5F5F5F"><br>Cc: </font><font size="2">Steffan <</font><a href="mailto:mailinglist@tikklik.nl" target="_blank"><u><font size="2" color="#0000FF">mailinglist@tikklik.nl</font></u></a><font size="2">>, "xymon >> </font><a href="mailto:xymon@xymon.com" target="_blank"><u><font size="2" color="#0000FF">xymon@xymon.com</font></u></a><font size="2">" <</font><a href="mailto:xymon@xymon.com" target="_blank"><u><font size="2" color="#0000FF">xymon@xymon.com</font></u></a><font size="2">></font><font size="2" color="#5F5F5F"><br>Date: </font><font size="2">10/12/2018 04:49 PM</font><font size="2" color="#5F5F5F"><br>Subject: </font><font size="2">Re: [Xymon] xymon not warning</font><br><hr width="100%" size="2" align="left" noshade><br><br><br>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:<br><br>DISK /archive/courses 52428800U 10485760U<br><br>(IIRC, those are in KB...check the man page) to turn yellow when 50 GB remains and red when 10 GB left on device.<br><br>=G=<br><br>On Fri, Oct 12, 2018 at 10:40 AM Norbert Kriegenburg <<a href="mailto:norbert.kriegenburg@de.ibm.com" target="_blank"><u><font color="#0000FF">norbert.kriegenburg@de.ibm.com</font></u></a>> wrote: 
<ul><ul><font size="2">Ah yes,<br><br>i also recently stumbled over this. Took me some time to find out what is the root cause (as always this mailing list helped).<br>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).<br>(Btw: the inode alerting is not affected by the "h" switch).<br><br>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...<br><br>Norbert</font><br><br><font size="2" color="#424282"><br>"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</font><font size="2" color="#5F5F5F"><br><br>From: </font><font size="2">"Steffan" <</font><a href="mailto:mailinglist@tikklik.nl" target="_blank"><u><font size="2" color="#0000FF">mailinglist@tikklik.nl</font></u></a><font size="2">></font><font size="2" color="#5F5F5F"><br>To: </font><font size="2"><</font><a href="mailto:xymon@xymon.com" target="_blank"><u><font size="2" color="#0000FF">xymon@xymon.com</font></u></a><font size="2">></font><font size="2" color="#5F5F5F"><br>Date: </font><font size="2">10/12/2018 04:07 PM</font><font size="2" color="#5F5F5F"><br>Subject: </font><font size="2">Re: [Xymon] xymon not warning</font><font size="2" color="#5F5F5F"><br>Sent by: </font><font size="2">"Xymon" <</font><a href="mailto:xymon-bounces@xymon.com" target="_blank"><u><font size="2" color="#0000FF">xymon-bounces@xymon.com</font></u></a><font size="2">></font><br><hr width="100%" size="2" align="left" noshade><br><br><br>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.<br><br>Thanx<br><b><br><br>Van:</b> Becker Christian <<a href="mailto:christian.becker@rhein-zeitung.net" target="_blank"><u><font color="#0000FF">christian.becker@rhein-zeitung.net</font></u></a>> <b><br>Verzonden:</b> vrijdag 12 oktober 2018 15:40<b><br>Aan:</b> Steffan <<a href="mailto:mailinglist@tikklik.nl" target="_blank"><u><font color="#0000FF">mailinglist@tikklik.nl</font></u></a>>; <a href="mailto:xymon@xymon.com" target="_blank"><u><font color="#0000FF">xymon@xymon.com</font></u></a><b><br>Onderwerp:</b> AW: [Xymon] xymon not warning<br><br>Hello,<br><br>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?<br><br>On “my” systems the sizes are reported in bytes, not in megabytes, gigabytes, terabytes or whatever:<br><br><br><br>Just a thought…<br><br>Regards<br>Christian<br><b><br><br>Von:</b> Xymon <<a href="mailto:xymon-bounces@xymon.com" target="_blank"><u><font color="#0000FF">xymon-bounces@xymon.com</font></u></a>> <b>Im Auftrag von </b>Steffan<b><br>Gesendet:</b> Freitag, 12. Oktober 2018 15:23<b><br>An:</b> <a href="mailto:xymon@xymon.com" target="_blank"><u><font color="#0000FF">xymon@xymon.com</font></u></a><b><br>Betreff:</b> Re: [Xymon] xymon not warning<br><br>It is always green<br>Even if one is 100%<br>Analysis settings are:<br>DISK * 80 97 #YELLOW LOW FOR TESTING<font size="2" color="#D8D8BF"><br><br>91% /mnt/node2</font><b><font size="4" color="#D8D8BF"><br><br>Fri Oct 12 15:21:26 CEST 2018 - Filesystems ok</font></b><b><br><br>Van:</b> SebA <<a href="mailto:spah@syntec.co.uk" target="_blank"><u><font color="#0000FF">spah@syntec.co.uk</font></u></a>> <b><br>Verzonden:</b> vrijdag 12 oktober 2018 13:48<b><br>Aan:</b> Steffan <<a href="mailto:mailinglist@tikklik.nl" target="_blank"><u><font color="#0000FF">mailinglist@tikklik.nl</font></u></a>><b><br>CC:</b> Xymon Mailing List <<a href="mailto:xymon@xymon.com" target="_blank"><u><font color="#0000FF">xymon@xymon.com</font></u></a>><b><br>Onderwerp:</b> Re: [Xymon] xymon not warning<br><br>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.<font size="2" face="Arial"><br><br>Kind regards,<br><br>SebA</font><br><br>On 12 October 2018 at 10:35, Steffan <<a href="mailto:mailinglist@tikklik.nl" target="_blank"><u><font color="#0000FF">mailinglist@tikklik.nl</font></u></a>> wrote:<br>I dont see anything ignored in analysis.cfg<b><br><br>Van:</b> Neil Simmonds <<a href="mailto:neilsimmonds1808@gmail.com" target="_blank"><u><font color="#0000FF">neilsimmonds1808@gmail.com</font></u></a>> <b><br>Verzonden:</b> vrijdag 12 oktober 2018 11:27<b><br>Aan:</b> 'Steffan' <<a href="mailto:mailinglist@tikklik.nl" target="_blank"><u><font color="#0000FF">mailinglist@tikklik.nl</font></u></a>>; <a href="mailto:xymon@xymon.com" target="_blank"><u><font color="#0000FF">xymon@xymon.com</font></u></a><b><br>Onderwerp:</b> RE: [Xymon] xymon not warning<font size="2" color="#0000FF" face="Arial"><br><br>Isn’t /mnt ignored in analysis.cfg?</font><b><br><br>From:</b> Xymon <<a href="mailto:xymon-bounces@xymon.com" target="_blank"><u><font color="#0000FF">xymon-bounces@xymon.com</font></u></a>> <b>On Behalf Of </b>Steffan<b><br>Sent:</b> 12 October 2018 10:12<b><br>To:</b> <a href="mailto:xymon@xymon.com" target="_blank"><u><font color="#0000FF">xymon@xymon.com</font></u></a><b><br>Subject:</b> [Xymon] xymon not warning<br><br>Hello list,<br><br>Xymon is sending warnings from other servers but it does not warn if /mnt is getting filled<br>(yellow level is 90%)<br><br>Eny idees why this is ignored?<br><b><font size="4" color="#D8D8BF"><br><br>Fri Oct 12 11:06:27 CEST 2018 - Filesystems ok</font></b><font size="2" color="#D8D8BF"><br>Filesystem Size Used Avail Use% Mounted on<br>udev 12G 0 12G 0% /dev<br>tmpfs 2.4G 266M 2.1G 12% /run<br>/dev/mapper/pve-root 94G 3.5G 86G 4% /<br>tmpfs 12G 19M 12G 1% /dev/shm<br>tmpfs 5.0M 0 5.0M 0% /run/lock<br>tmpfs 12G 0 12G 0% /sys/fs/cgroup<br>/dev/sdb1 1.8T 1.5T 273G 85% /mnt/node1<br>/dev/sdd1 1.8T 1.5T 257G 86% /mnt/node3<br>/dev/sdc1 3.6T 3.1T 343G 91% /mnt/node2<br>tmpfs 2.4G 0 2.4G 0% /run/user/0</font><br><br><br>Steffan<br><br>_______________________________________________<br>Xymon mailing list<u><font color="#0000FF"><br></font></u><a href="mailto:Xymon@xymon.com" target="_blank"><u><font color="#0000FF">Xymon@xymon.com</font></u></a><u><font color="#0000FF"><br></font></u><a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank"><u><font color="#0000FF">http://lists.xymon.com/mailman/listinfo/xymon</font></u></a><tt><font size="2"><br>_______________________________________________<br>Xymon mailing list</font></tt><u><font color="#0000FF"><br></font></u><a href="mailto:Xymon@xymon.com" target="_blank"><tt><u><font size="2" color="#0000FF">Xymon@xymon.com</font></u></tt></a><u><font color="#0000FF"><br></font></u><a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank"><tt><u><font size="2" color="#0000FF">http://lists.xymon.com/mailman/listinfo/xymon</font></u></tt></a><br><br><br><br>_______________________________________________<br>Xymon mailing list<u><font color="#0000FF"><br></font></u><a href="mailto:Xymon@xymon.com" target="_blank"><u><font color="#0000FF">Xymon@xymon.com</font></u></a><u><font color="#0000FF"><br></font></u><a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank"><u><font color="#0000FF">http://lists.xymon.com/mailman/listinfo/xymon</font></u></a><u><font color="#0000FF">[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] </font></u><br></ul></ul><br>_______________________________________________<br>Xymon mailing list<u><font color="#0000FF"><br></font></u><a href="mailto:Xymon@xymon.com" target="_blank"><u><font color="#0000FF">Xymon@xymon.com</font></u></a><u><font color="#0000FF"><br></font></u><a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank"><u><font color="#0000FF">http://lists.xymon.com/mailman/listinfo/xymon</font></u></a><u><font color="#0000FF">[attachment "graycol.gif" deleted by Norbert Kriegenburg/Germany/IBM] [attachment "graycol.gif" deleted by Norbert Kriegenburg/Germany/IBM] </font></u><br><br></ul><BR>
</body></html>