Module spannerd

System health monitor - Spanner daemon

spannerd is service that runs on stacktoggle and it provides functionality related to health of stacktoggle.

Error API

spannerd monitors system health and tracks important errors that prevents system from normal operation. If any errors on such severity are detected error LED will blink.

NATS API is provided to:

In case NATS is not available or conveniant, user can get all errors by reading file /tmp/spanner_error.json.

Soupout API

spannerd provides NATS API to trigger creation of soupout. Send request to NatsSpannerdSoupoutCreateSub, no payload is required. To notify that soupout generation is finished a NATS message will be sent on NatsSpannerdSoupoutDoneSub. Subscribe to this subject to get notified when soupout is ready. Message payload will contain information regarding success of soupout creation and URL where file can be downloaded.

Index

Type Aliases

Functions

Generated using TypeDoc