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 firstname.lastname@example.org:projects/terraswarm/swarmbox.git
||string||The IP address of the host|
Initialize the accessor by attaching an input handler to the the ipAddress input.
Set up the accessor by defining the inputs and outputs.