Coder Social home page Coder Social logo

hnimminh / sip-healthcheck Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 10.0 7 KB

Monitor SIP server and Notify whenever downtime/latency detected.

License: MIT License

Python 100.00%
healthcheck sip kamailio asterisk freeswitch option notification twilio slack mailgun

sip-healthcheck's Introduction

SIP Healthcheck [Python SIP OPTIONS Packet]

SIP Healthcheck is a simple tool that allow to check and alert that refect on SIP endpoint by sending SIP OPTIONS methods

Features:

  • Ping SIP endpoin by SIP OPTIONS
  • Collecting evaualuation metric such as latency, timeout or response code
  • Configuration inventory via yaml format
  • Support TCP, UDP transport
  • Notify via Slack, SMS, Email, or Voice.
  • Setting up sequent time send notification
  • Setting up threshold for alert
  • and many more .., pull requests are welcome

REQUIREMENTS

  • requests
  • yaml
  • twilio

USAGE

  • Setting your inventory in configuration.yml

  • Start Monitoring by run command:
    python siphealthcheck.py

Container:

Docker will be added soon.

Notification

Current nofications are supported to use slack, mailgun, sms and voice call.

Chat channel with Slack Email with Mailgun SMS & Call with Twilio

Slack Alert Example:

sip-healthcheck-alert

AUTHOR

Minh Minh


sip-healthcheck's People

Contributors

hnimminh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sip-healthcheck's Issues

Error whet start

If run programm

python3 siphealthcheck.py or python siphealthcheck.py i have an error

Traceback (most recent call last):
File "siphealthcheck.py", line 48, in
raise Exception(error)
Exception: 'module' object has no attribute 'config'

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.