No description
Find a file
2024-07-02 20:46:36 +01:00
schema Added schema - not tested. 2024-06-29 13:10:44 +01:00
config.py Implemented SIGINT/SIGTERM recept 2024-06-29 12:55:24 +01:00
LICENSE License wording amendment 2024-06-27 18:44:12 +01:00
log.py Some changes done to log CPU/RAM to MS SQL. More changes to be done to log URL monitors to MS SQL too, along with making a compatible MySQL/MariaDB equiv... 2024-07-02 20:42:34 +01:00
main.py Correction to last commit 2024-07-02 20:46:36 +01:00
README.md Amendment to readme 2024-06-27 19:00:06 +01:00

monutil

Simple Python utility for monitoring CPU and RAM usage, and monitoring the speed when downloading URLs. Both CPU/RAM monitoring and URL monitoring can be set on their own monitoring periods. See the available configuration options, which should be specified in config.py.

Configuration options:

  • hostMonitoringPeriod - the delay in between the CPU and RAM usage being probed (defined in seconds).
  • urlMonitoringPeriod - the delay in between monitoring all of the URLs (defined in seconds).
  • urls - the list of URLs to monitor (e.g. ["url1", "url2"]).
  • urlTimeout - the delay before considering a URL to have timed out.
  • maxWorkers - the amount of threads to use when pulling URL resources. Do not set above the maximum number of threads on the host.