monitoring and alerting program for data streams such as recording files that update regularly
Project description
stream_monitor
This program monitors a specified set of data streams (files) for changes. If a file is not changed in a specified time, an alert is sent using Pushbullet.
setup
pip install stream_monitor
configuration and usage
The file stream_monitor_configuration.py is imported as a module from the working directory. It contains a dictionary of the following form:
streams = {
"./recording.csv": {"update_time": 30}
}
When the script stream_monitor.py is executed, it imports the configuration and runs in a continuous loop, sending a Pushbullet alert whenever it detects that a stream is not being updated in its expected update time.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for stream_monitor-2018.1.11.1552.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2104252d97220a097e1e0ec5420ed611fee51147d3273aa3aadba43d90ab4e3 |
|
MD5 | 3bcfa9448c8a4bbfaf7077a623e8f582 |
|
BLAKE2b-256 | 96571a0b66c3adeb9c86fc96ab4e29c1869c647c706cf9648f259599f9b928c9 |