Remove/hide isc after migrating to kea

Started by Mr. Happy, September 11, 2025, 10:55:08 AM

Previous topic - Next topic
I've migrated my isc-config to kea and all is functioning well.
On the dashboard however, isc is (still) there (and not running obviously).
How can I remove/hide the isc-status on the dashboard?
The red icon is rather distracting ;)

Have you explicitly disabled ISC on every single interface? Then the dashboard widget should not show it.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Need more data here please. Which specific ISC mention on the dashboard?


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

I have removed the checkmark on all interfaces under 'Services / ISC DHCPv4'.

On the dashboard I have the 'Services'-panel. There it shows 'ISC DHCPv4 Server' with the red 'Stopped'-icon.
I would like to have that gone, because I do not need to know it is stopped ('cause I don't use it ;) ).

I'm assuming he means it's still listed under "Services" as I don't think there is a way to remove it from there?


@cguilford he said "dashboard" in his first post :)

@Mr. Happy thanks, I'll take a look on Monday. Assumed you may have asked about DHCPv6 which is still there for other reasons. Since it's DHCPv4 it could be a bug.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT


September 15, 2025, 08:25:20 AM #8 Last Edit: September 15, 2025, 11:02:09 AM by franco
Checked this out.. the code is pretty simple: test if DHCP server is enabled and see if the interface it references does exist in the config (even if disabled). So this may be an older bug pertaining to a different interface from the past.

I'd suggest flushing the configuration here which seems to be the quickest road to success:

# pluginctl -f dhcpd

(will show and ask to confirm the deletion of the ISC DHCPv4 configuration, also creates a backup just in case)


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

September 15, 2025, 10:20:51 AM #9 Last Edit: September 15, 2025, 10:36:18 AM by Mr. Happy
Quote from: franco on September 15, 2025, 08:25:20 AMChecked this out.. the code is pretty simple: test if DHCP server is enabled and see if the interface it references does exist in the config (even if disabled). So this may be an older bug pertaining to a different interface from the past.

I'd suggest flushing the configuration here which seems to be the quickest road to success:

# pluginctl -g dhcpd

(will show and ask to confirm the deletion of the ISC DHCPv4 configuration, also creates a backup just in case)


Cheers,
Franco
Thanks.
I ran the command and it printed the dhcp-settings, but didn“t ask anything and ISC is still visible as a stopped service.

After that I took a look at the code and ran it with '-f' and that worked.

Sorry, yes, I meant -f :)
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT