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.
Examples
import monitoring.http
class ServiceInfo:
start_time
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)
monitoring_server.start_async()
Metadata
Release files for pymonitoring 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pymonitoring-0.1.0.tar.gz | 1.9 kB | Without provenance | Details for pymonitoring-0.1.0.tar.gz |
Release files / pymonitoring-0.1.0.tar.gz
| Download URL | pymonitoring-0.1.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f4c9b2920658c36753de4de7321f0400d1e788ebcc69f9f6e1b1ccc25181136
|
|
BLAKE2b-256 checksum How to use checksums |
7e747ede1d42e2576cebd5cf53b56bcca00b47ddf10e95744041d5dbf0fc1e8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pymonitoring 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.