OpenBGPD service restart script if default gateway is lost?

  • :'(

    Hi all,

    I have been plagued by issues where BGP communications to the neighbor continue but somehow the default gateway gets lost.

    Any idea how I could monitor and restart openbgpd if this default route is missing in the status window of bgp?