Bogus Dovecot upgraded libs warnings
list Jaap Winius
Hi folks, Recently I upgraded a Dovecot IMAP host and now Xymon regularly warns about linked libs that have been upgraded for many of the "dovecot/imap" processes. When the users log out and the processes disappear, the warning disappears as well. Obviously, these warning are bogus. Would anyone happen to know what to add to /etc/xymon/libs.local.yaml, presumably, to prevent this warning from occurring? Old host: * Debian 10 (buster) * Dovecot 2.3.4.1 * Xymon client: 4.3.28 New host: * Debian 11 (bullseye) * Dovecot 2.3.13 * Xymon client: 4.3.30 Xymon host (in both cases): * Debian 11 (bullseye) * Xymon server: 4.3.30 Cheers, Jaap
list Christoph Zechner
Hi, On 02/06/2022 18:32, Jaap Winius via Xymon wrote:
Bogus Dovecot upgraded libs warnings.eml Subject: Bogus Dovecot upgraded libs warnings From: Jaap Winius <user-16708c3648e1@xymon.invalid> Date: 02/06/2022, 18:32 To:
▸
Hi folks,
Recently I upgraded a Dovecot IMAP host and now Xymon regularly warns about linked libs that have been upgraded for many of the "dovecot/imap" processes. When the users log out and the processes disappear, the warning disappears as well. Obviously, these warning are bogus. Would anyone happen to know what to add to /etc/xymon/libs.local.yaml, presumably, to prevent this warning from occurring?
Old host:
? * Debian 10 (buster)
? * Dovecot 2.3.4.1
? * Xymon client: 4.3.28
New host:
? * Debian 11 (bullseye)
? * Dovecot 2.3.13
? * Xymon client: 4.3.30
Xymon host (in both cases):
? * Debian 11 (bullseye)
? * Xymon server: 4.3.30
Cheers,I think we had the same problems (also Debian) and I guess, this line in our libs.yaml stems from there: - 'dovecot(\.index|-uidlist|\.list\.index)' I just compared it to our other servers and this line seems to be unique in our xymon hosts, so I'm pretty sure it was added to fix this problem. Cheers Christoph
Jaap
list Adam Thorn
▸
On 02/06/2022 17:32, Jaap Winius via Xymon wrote:
Hi folks, Recently I upgraded a Dovecot IMAP host and now Xymon regularly warns about linked libs that have been upgraded for many of the "dovecot/imap" processes. When the users log out and the processes disappear, the warning disappears as well. Obviously, these warning are bogus. Would anyone happen to know what to add to /etc/xymon/libs.local.yaml, presumably, to prevent this warning from occurring?
The libs report includes the process ID(s) of the relevant processes in brackets. The libs test pretty much just runs the lsof command and looks for files which are either 'deleted' or 'DEL', so you can do this check for yourself for a particular pid..
lsof -p 12345 | | awk '$4 ~ "DEL|deleted" {print $NF}
..will print a list of filenames you might want to add libs.local.yml
Adam
list Jaap Winius
Hi Christoph,
Your solution works! I added /etc/xymon/libs.local.yaml to the client configuration with the following content:
# local config file for the libs test
---
whitelist:
*:
- 'dovecot(\.index|-uidlist|\.list\.index)'
This is different from the existing line in /etc/xymon/libs.yaml:
- 'dovecot(\.index|-uidlist)'
Thank you very much. My Xymon page is green again!
Cheers,
Jaap
Quoting Christoph Zechner <user-249716582ccc@xymon.invalid>:
▸
... I think we had the same problems (also Debian) and I guess, this line in our libs.yaml stems from there: - 'dovecot(\.index|-uidlist|\.list\.index)' I just compared it to our other servers and this line seems to be unique in our xymon hosts, so I'm pretty sure it was added to fix this problem. ...
list Jaap Winius
Hi folks, Christoph was recently so kind as to describe for me the solution below. However, the question I'd like to ask now is, how does one go about figuring out that kind of solution? Thanks, Jaap Quoting Jaap Winius via Xymon <xymon at xymon.com>:
▸
Hi Christoph, Your solution works! I added /etc/xymon/libs.local.yaml to the client configuration with the following content: # local config file for the libs test --- whitelist: *: - 'dovecot(\.index|-uidlist|\.list\.index)' This is different from the existing line in /etc/xymon/libs.yaml: - 'dovecot(\.index|-uidlist)' Thank you very much. My Xymon page is green again! Cheers, Jaap Quoting Christoph Zechner <user-249716582ccc@xymon.invalid>:... I think we had the same problems (also Debian) and I guess, this line in our libs.yaml stems from there: - 'dovecot(\.index|-uidlist|\.list\.index)' I just compared it to our other servers and this line seems to be unique in our xymon hosts, so I'm pretty sure it was added to fix this problem. ...