Giter Club home page Giter Club logo

heimon's Introduction

Heimon - Furcadia Heimdall Monitoring Service

Description

This is a small recreational project I made for Furcadia to help identify stability issues among their servers before they become noticeable.

What it essentially does is keeping re-connecting to the server and asking it for details about its internal components while notifying of any discrepancies or issues encountered.

Requirements

  • Python3
  • Access to Furcadia characters with the "extended `which" capability

Usage

  • Replace the sample.ini file from the ini/ directory with a working Furcadia character INI file
  • Tweak monitor.py as necessary
  • Start monitor.py as is via Python3 without any arguments
  • Any alerts will be delivered through the STDERR so that this channel can be redirected to other *NIX tools

heimon's People

Contributors

icedraco avatar

Watchers

 avatar

heimon's Issues

The circumstances of "BUG" alerts are not logged

There should be more details regarding the specific connection that triggered a BUG alert (or any alert whatsoever, in fact):

  • Buffer the regular "log" messages for that one connection
  • Save the result from that one connection
  • Dump all into the alert log for future analysis
  • Take care to avoid dumping irrelevant-to-that-cycle log info

Repeating alerts for a single on-going issue

Example (from daily maintenance that lags the entire system temporarily):
[Sun Apr 10 05:00:08 2016][ALERT!] Heimdall check cycle failed: Timed out during AUTH stage
[Sun Apr 10 05:00:16 2016][ALERT!] Heimdall check cycle failed: Timed out during AUTH stage
[Sun Apr 10 05:00:25 2016][ALERT!] Heimdall check cycle failed: Timed out during AUTH stage
[Sun Apr 10 05:00:33 2016][ALERT!] Heimdall check cycle failed: Timed out during AUTH stage
[Sun Apr 10 05:00:41 2016][ALERT!] Heimdall check cycle failed: Timed out during AUTH stage
[Sun Apr 10 05:00:50 2016][ALERT!] Heimdall check cycle failed: Timed out during AUTH stage
[Sun Apr 10 05:00:58 2016][ALERT!] Heimdall check cycle failed: Timed out during AUTH stage

While the case of missing heimdalls does not repeat itself this way (due to "freshly_missing_threshold" value), all the other alerts from an on-going problem - will. Depending on the reporting mechanism, this can become very annoying and not useful!

There should be an option to avoid frequently-repeating alerts of the same kind on one hand, but on the other hand: long-lasting problems should be brought up again after a while (a la freshly_missing_threshold).

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.