Hi Axel,
Unfortunately, I'm using the version provided for Debian stretch
(hobbit-plugins 20170219).
So let consider this is the main reason of my issue.
So this bug can be closed.
Indeed, I did whitelist /[aio] file, but I escaped the special characters ;)
Thank you for the reminder of using libs.local.yaml to avoid any loss
during an upgrade.
Regards,
Damien Martins
Le 07/11/2018 à 18:33, Axel Beckert a écrit :
Control: tag -1 + moreinfo
Hi Damien,
Damien Martins wrote:
Le 22/08/2018 à 10:59, Damien Martins a écrit :
I installed libs test from hobbit-plugins_20180711_all.deb on a
Debian 9.5. The issue is still pending.
A workaround is to whitelist /[aio] file in /etc/xymon/libs.yaml file
I don't understand two things:
a) version 20180610 shipped these two lines in /etc/xymon/libs.yaml:
/usr/sbin/mysqld:
- '^/\[aio\]$'
Please check that when you installed 20180610 or any newer version
that you actually replaced the /etc/xymon/libs.yaml file with the
maintainer version from the new package.
And please don't edit /etc/xymon/libs.yaml at all to avoid missing
fixes from package upgrades. Add local modifications instead to
/etc/xymon/libs.local.yaml as documented in the README and the
first two lines of /etc/xymon/libs.yaml.
b) Adding a whitelist entry named "/[aio]" (i.e. without the necessary
backslashes in front of the brackets) should _not_ work because it
is parsed as regular expression and would match _any_ file starting
with either "a", "i" or "o". Doing so might additionally cause a
lot of false negatives.
JFTR: The entry in a standard lsof output looks like this for mariadb
10.1:
mysqld 5719 mysql DEL REG 0,17 66741052 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741051 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741050 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741049 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741048 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741047 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741046 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741045 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741044 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741053 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741043 /[aio]
mysqld 5719 mysql DEL REG 0,17 66741042 /[aio]
Regards, Axel