[Xymon] /snap/core/* Filesystems NOT ok

Becker Christian christian.becker at rhein-zeitung.net
Mon Sep 4 15:00:24 CEST 2023


Hello there,

in our setup, for every single host that has these snap-things, we have:

HOST=hostname
            DISK    %^/snap/.+ IGNORE
            INODE   %^/snap/.+ IGNORE

And nothing with a wildcard.
Think i can remember that if you have an entry with a wildcard, and after that another entry with an explicit hostname, that last found explicit entry COULD override the one with the wildcard; but not really sure about that, but worth a try.

Regards
Christian


-----Ursprüngliche Nachricht-----
Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Torsten Richter
Gesendet: Montag, 4. September 2023 14:45
An: George Michalopoulos <metron6 at gmail.com>; xymon at xymon.com
Betreff: Re: [Xymon] /snap/core/* Filesystems NOT ok

WARNUNG: Diese E-Mail kam von außerhalb der Organisation. Klicken Sie nicht auf Links oder öffnen Sie keine Anhänge, es sei denn, Sie kennen den Absender und wissen, dass der Inhalt sicher ist.


Hi,

have you tried without the regex?
I have here

HOST=xyz
     DISK /mnt IGNORE
     INODE /mnt IGNORE

which is working.

Regards,
Torsten

On 04.09.2023 14:25, George Michalopoulos wrote:
> hello all,
> i have the known problem with /snap/*
> Mon Sep 4 14:33:50 EEST 2023 - Filesystems NOT ok
>
> [image: red] /snap/core/15511 (100% used) has reached the PANIC level
> (95%)[image: red] /snap/core20/1974 (100% used) has reached the PANIC
> level (95%)[image: red] /snap/certbot/3024 (100% used) has reached the
> PANIC level (95%)[image: red] /snap/certbot/2913 (100% used) has
> reached the PANIC level (95%)[image: red] /snap/core20/2015 (100%
> used) has reached the PANIC level (95%)[image: red] /snap/core/15925
> (100% used) has reached the PANIC level (95%)
>
> Filesystem     1024-blocks     Used Available Capacity Mounted on
> /dev/sda1         98497780 25367880  68080352      28% /
> tmpfs                 5120        4      5116       1% /run/lock
> /dev/loop1          121088   121088         0     100% /snap/core/15511
> /dev/loop0           65024    65024         0     100% /snap/core20/1974
> /dev/loop2           45440    45440         0     100% /snap/certbot/3024
> /dev/loop3           45696    45696         0     100% /snap/certbot/2913
> /dev/loop6           65024    65024         0     100% /snap/core20/2015
> /dev/loop4          108416   108416         0     100% /snap/core/15925
>
> I added this to my analysis.cfg no good...
>
> HOST=*
>      DISK %^/snap IGNORE
>      INODE %^/snap/.+ IGNORE
>
> this is my default analysis.cfg
>
>
> CLASS=linux
>          # Ignore some usually uninteresting tmpfs mounts.
>          DISK    /dev IGNORE
>          DISK    /snap IGNORE
>          DISK    /lib/init/rw IGNORE
>          DISK    /sys/fs/cgroup IGNORE
>          DISK    %^/run/user/\d+$ IGNORE
>          INODE   /dev IGNORE
>          INODE   /snap IGNORE
>          INODE   /lib/init/rw IGNORE
>          INODE   /sys/fs/cgroup IGNORE
>          INODE   %^/run/user/\d+$ IGNORE
>
>
> DEFAULT
>          # Ignore some usually uninteresting tmpfs mounts.
>          DISK    /dev IGNORE
>          DISK    /dev/shm IGNORE
>          DISK    /lib/init/rw IGNORE
>          DISK    /run IGNORE
>          # These are the built-in defaults. You should only modify these
>          # lines, not add new ones (no PROC, DISK, LOG ... lines).
>          UP      1h
>          LOAD    5.0 10.0
>          DISK    * 90 95
>          INODE   * 70 90
>          MEMPHYS 100 101
>          MEMSWAP 50 80
>          MEMACT  90 97
>
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists/
> .xymon.com%2Fmailman%2Flistinfo%2Fxymon&data=05%7C01%7Cchristian.becke
> r%40rhein-zeitung.net%7Ca7b60ebd3adc41cb757108dbad4567f3%7C4fed923898b
> c4f3b96450b99f4d1b669%7C0%7C0%7C638294285832667196%7CUnknown%7CTWFpbGZ
> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
> D%7C3000%7C%7C%7C&sdata=9QAhckVq9i7t671SX2s%2B%2BqKkNUoWmEv4NiQSkORwzm
> c%3D&reserved=0

--
+---------------------------------------------------------+
| E-mail  : bb4 [at] richter-it.net                       |
|                                                         |
| Homepage: https://www.unixadmin.de/                     |
+---------------------------------------------------------+
Download my public key from:
http://keys.gnupg.net/pks/lookup?search=0x899093AC&op=get


More information about the Xymon mailing list