Accessor: services/Heartbeat

services/Heartbeat

Send a heartbeat to a mothership monitoring web server.

This accessor is not of much use because it requires the Mothership server, which is not yet available.

The Mothership server require a key string from the Heartbeat client.

This accessor looks for key in $KEYSTORE/heartbeatKey, which resolves to $HOME/.ptKeystore/heartbeatKey.

The key is found in the swarmbox git repo, which not public. Look for swarmbox/heartbeat/key See https://www.terraswarm.org/testbeds/wiki/Main/SwarmboxGitRepo

To download the repo using a repo.eecs.berkeley.edu username and password (possibly different than your terraswarm website username and password):

git clone https://repo.eecs.berkeley.edu/git/projects/terraswarm/swarmbox.git

If you uploaded your SSH key to repo.eecs, then use:

git clone repoman@repo.eecs.berkeley.edu:projects/terraswarm/swarmbox.git

Version:
  • $$Id$$
Author:
  • Christopher Brooks, based on heartbeat.js by Marten Lohstroh.
Source:
Inputs:
Name Type Description
ipAddress string The IP address of the host

Methods

(static) initialize()

Initialize the accessor by attaching an input handler to the the ipAddress input.

Source:

(static) setup()

Set up the accessor by defining the inputs and outputs.

Source: