Skip to main content

Injectable HTTP monitoring interface.

Project description

pymonitoring is a Python package that allows to easily create HTTP monitoring interfaces for your python services. Such interfaces can be used by Nagios to query for service status for example.


import monitoring.http

class ServiceInfo:

        def to_json()
                info = {
                        'start_time': self.start_time

                return json.dumps(info)

service_info = ServiceInfo()
service_info.start_time = time.time()

monitoring_server = monitoring.http.Server(8000, service_info)

Project details

Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pymonitoring-0.1.0.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page