Bug #3000

collectd ping reload after wan change

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
Security class: Resolution:
Affected version:v6.5-final NEEDINFO:No

Description

When multi wan setup is changed, collectd needs to be told that it's configuration has changed.
Symptoms: ping graphs do not contain data about wans.
Workaround: service collectd reload

Note: I'm not sure if the fix could go into firewall or collectd.

Associated revisions

Revision 372282b6
Added by Giacomo Sanchietti over 6 years ago

createlinks: restart collectd on firewall event. Refs #3000

Revision d45de011
Added by Giacomo Sanchietti over 6 years ago

nethserver-firewall-base-save: expand all templates. Refs #3000

History

#1 Updated by Giacomo Sanchietti over 6 years ago

  • Target version changed from v6.5 to v6.6-rc1

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to TRIAGED
  • Target version changed from v6.6-rc1 to v6.6
  • % Done changed from 0 to 20

#3 Updated by Giacomo Sanchietti over 6 years ago

  • Category changed from nethserver-firewall-base to nethserver-collectd

#4 Updated by Filippo Carletti over 6 years ago

The checkip prop goes into /etc/hosts. We need to expand /etc/hosts after a multi-wan update.

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30
  • Affected version set to v6.5-final

#6 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-collectd-1.1.0-1.4.g372282b.ns6.noarch.rpm
  • nethserver-collectd-1.1.0-1.5.gd45de01.ns6.noarch.rpm
Test case
  • Check the bug is not reproducible

#8 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_QA to TRIAGED
  • % Done changed from 70 to 20

Expansion of /etc/collectd.d/ping.conf is missing.

#9 Updated by Filippo Carletti over 6 years ago

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

#10 Updated by Filippo Carletti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

#11 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90
[root@ns65 ~]# ls -l /etc/hosts 
-rw-r--r--. 1 root root 722 Mar 17 17:53 /etc/hosts
[root@ns65 ~]# ls -l /etc/collectd.d/ping.conf 
-rw-r--r--. 1 root root 481 Mar 17 17:53 /etc/collectd.d/ping.conf

Mar 17 17:53:42 ns65 esmith::event[11935]: [INFO] collectd restart

The content of the files is correct.

#12 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