[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-16 Thread Miriam España Acebal
** Tags removed: server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title: Incorrectly excludes tmpfs filesystems To manage notifications about this bug go to: https://bugs.launchpad

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-16 Thread Launchpad Bug Tracker
This bug was fixed in the package monitoring-plugins - 2.2-6ubuntu1.2 --- monitoring-plugins (2.2-6ubuntu1.2) focal; urgency=medium * d/p/exclude-tmpfs-squashfs-tracefs.patch: Adding synthetic filesystems for exclusion only if they have not been included and no mount point h

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-16 Thread Launchpad Bug Tracker
This bug was fixed in the package monitoring-plugins - 2.3.1-1ubuntu2.1 --- monitoring-plugins (2.3.1-1ubuntu2.1) impish; urgency=medium * d/p/exclude-tmpfs-squashfs-tracefs.patch: Adding synthetic filesystems for exclusion only if they have not been included and no mount point

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-10 Thread Miriam España Acebal
Installing... Setting up monitoring-plugins (2.3.1-1ubuntu2.1) ... Checking the #DISK UNKNOWN cases ... all OK: root@checkdisks-impish:~# /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /reproduce-tmpfs DISK OK - free space: /reproduce-tmpfs 2048 MB (100% inode=99%);| /reproduce-tmpfs=0MB;1

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-09 Thread Richard Laager
** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title: Incorrectly excludes tmpfs filesystems To manage notif

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-08 Thread Brian Murray
Hello Jonathan, or anyone else affected, Accepted monitoring-plugins into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/monitoring- plugins/2.3.1-1ubuntu2.1 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-03 Thread Launchpad Bug Tracker
This bug was fixed in the package monitoring-plugins - 2.3.1-1ubuntu4 --- monitoring-plugins (2.3.1-1ubuntu4) jammy; urgency=medium * d/p/exclude-tmpfs-squashfs-tracefs.patch: Adding synthetic filesystems for exclusion only if they have not been included and no mount point h

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-02 Thread Miriam España Acebal
Hi Brian, sorry, changes for Jammy are now under review in its corresponding MP. I also submitted the change for Impish as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title: Incorre

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-02 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~mirespace/ubuntu/+source/monitoring-plugins/+git/monitoring-plugins/+merge/414956 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title:

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-02 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~mirespace/ubuntu/+source/monitoring-plugins/+git/monitoring-plugins/+merge/414954 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title:

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-02 Thread Miriam España Acebal
** Also affects: monitoring-plugins (Ubuntu Jammy) Importance: Medium Assignee: Miriam España Acebal (mirespace) Status: In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-02 Thread Miriam España Acebal
** Also affects: monitoring-plugins (Ubuntu Impish) Importance: Undecided Status: New ** Changed in: monitoring-plugins (Ubuntu Impish) Assignee: (unassigned) => Miriam España Acebal (mirespace) ** Changed in: monitoring-plugins (Ubuntu Impish) Importance: Undecided => Medium *

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-02 Thread Miriam España Acebal
** Changed in: monitoring-plugins (Ubuntu Focal) Assignee: (unassigned) => Miriam España Acebal (mirespace) ** Changed in: monitoring-plugins (Ubuntu Focal) Status: Incomplete => In Progress ** Changed in: monitoring-plugins (Ubuntu Focal) Importance: Undecided => Medium -- You r

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-01 Thread Brian Murray
Reading the bug report this change doesn't seem to have landed in Jammy which is a prerequisite to SRU'ing the fix to Focal. What is the plan for getting this change into Jammy? ** Also affects: monitoring-plugins (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: monitorin

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-02-01 Thread Miriam España Acebal
** Description changed: [SRU] [Impact] False positive reports are generated in monitoring tools when artificial file systems are mounted, as they show 100% disk utilisation, and therefore add an unnecessary (but fatal sounding) "CRITICAL DISK" noise. But, if we exclude them by de

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-01-31 Thread Bryce Harrington
** Also affects: percona-monitoring-plugins Importance: Undecided Status: New ** No longer affects: percona-monitoring-plugins -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title:

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-01-28 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~mirespace/ubuntu/+source/monitoring-plugins/+git/monitoring-plugins/+merge/414725 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title:

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-01-28 Thread Miriam España Acebal
** Description changed: + [Impact] + + False positive reports are generated in monitoring tools when artificial + file systems are mounted, as they show 100% disk utilisation, and + therefore add an unnecessary (but fatal sounding) "CRITICAL DISK" noise. + But, if we exclude them by default as we

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-01-27 Thread Miriam España Acebal
Combining 1) and 2) from #7 the results are ok for both bugs (I'm preparing already the MP): root@nagios-focal-miriam:~# /usr/lib/nagios/plugins/check_disk -w 10 -c 10 DISK OK - free space: / 6971 MB (85% inode=99%); /dev/fuse 32071 MB (100% inode=99%); /dev/net/tun 32071 MB (100% inode=99%); /d

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-01-25 Thread Miriam España Acebal
Hi Utkarsh, sure :). Thanks Richard also for the approach, which is like 1) in comment #7... so it looks like it's going in a good direction -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Titl

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2022-01-25 Thread Utkarsh Gupta
Hi Miriam, A duplicate of this has been reported via LP: #1958481. Could you please also check that and make sure that it indeed is a dupe and will be fixed with whatever route you take. :) TIA. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-12-15 Thread Miriam España Acebal
Here we have to make a solution that satisfies bug 1827159 and this one (bug 1940916): 1) Non exclude the squash, trace and tmp filesystems if the -p option is provided. Exclude them otherwise. 2) if the -N option is present (the include option), no exclude the selected fs for inclusion (as excl

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-12-01 Thread Miriam España Acebal
Debugging a little between behaviour ok/non-ok: it seems it goes through "calling stat" (stat_path function in check_disk.c) at least twice when the result (STATE) is OK: * without the fix for bug 1827159 (good case): root@nagios-focal-miriam:~# /usr/lib/nagios/plugins/check_disk -w 10% -c

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-12-01 Thread Miriam España Acebal
An interesting thing, if we check using percentage, we see DISK OK: root@nagios-focal:~# /usr/lib/nagios/plugins/check_disk -w 10 -c 10 DISK CRITICAL - free space: / 5122 MB (82% inode=99%); /dev 0 MB (99% inode=99%); /dev/fuse 32073 MB (100% inode=99%); /dev/net/tun 32073 MB (100% inode=99%); /

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-12-01 Thread Miriam España Acebal
Oh, reverting the fix only for tmpfs introduces again the "DISK CRITICAL" noise... Looking into the workaround to understand why there it works OK. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-12-01 Thread Miriam España Acebal
Hi all, I have checked that the fix for LP #1827159 introduces the problem (as kindly said by the reporter) because removing the line corresponding to tmpfs in the fix restores the desired behaviour: root@nagios-focal:~# df -h | grep reproduce tmpfs2.0G 0 2.0G 0

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-11-30 Thread Miriam España Acebal
** Changed in: monitoring-plugins (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title: Incorrectly excludes tmpfs filesystems To manage notifi

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-11-24 Thread Christian Ehrhardt 
** Changed in: monitoring-plugins (Ubuntu) Assignee: (unassigned) => Miriam España Acebal (mirespace) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title: Incorrectly excludes tmpfs fil

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-10-20 Thread Bryce Harrington
** Tags added: server-todo ** Changed in: monitoring-plugins (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916 Title: Incorrectly excludes tmpfs file

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-08-25 Thread Athos Ribeiro
Thanks for reporting this issue. I could reproduce the issue in fresh lxc containers in focal and in impish, although it is indeed not present in bionic: apt update apt install -y monitoring-plugins mkdir /reproduce mount -t tmpfs -o rw,size=2G tmpfs /reproduce /usr/lib/nagios/plugins/check_disk

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-08-24 Thread Jonathan Wiltshire
** Description changed: $ lsb_release -d Description: Ubuntu 20.04.3 LTS $ apt-cache policy monitoring-plugins | head -n2 monitoring-plugins: - Installed: 2.2-6ubuntu1.1 +   Installed: 2.2-6ubuntu1.1 - check_disk returns UNKNOWN for tmpfs filesystems, even when directed to + check

[Bug 1940916] Re: Incorrectly excludes tmpfs filesystems

2021-08-24 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: monitoring-plugins (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940916