virtapi / LARS

Live Arch Rescue System
GNU Affero General Public License v3.0
8 stars 5 forks source link

Add I'm-alive script #31

Open bastelfreak opened 8 years ago

bastelfreak commented 8 years ago

We need a script that sends https requests to our marmoset endpoint that we currently implement in https://github.com/virtapi/marmoset/issues/62. This way we can notice if a server died while being in the rescue system (will be important if we ever run stresstests or nfs-on-root)

killermoehre commented 8 years ago

Am 02.03.2016 um 17:34 schrieb Tim Meusel:

We need a script that sends https requests to our marmoset endpoint that we currently implement in virtapi/marmoset#62 https://github.com/virtapi/marmoset/issues/62. This way we can notice if a server died while being in the rescue system (will be important if we ever run stresstests or nfs-on-root) What are the requirements for this script? If this should be a "Watchdog Over Network" (WON), we need to define at least three different signals:

  • Watchdog started
  • Watchdog ping
  • Watchdog returned 0 during shutdown and no more pings are not critical. Maybe a PUT for start, a GET for ping and a DELETE for "it's ok, not critical anymore"?