luci/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins
John Kohl ad98af3a2b luci-app-statistics: Add backup/restore for RRD statistics
Add a backup/restore capability for rrd data storage in
luci_statistics.  The data storage is typically in /tmp and does not
survive reboot or sysupgrade.  This adds an option for the
administrator to configure the RRD plugin, so that the RRD data are
are preserved with a backup copy in the overlay file system.

This works for shutdown/reboot, sysupgrade (backup config files,
restore config files, and true sysupgrade).

Also fix a bug where starting luci_statistics for the first time would
not get a restart a running collectd: during install of the package
when it is not included in the base flashed image, collectd might be
started when it got installed/configured before this package gets
installed/configured.  So we need to check if it's running, and
restart it to use the luci_statistics configuration.

Signed-off-by: John Kohl <jtk.git@bostonpog.org>
2023-10-29 19:48:38 -04:00
..
apcups.js luci-app-statistics: treat APC UPS "host" setting as single value option 2021-04-27 10:17:05 +02:00
chrony.js luci-app-statistics: Add initial support for chrony 2020-12-22 17:54:18 +02:00
conntrack.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
contextswitch.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
cpu.js luci-app-statistics: CPU plugin: hide 'idle', tweak defaults 2020-11-08 09:29:03 +02:00
cpufreq.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
csv.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
curl.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
df.js luci-app-statistics: add missing ValuesPercentage option 2020-07-13 13:32:52 +02:00
dhcpleases.js luci-app-statistics: add dhcpleases 2020-12-12 18:29:54 +02:00
disk.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
dns.js luci-app-statistics: Adjust UI defaults to match config file 2020-12-13 11:23:09 +02:00
email.js luci-app-statistics: Adjust UI defaults to match config file 2020-12-13 11:23:09 +02:00
entropy.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
exec.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
interface.js luci-app-statistics: Adjust UI defaults to match config file 2020-12-13 11:23:09 +02:00
ipstatistics.js luci-app-statistics: Fix ipstatistics plugin (fix 6ae138c2) 2021-02-05 21:27:14 +02:00
iptables.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
irq.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
iwinfo.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
load.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
memory.js luci-app-statistics: memory: make hiding 'free' configurable 2023-10-09 23:16:36 +03:00
netlink.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
network.js luci-app-statistics: allow host name for data push 2020-12-16 15:55:39 +01:00
nut.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
olsrd.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
openvpn.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
ping.js luci-app-statistics: ping module, Update MaxMissed data type 2022-01-02 11:45:18 +02:00
processes.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
rrdtool.js luci-app-statistics: Add backup/restore for RRD statistics 2023-10-29 19:48:38 -04:00
sensors.js luci-app-statistics: missing sensor types added 2023-08-23 12:27:41 +02:00
snmp6.js luci-app-statistics: add snmp6 collector 2021-01-09 18:53:01 +02:00
splash_leases.js luci-app-statistics: splash_leases.js: fix typo in configSummary string 2020-04-08 09:05:13 +02:00
syslog.js luci-app-statistics: add syslog plugin 2020-04-21 18:36:56 +02:00
tcpconns.js luci-app-statistics: enhance tcpconns plugin 2023-05-31 18:11:49 +03:00
thermal.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00
unixsock.js luci-app-statistics: Adjust UI defaults to match config file 2020-12-13 11:23:09 +02:00
uptime.js treewide: import utility classes explicitly 2020-04-03 10:00:06 +02:00