Git Product home page Git Product logo

redfish-event-listener's Introduction

Redfish Event Listener

Copyright 2017 Distributed Management Task Force, Inc. All rights reserved.

About

The Redfish Event Listener is a lightweight HTTPS server that can be deployed to read and record events from Redfish services. It can also subscribe to multiple services.

Pre Requisites:

The Redfish Event Listener is based on Python 3 and the client system is required to have the Python framework installed before the tool can be installed and executed on the system. Additionally, the following packages are required to be installed and accessible from the python environment:

  • requests
  • http_parser

To install the required packages, use the command: pip install <package name>

To upgrade already installed packages, use the command: pip install --upgrade <package name>

The target Redfish service(s) must also be configured to send Redfish events.

Configuration

The following details will need to be entered in the config.ini file:

  1. SSL Certificate Details if required; the tool comes with a default self signed certificate
  2. Subscription details if you require this tool to perform subscription, which consist of the following:
    • Subscription details of Destination, EventTypes, ContextDetail, Protocol, SubscriptionURI in config.ini file
    • Server information in comma separated format for IP, Username and password. Keep all these field blank if subscription is taken care manually.
  3. If the service is subscribed manually, the context needs to be set same as mentioned in the config file (Public by default)

Running the Tool

Execute using python RedfishEventListener_v1.py

Received event details will be captured on the console and recorded into a file named Events_.txt in the working directory. Individual files will be generated for each subscribed service.

The tool can be stopped by clicking on the 'X' icon.

Limitations

  • The EventType and Context will remain same for all the subscriptions initiated from the tool
  • The event counter will restart in the event file each time the tool is restarted

redfish-event-listener's People

Contributors

mraineri avatar

Watchers

 avatar  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.