Based on the email I received from LibreNMS with regards to upcoming version upgrade, I recently went ahead and upgraded php and python as required but since then, I have been getting tons of false alerts (device down, device rebooted, etc.) from all over the device list, which cover different geographic areas where none of the devices (different types: server, switches, etc.) that I received alerts for had any issues related to the alert or otherwise.
validate shows no errors, completely clean.
php --version brings
PHP 7.3.17-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Apr 19 2020 07:44:26) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.3.17, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.3.17-1+ubuntu18.04.1+deb.sury.org+1, Copyright © 1999-2018, by Zend Technologies
python -V brings Python 2.7.17
Any ideas how to address this issue?
You should upgrade python2 to python3.
./validate.php your install
Thank you for the recommendation and I have upgraded python2 to python3 but that still didn’t change anything. I am still getting false alerts, like disc space low, mem utilization high, device down, rebooted, etc. none of which are correct. It is as if it is pulling alerts from ages ago and keep showing them over and over again. Extremely bizarre situation which started with the php and python upgrades.
I have ran validate, there was only a timezone error for the php.ini wich I corrected and re-ran validatin
[FAIL] Time between this server and the mysql database is off
Mysql time 2020-05-15 06:26:31
PHP time 2020-05-15 13:26:31
[OK] Composer Version: 1.10.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
and still getting false alerts