OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: FullyBorked on August 07, 2022, 02:27:26 AM

Title: Is the 'Unbound_DHCP.py' process still used?
Post by: FullyBorked on August 07, 2022, 02:27:26 AM
Just upgraded to 22.7, I had a monit test that checked for this service to be running after the issue where blocklists where killing off the service.  However it doesn't appear to be running at all in 22.7 so wondering if a different method is being used that I've not identified for keeping dhcp updated. 
Title: Re: Is the 'Unbound_DHCP.py' process still used?
Post by: franco on August 07, 2022, 09:19:31 AM
The process is named "unbound_watcher.py" on 22.7. But the PID file is still the same which I would recommend to use for monitoring:

/var/run/unbound_dhcpd.pid


Cheers,
Franco
Title: Re: Is the 'Unbound_DHCP.py' process still used?
Post by: FullyBorked on August 07, 2022, 02:36:11 PM
Quote from: franco on August 07, 2022, 09:19:31 AM
The process is named "unbound_watcher.py" on 22.7. But the PID file is still the same which I would recommend to use for monitoring:

/var/run/unbound_dhcpd.pid


Cheers,
Franco

Thanks as usual Franco.
Title: Re: Is the 'Unbound_DHCP.py' process still used?
Post by: franco on August 08, 2022, 11:40:28 AM
For transparency I had to try and remember why the rename was done:

Since the script is for DHCP and moved to the DHCP scripts directory (from Unbound directory) the name dhcp/xxx_dhcp_xxx wasn't overly descriptive so it was changed to "watcher". This was also done to introduce a sibling watcher for Dnsmasq.


Cheers,
Franco