Giter VIP home page Giter VIP logo

netmon's Introduction

Netmon - Hardware server up-status monitor

Netmon

A hardware device which displays the powered and/or up status of a list of servers, with dedicated LEDs for each server.

Built as a 1U rack mount box supporting up to 40 servers. The front panel is designed with the Schaeffer tool and has space for labels to be added to identify the machine each set of LEDs represents.

For each server there are two LEDs, one red and one green.

  • Both LEDs off mean the server is remote powered off.
  • The red LED on means the server is remote powered on (or is not controlled by remote power), but we cannot talk to it.
  • The green LED on means we can ping the server.

The internal hardware is:

  1. A model 3B Raspberry Pi, to check on the servers over ethernet. This runs a simple Go program. Goroutines are used to check the remote power state and server connectivity in parallel.

  2. An Atmel ATmega1284P, to drive the LEDs. Since there are far more LEDs than GPIOs on either processor, we use a simple constant time multiplex grid to drive the LEDs. The Pi doesn't give accurate enough timing to give a steady, glitch free display, hence we use the Atmel. This runs a simple C program. Interrupts are used to time the LED drive and receive instructions from the Pi.

The Pi sends instructions to the Atmel telling it to turn individual LEDs on and off over a serial link. There is no communication in the other direction.

netmon's People

Contributors

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