Hello Jeremy,
setting expiration to 60 days for nodes and 30 for location log is a
good idea.
What you have to take care is what technology you are using for the
access (Port-Sec, mac-auth ...)
In the case of the port-securty, you have be sure that the expiration on
the location log is a little bit more than the maximum access duration
of a node.
Of course don´t forget to restart pfmon to use the new values you defined.
Other thing use database-backup-and-maintenance.sh for maintenance.
Regards
Fabrice
Le 2014-07-06 16:53, Jeremy Plumley a écrit :
Hello,
I have been trying to research on how to do maintenance on our
packetfence database. Wanted to delete out nodes from our database
that hasn't connected to the network in two months. I tried setting
the expiring dates of 60 days for nodes and 30 days for the location
log but nothing seems to be getting cleared out. At this moment I see
some people use a cron job to delete nodes based on the last dhcp date
which I will probably work on. However there is already a script in
addons for locationlog maintenance but it goes by end_date. What is
the end_date? All of my entries show NULL and the script only deletes
those that are 1 month old. Is this the deregistration date? Thanks.
Jeremy Plumley
ITS Network Technician
Guilford Technical Community College, www.GTCC.edu <http://www.gtcc.edu/>
601 High Point Road, Jamestown, NC 27282
Office -- 336.334.4822 ext 50428
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
[email protected] :: +1.514.447.4918 (x135) :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence
(http://packetfence.org)
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users