We’ve faced a problem with recreating port-id rrd’s.
Without knowing about rrd purge we’ve made a mistake by manually deleting port-id*.rrd from rrdcached db for couple devices (we have separate box for rrdcached if that really matters).
Right after that port purge was done via web GUI, also rediscovery and polling were initiated with
./discovery.php -h HOSTNAME -d | ./pbin.sh
./poller.php -h HOSTNAME -f -d | ./pbin.sh
but we are still unable to get port graphs working for these particular devices:
Worth mentioning that even after rrd’s are recreated and appeared on rrdcached box, deleted ports still remain there (regardless of we purged them from here):
Component Version LibreNMS 1.70.1 DB Schema 2020_11_02_164331_add_powerstate_enum_to_vminfo (196) PHP 7.4.13 Python 3.6.9 MySQL 5.7.29-32-log RRDTool 1.7.0 SNMP NET-SNMP 5.7.3 OpenSSL
[OK] Composer Version: 2.0.8
[OK] Dependencies up-to-date.
[OK] Database connection successful
[WARN] Your database schema has extra migrations (2019_03_12_162719_create_jobs_table). If you just switched to the stable release from the daily release, your database is in between releases and this will be resolved with the next release.
[OK] Database schema correct
[INFO] Detected Python Wrapper
[OK] Connection to memcached is ok
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] Your install is over 24 hours out of date, last update: Wed, 02 Dec 2020 14:39:06 +0000
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git branch is not master, this will prevent automatic updates.
You can switch back to master with git checkout master
[WARN] Your local git contains modified files, this could prevent automatic updates.
You can fix this with ./scripts/github-remove
Will appreciate any help.
Thanks in advance!