• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

[cron?] automatic Restart of HAPROXY if ping fails…

Scheduled Pinned Locked Moved pfSense Packages
1 Posts 1 Posters 1.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    badger
    last edited by Aug 2, 2014, 3:23 PM

    hi there..

    what we would like to accomplish is an automatic restart of HAPROXY when a ping fails. One Backendserver is linked via Internet but unfortunately has got a dynamic IP address. We would like to execute a script every 30 seconds (cron) which checks if the server is available (DynDND). If the ping fails we would like to restart haproxy service so it knows about the current IP.

    would it be possible? can anyone give us a hint?

    Your help is really appreciated =)

    thank you.

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received