List of events / dhcpv6 lease

Is there a list of events somewhere, that can be used for triggering a scheduled script?

Specifically, I’m looking for something that would tell me a dhcpv6 lease has been obtained, or even just renewed. It could even be for all dhcp leases / ipv4 & ipv6.

Otherwise, since it’s time sensitive, I might have to have it run every 1 or 2 minutes. It seems like a waste of resources when it might only really need to run once a week.

you can try to add the script in DHCP server, go to the script tab like in the screenshot below


mikro01.PNG

And same for DCHPv6 client. It’s definitely better to use lease scripts, rather than scripts run using scheduler. It’s more efficient because it runs only when needed. And you get some bonus variables with interesting data (see manual).

Thanks, that’s what I was looking for. I see it under the “Advanced” tab, though.