Project

General

Profile

Tâche #23905

Scénario #23898: eole-dhcp

vérifier que les associations mac / ip sont conservées pendant 1 an minimum

Added by Thierry Bertrand almost 3 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/08/2016
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

History

#1 Updated by Thierry Bertrand almost 3 years ago

  • Status changed from Nouveau to Fermé
  • Assigned To changed from Philippe Carre to Thierry Bertrand
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.0

Dans le dépot eole-dhcp, le fichier logrotate/eole-dhcp indique une rétention d'un an et une semaine :

/var/log/rsyslog/local/dhcpd/*.log {
   rotate 53
   weekly
   missingok
   compress
   postrotate
      service rsyslog rotate >/dev/null
   endscript
}

L'information @mac @ip se trouve sous /var/log/rsyslog/local/dhcp.info.log.
Extrait :

2018-05-13T07:25:59.719321+02:00 ssl-auth-doo1.monreseau.p2 dhcpd[2559]: DHCPREQUEST for 172.26.49.16 from c8:9c:dc:70:1d:8a via eno3
2018-05-13T07:25:59.719674+02:00 ssl-auth-doo1.monreseau.p2 dhcpd[2559]: DHCPACK on 172.26.49.16 to c8:9c:dc:70:1d:8a via eno3
2018-05-13T07:27:43.654000+02:00 ssl-auth-doo1.monreseau.p2 dhcpd[2559]: DHCPINFORM from 172.26.49.16 via eno3

Also available in: Atom PDF