I’ve been having issues on and off with recurring maintenance for a while and everything was working fine until the latest update to 1.65.1. Currently I have a couple of recurring maintenance schedules set and it seems like once the maintenance schedule starts it does not ever end. Here is a screenshot of my current maintenance schedules
Here is what they look like in mysql:
MariaDB [librenms]> select * from alert_schedule;
±------------±----------±--------------------±--------------------±--------------±-------------±------+
| schedule_id | recurring | start | end | recurring_day | title | notes |
±------------±----------±--------------------±--------------------±--------------±-------------±------+
| 26 | 0 | 2020-06-25 09:14:00 | 2020-07-10 08:59:00 | NULL | Noisy things | |
| 35 | 1 | 2020-07-14 20:57:00 | 2021-01-01 04:59:00 | 1,2,3,4,5 | Weekly | |
| 36 | 1 | 2020-07-14 04:00:00 | 2020-12-31 12:05:00 | 1,2,3,4,5,6 | midnights | |
±------------±----------±--------------------±--------------------±--------------±-------------±------+
I notice the timestamps in the database appear to be UTC but I do not think this is the cause of the issue.
This is the one that is stuck right now
These are mapped to groups I have created and every device in the groups listed currently shows that they are in maintenance, I’ve also tested blocking device IPs in iptables on the server and librenms never creates an alert. I’ve triple checked that the Devices up/down alert rule is active and it is:
I noticed this yesterday and figured it was due to the update and deleted then recreated my recurring maintenance schedules which took them out of maintenance, however when checking this morning it appears the devices are still in maintenance despite no maintenance schedule being current. Is there anything I can do to fix this or any possible way to downgrade to the previous release so I can have the recurring maintenance working again?
====================================
Component | Version |
---|---|
LibreNMS | 1.65.1 |
DB Schema | 2020_06_23_00522_alter_availability_perc_column (170) |
PHP | 7.3.10 |
Python | 3.6.8 |
MySQL | 5.5.64-MariaDB |
RRDTool | 1.7.1 |
SNMP | NET-SNMP 5.7.2 |
==================================== |
[OK] Composer Version: 1.10.8
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.