[j-nsp] DHCP relay monitoring

Martin Tonusoo martin at jumation.com
Thu Jul 9 13:58:32 EDT 2020


Hi,

> On one of my MX204 routers the DHCP relay crashes after some running time
and the process stops.

if you are looking for a temporary workaround, then you could periodically
check if the jdhcpd process is running and if it isn't, then restart it.
Something like this:
https://gist.github.com/tonusoo/084ac04cab30151ce7d2911a13320838
Does the jdhcpd log something when it crashes? Perhaps a better approach
would be to trigger the restart based on the jdhcpd (traceoptions) log
message as the process will get restored pretty much immediately.


WBR,
Martin


More information about the juniper-nsp mailing list