This repository contains a simple monitoring stack for StorageGRID Webscale. This is not a fully production ready stack.
The containerized setup is based on:
- Logstash
- Elasticsearch
- Grafana
- Your StorageGRID Webscale Audit Logs need to be mounted on the Docker host under
/mnt/auditlogs/
.- If desired, you may specify a path to any directory containing a valid
audit.log
by modifying volume/mnt/auditlogs:/mnt/auditlogs
in docker-compose.yml to/desired/directory:/mnt/auditlogs
.
- If desired, you may specify a path to any directory containing a valid
- Elasticsearch requires alot of memory, so make sure your Docker host provides enough by executing
sysctl -w vm.max_map_count=262144
on the host (click here for more details). - To make use of StorageGRID's Prometheus metrics, open port 9090 on the admin node by executing
run-host-command ufw allow 9090
.
- Start the stack via
./startup.sh
. - Terminate the stack via
./shutdown.sh
. - Grafana is accessible at
http://<dockerhost>:3000/
, the login credentials areadmin/admin
. - After initial deployment, log into Grafana, go to
Data Sources
, selectes-sgaudit
, and clickSave & Test
(this tells Grafana to re-validate the data source). You must also select thesg-prometheus
data source, enter the IP address of the admin node as indicated in theURL
field, and clickSave & Test
. - The dashboard will be automatically redployed.
- The current dashboard configuration can be exported via
update-dashboard.sh
, which updatesgrafana/dashboards/storagegrid-webscale-monitoring.json
.
This is not an official NetApp repository. NetApp Inc. is not affiliated with the posted examples in any way.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.