[Bug] Adding system to maintenance window messes with start/end time

$ ./validate.php

Component Version
LibreNMS 1.64.1-377-g5cf5627ff
DB Schema 2020_06_23_00522_alter_availability_perc_column (170)
PHP 7.2.24-0ubuntu0.18.04.6
Python 3.6.9
MySQL 5.7.30-0ubuntu0.18.04.1
RRDTool 1.7.0


[OK] Composer Version: 1.10.8
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

I don’t know when this issue came up, but it is recent, like within the last month or so.

When I do patching windows for my servers, I schedule a maintenance window. And as I would work through systems I would add them to the list of systems in the maintenance window. Naturally, when the system reboots, I don’t get alerts. That has worked for me for years now.

Today, when I’m doing a patching cycle, every time I add new systems to the maintenance window, it completely overwrites the start and stop times into seemingly random dates and times. Sometimes it’s the same day, sometimes it’s tomorrow, sometimes it changes the maintenance window to just one minute wide.

Either way, this is a rather problematic regression here, and I’d love to get it resolved. I don’t see any issues with validate and clearly the system is updating, so I’m going to wag my finger at the code, somewhere.

1 Like