Skip to content
jnosalPublic

About

Tornado Web & Resource Monitoring Platform

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages