That is indeed the preferred way to do it.
You can’t delete nodes from the GUI if they have entries in the locationlog
table.
Doing so would break PF for some people, notably those that use port security.
So if you really want to do it, delete them from the mysql client:
mysql> delete from node where something something;
--
Louis Munro
[email protected] :: www.inverse.ca
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
On Jul 8, 2015, at 11:55 , Boris Epstein <[email protected]> wrote:
> Scott,
>
> I should probably let those more knowledgeable than me speak to this but
> AFAIK the only way to do that is by running direct SQL against the DB.
>
> Cheers,
>
> Boris.
>
>
> On Wed, Jul 8, 2015 at 9:27 AM, Scott Slagle <[email protected]> wrote:
> Good Morning,
>
>
>
> I have several nodes that aren’t registered in the Nodes list – can I delete
> them all from the database easily? Is there a script to run which looks at
> the nodes table, deletes all nodes unregistered older than 30 days?
>
>
>
>
>
>
>
>
>
>
>
> Thanks,
>
>
>
> Scott
>
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/_______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users