hello Team
can any one help me to find out how can i restore my graph history.
i was updatin librenms server by adding an interface, suddenly i lost all graph since list year, t is only graphing graph from starting from time of change,
find the output on /opt/librenms/validate.php
/opt/librenms/validate.php
Component
Version
LibreNMS
1.38-7-gee2bb8e
DB Schema
247
PHP
7.0.15-0ubuntu0.16.04.2
MySQL
5.7.17-0ubuntu0.16.04.1
RRDTool
1.5.5
SNMP
NET-SNMP 5.7.3
====================================
[OK] Composer Version: 1.6.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your install is over 24 hours out of date, last update: Wed, 04 Apr 2018 08:00:23 +0000
[FIX] 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 contains modified files, this could prevent automatic updates.
[FIX] You can fix this with ./scripts/github-remove
Modified Files:
scripts/removespikes.pl
Thanks
Not sure what you mean by adding an interface but if you mean a new network port to the actual LibreNMS server then this is unrelated to that I’m sure.
However you can’t get data back, we only store it in rrd so if those files have gone or been changed then that’s it.
Do you actually mean ALL graphs though or just port graphs for one device?
Most likely the ifindex has changed. You will find the old ports in the rrd/$hostname/port-id*.rrd. Most likely if you rename the old named one (shown with an older modified date/time) over the new one it will show up.
Also look in the docs for port association mode, you will need to set it to ifName.
hi Iaf,
i read somewhere you mentioned when deleting a device, graphs are not deleted completely, can you help me to recover if possible the graph from January,
looking under /opt/librenms/rrd/device, it appear only graph of April
Dear laf,
Basically, we lost all the graphs after adding a network interface card. We can only see the graphs after that upgrade. Is there a way to recover old graphs? Where does LibreNMS store all old graphs? how do we do a copy/backup of all those graphs for future reference.