Enhancement #3072

Add collectd to backup-data

Added by Filippo Carletti over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-collectd
Target version:v6.6
Resolution: NEEDINFO:No

Description

We could save all historical collectd data in the data backup, so that it if restored on a new system the user could display old graphs.


Related issues

Copied from NethServer 6 - Enhancement #3001: Add lightsquid to backup-data CLOSED

Associated revisions

Revision 01502416
Added by Filippo Carletti over 6 years ago

backup-data: add collectd data. Refs #3072

History

#1 Updated by Filippo Carletti over 6 years ago

#2 Updated by Filippo Carletti over 6 years ago

  • Category set to nethserver-collectd
  • Status changed from NEW to TRIAGED
  • Assignee set to Filippo Carletti
  • Target version set to v6.6
  • % Done changed from 0 to 20

#3 Updated by Filippo Carletti over 6 years ago

  • Status changed from TRIAGED to MODIFIED
  • % Done changed from 20 to 60

#4 Updated by Filippo Carletti over 6 years ago

Test case: update nethserver-collectd and run a backup. The backup should contain /var/lib/collectd/.

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Filippo Carletti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-collectd-1.1.0-1.3.g4951add.ns6.noarch.rpm

#6 Updated by Giacomo Sanchietti over 6 years ago

  • Assignee set to Giacomo Sanchietti

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Collected data are saved inside the backup:

root@localhost2 ~]# backup-data-list  | grep collectd
Wed Mar 11 12:27:39 2015 var/lib/collectd
Wed Mar 11 11:01:12 2015 var/lib/collectd/localhost
Tue Mar 10 03:33:13 2015 var/lib/collectd/localhost/cpu-0
Wed Mar 11 12:27:38 2015 var/lib/collectd/localhost/cpu-0/cpu-idle.rrd
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/cpu-0/cpu-interrupt.rrd
Wed Mar 11 12:27:38 2015 var/lib/collectd/localhost/cpu-0/cpu-nice.rrd
Wed Mar 11 12:27:38 2015 var/lib/collectd/localhost/cpu-0/cpu-softirq.rrd
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/cpu-0/cpu-steal.rrd
Wed Mar 11 12:27:38 2015 var/lib/collectd/localhost/cpu-0/cpu-system.rrd
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/cpu-0/cpu-user.rrd
Wed Mar 11 12:27:38 2015 var/lib/collectd/localhost/cpu-0/cpu-wait.rrd
Tue Mar 10 03:33:13 2015 var/lib/collectd/localhost/df
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/df/df-boot.rrd
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/df/df-dev-shm.rrd
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/df/df-root.rrd
Wed Mar 11 11:01:12 2015 var/lib/collectd/localhost/disk-sda
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/disk-sda/disk_octets.rrd
Tue Mar 10 03:33:13 2015 var/lib/collectd/localhost/interface
Wed Mar 11 12:27:38 2015 var/lib/collectd/localhost/interface/if_octets-eth0.rrd
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/interface/if_octets-eth1.rrd
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/interface/if_octets-eth2.rrd
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/interface/if_octets-eth3.rrd
Tue Mar 10 03:33:13 2015 var/lib/collectd/localhost/load
Wed Mar 11 12:27:39 2015 var/lib/collectd/localhost/load/load.rrd
...

#8 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-base:
  • nethserver-collectd-1.2.0-1.ns6.noarch.rpm

Also available in: Atom PDF