Skip to content

jnosal/tormon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Info

Tornado project which monitors urls provided. As for now it supports file based url reader and persist information in memory.

Manual

  1. Install tormon
$ pip install tormon
  1. Run tormon providing path to file which has list of urls (each in separate line) to monitor:
$ tor-mon --host=0.0.0.0 --port=8081 --config=/tmp/config.yml --debug=true
  1. Run tormon using redis as a storage (requires redis-py or/and hiredis)
$ tor-mon --host=0.0.0.0 --port=8081 --config=/tmp/config.yml --debug=true --writer=redis
  1. Query api to get information:
$ curl http://localhost:8081/api/urls/
$ curl http://localhost:8081/api/stats/
$ curl http://localhost:8081/api/url/\?url\=<url>
  1. Optionally You can install redis and hiredis

About

Tornado Web & Resource Monitoring Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages