Giter VIP home page Giter VIP logo

icmp_stats's Introduction

BARCO ICMP MESSAGE READER

This is a monitoring tool for your ICMP`s. (BIMR)

alt text

Prerequisites

  • Windows, MAC or Linux x86/64
  • Python 3.6 or higher.
  • Know how to create batch files.
  • Gekko(firefox) or Chromedriver (Follows the download)

Installation

Be sure to have python installed. Works on Python 3.7 Use the package manager pip to install BIMR.

pip install -r requirements.txt

Usage

Run the functions induvidualy:

Trigger:

import trigger

trigger.executeSomething() # Starts the collection of data

Web-Server:

import trigger

trigger.app() # Starts the Web-Server

It`s not recommended to run them this way. The recommended way is: -Dubble click on triggers.py -Dubble click on main.py

Don`t close the console Windows. If so the services will stop.

ATMOS

If there is ATMOS present be SURE to add True after ip in trigger.py. If there is CP650 / CP750 or other analog audio devices set it to False

Initial Setup

trigger.py

#Edit ip`s for your own servers.
#Set parameter as True if there is ATMOS present, Else set False
    print("Starting Screen 1")
    dc.dataFetcher('10.10.97.2', True)
    time.sleep(60)
    print("Starting Screen 2")
    dc.dataFetcher('10.6.98.2', True)
    time.sleep(60)
#ECT...

Be sure to remove or add screens that aren`t present

main.py

#Add or remove amout of screens
    screen1 =[]
    screen2 =[]
    screen3 =[]
    screen4 =[]
    screen5 =[]
    screen6 =[]
    screen7 =[]

#Then edit amount of while statements
#Be sere to name the json file exactly as the servers screen name!
    with open('static/data/Screen1.json', 'r') as f:
        screen1 = json.load(f)
        f.close()
    with open('static/data/Screen2.json', 'r') as f:
        screen2 = json.load(f)
        f.close()

#Then edit amounts of return fields:
return data2=screen2, data3=screen3, data4=screen4, data5=screen5, data6=screen6, data7=screen7 #ECT...

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU GPLv3

icmp_stats's People

Contributors

christophermp avatar

Watchers

James Cloos 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.