Skip to main content

Package to monitor if servers are available to connect

Project description

Current Builds

Packaged !!

monitor-py has been packaged and is available on PyPI via pip install monitor-py

v0.1 release upcoming!

This is a small package to monitor server addresses by sending pings at desired intervals.

Using a .json file to hold config options for the script. The script will utilize logging and/or mqtt pub/sub.

Getting close to releasing v 0.1 of this which will have just basic functionality. You will have to configure your .json config file manually. In the next version there will be a script to aid in managing the config.

Planned for v0.2 :

  • init script to setup directories and launch config script
  • script to manage config options
  • packaging of module #This actually happened in v0.1!
  • testing
  • verification of config (valid ip structure or if hostname that it is a valid hostname)

Getting Started

When the script is run, it will check for 3 directories and make them if they are not present :


The project directory can be placed anywhere it will just place the log and config files in the appropriate directories in the users home directory.

Log ouput will look like the following :

       [INFO] [2020-02-29 14:54:54,904] : localhost is up...  
       [INFO] [2020-02-29 14:55:54,965] : localhost is up...  
       [INFO] [2020-02-29 14:56:55,014] : localhost is up...

localhost is the default server setup so you can immediately test if it is working.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for monitor-py, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size monitor_py-0.1.2-py3-none-any.whl (17.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size monitor-py-0.1.2.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page