Giter VIP home page Giter VIP logo

storagegrid-monitoring's Introduction

StorageGRID Webscale Monitoring Stack

Introduction

This repository contains a simple monitoring stack for StorageGRID Webscale. This is not a fully production ready stack.

alt tag

The containerized setup is based on:

  • Logstash
  • Elasticsearch
  • Grafana

Configuration

  1. 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.
  2. 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).
  3. To make use of StorageGRID's Prometheus metrics, open port 9090 on the admin node by executing run-host-command ufw allow 9090.

Usage

  • Start the stack via ./startup.sh.
  • Terminate the stack via ./shutdown.sh.
  • Grafana is accessible at http://<dockerhost>:3000/, the login credentials are admin/admin.
  • After initial deployment, log into Grafana, go to Data Sources, select es-sgaudit, and click Save & Test (this tells Grafana to re-validate the data source). You must also select the sg-prometheus data source, enter the IP address of the admin node as indicated in the URL field, and click Save & Test.
  • The dashboard will be automatically redployed.
  • The current dashboard configuration can be exported via update-dashboard.sh, which updates grafana/dashboards/storagegrid-webscale-monitoring.json.

Notes

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.

storagegrid-monitoring's People

Contributors

csiebler avatar pierreboerkoel avatar yeddie avatar

Stargazers

 avatar

Forkers

brunobva

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.