Giter VIP home page Giter VIP logo

alerts-list-ntnx's Introduction

Export the details of alerts generated by your Nutanix Cluster

Introduction

This app generates a HTML and CSV list of all alerts generated in your Nutanix cluster. The data has been gathered using the Nutanix v2 API alerts endpoint. It is cleaned and structured using pandas.

Environment

We recommend you to create a separate virtual environment running Python 3 for this app, and install all of the required dependencies there.

Run in Terminal/Command Prompt:

git clone https://github.com/manoj-mone/alerts-list-ntnx.git
cd alerts-list-ntnx/
python3 -m pip install virtualenv
python3 -m virtualenv venv

In UNIX system:

source venv/bin/activate

In Windows:

venv\Scripts\activate

Requirements

To install all of the required packages to this environment, simply run:

pip install -r requirements.txt

and all of the required pip packages, will be installed, and the app will be able to run.

How to use this app

You have to specify the Nutanix cluster that you wish to connect to before running the app.

To do so, open the alerts-list-ntnx/request.py file using a common text editor like Sublimetext or vim. An example is shown in the file as well. You will have to just replace the IP address of the cluster and the credentials you would use to login as well. Save the file and quit from the editor.

You are now all set to run this app

Run the app

python alerts-list.py

Two files will get generated in the alerts-list-ntnx folder - 1. alerts_data.csv 2. alerts_data.html

License

MIT

alerts-list-ntnx's People

Contributors

manojmone-ntnx avatar

Watchers

 avatar

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.