Service monitor uninstalled, then back up

SYSTEM INFORMATION
OS type and version Debian Linux 12
Webmin version 2.651
Theme version 26.50.2
Package updates All installed packages are up to date

Every while and then I get email notifications similar to this one:
image

In this case, the monitor is for a remote SSH server, and the message subject reads like:
Service Monitor : {service_name} uninstalled on {fq hostname}
and 5 min later: Service Monitor : {service_name} back up on {fq hostname}

This appears to happen at random times on different servers and different monitors monitor local or remote services, and the logs don’t show anything interesting at that time.

This is similar to this post by @rexdog1:

And this is not a new observation; it’s been happening for years, but I just ignored it. This time curiosity won, and I’m posting here.

Any idea why would webmin sense that the service got “uninstalled”? Why not “the monitor timed-out”, for example, or just the regular “the service went down” (like when the monitored server is loaded and slow or disconnected).

Hello,

Thanks for the heads-up! The bug is confirmed and fixed here for the Webmin 2.652 release:

You can apply the patch and give it a try to see if this fixes your issue as expected:

webmin patch https://github.com/webmin/webmin/commit/eb40e65

Thank you for the quick fix. I understand now that it was probably a DNS hiccup that was causing those warnings.
Much appreciated.