I’m not sure if I have something setup incorrectly but when setting maintenance schedules they seem to use UTC instead of the timezone I have setup on my server. Oddly, all the graphs and everything else that has a date and time shows the date and time in my timezone, even alerts. It’s not a huge deal for me but can some times be confusing, and I had a coworker setup the wrong times while I was on vacation last week, and they changed all my current recurring times because they thought they were setup wrong.
My date and time on the server are correct and php is configured for my timezone as well.
[root@librenms]# php -i|grep -i timezone
"Olson" Timezone Database Version => 0.system
Timezone Database => internal
Default timezone => America/New_York
date.timezone => America/New_York => America/New_York
Mariadb appears to have the correct time:
MariaDB [(none)]> SELECT NOW()\G
*************************** 1. row ***************************
NOW(): 2020-06-17 09:23:03
1 row in set (0.00 sec)
MariaDB [(none)]> SELECT @@global.time_zone\G
*************************** 1. row ***************************
@@global.time_zone: SYSTEM
1 row in set (0.00 sec)
====================================
| Component | Version |
|---|---|
| LibreNMS | 1.64.1-156-g867aa13 |
| DB Schema | 2020_05_22_020303_alter_metric_column (168) |
| 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.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct