OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: diablolot on March 09, 2021, 07:29:28 AM

Title: Monit / BIND Daemon / named
Post by: diablolot on March 09, 2021, 07:29:28 AM
Hello everybody,

we have the problem that the named service (BIND daemon) keeps exiting.

We would therefore like to check the service via Monit and restart it there. But we don't find any good instructions or settings. We would be very grateful for any help or further information.

Thank you
Mike
Title: Re: Monit / BIND Daemon / named
Post by: mimugmail on March 09, 2021, 05:02:54 PM
Doesn't one example in documentation handle this?
Title: Re: Monit / BIND Daemon / named
Post by: diablolot on March 12, 2021, 10:27:54 AM
Unfortunately, no. I'll have a look at the weekend to see if I can deduce it after all.
Title: Re: Monit / BIND Daemon / named
Post by: Greelan on March 12, 2021, 10:42:57 AM
Could you adapt something like the below?

https://forum.opnsense.org/index.php?topic=18745.msg97953#msg97953

In essence use monit to monitor the PID and then restart by the appropriate configctl command? Just guessing