Control via the API
As of version 2.15.0.9, the Silent Brick System provides an API that can be accessed externally.
This allows both control and monitoring tasks to be performed without accessing the user interface.
See also GitHub.com - FAST-LTA
The API is accessed exclusively via the management port of the Silent Brick System if the management and data networks are separated.
Description
Complete documentation of all supported API functions can be found in the published documents on GITHUB:
Installation
GITHUB provides a number of examples of how to use the Silent Brick API in the form of scripts in the following languages
-
Perl
-
Powershell
Of course, the API can also be accessed from any other scripting or programming language.
Examples
Monitoring the system status
Using appropriate scripts, the following values could, for example, be queried from the system in order to monitor the system status:
-
Status of the Silent Brick System via the Open Issues list
-
Alert on open warnings
-
Alert on open errors
-
-
Fill level of specific Secure NAS Volumes
-
Warning when thresholds are reached
-
Creating snapshots automatically
Using appropriate scripts, snapshots can be created on specific target Volumes.
This makes it possible, for example, to automatically generate a snapshot after a backup has been created in order to freeze the state and protect it against unwanted changes.
Likewise, old snapshots could be cleaned up based on their timestamp in the same step.
The examples listed and the sample scripts provided in the linked GitHub repository serve exclusively as a starting point and guidance. These scripts are not part of the official test plan and merely provide a framework for the possible development of your own solutions.