Sandfly is largely automatic and needs very little maintenance to operate. However there are some scripts included that may help you out if you need to reset some parts of Sandfly or clear out large backlogs of events if they were to happen.

Install and Upgrade Scripts

These scripts are used to install Docker or upgrade Docker images:

  • - Install Sandfly server script.
  • - Install Docker on an Amazon AMI Linux Image.
  • - Install Docker on a Centos system.
  • - Install Docker on Ubuntu 17 and lower.
  • - Install Docker on Ubuntu 18 and higher.
  • - Used to delete all existing Docker containers prior to an upgrade. Please see the section on Upgrading Sandfly for more information.

Sandfly Install Scripts

These scripts located under setup_scripts are used to install the Sandfly server and SSL keys:

  • - Used to install the base Sandfly server without SSL key generation.
  • - Setup the Sandfly SSL keys (unsigned).
  • - Setup the Sandfly SSL keys (signed with EFF Certbot).
  • - Setup PGP keys for the server and node security.
  • - Renew Certbot signed SSL keys. Optionally, you can just run again if you want a new signed key.

System Reset and Recovery Scripts

These scripts located under util_scripts and are used to reset the Sandfly system in various ways:

  • - Reset the system admin password to a random value.
  • - Deletes system alarm and log data, but preserves the configuration data. Useful if you have a large number of alarms you want to purge and start again without needing to reload all your other user data.
  • - Deletes the license key installed to blank install.
  • - Resets the system password used by nodes to log into the API. This is only needed if you feel the node password has been compromised and you wish to reset it to something new. Please contact Sandfly for assistance.

Previous Article:

Next Article: