PageRenderTime 24ms CodeModel.GetById 57ms RepoModel.GetById 0ms app.codeStats 0ms

/README.rst

https://github.com/marcelnicolay/nginx-monitor
ReStructuredText | 74 lines | 55 code | 19 blank | 0 comment | 0 complexity | d68d620c8b722ef3c56ac617f1d81ae2 MD5 | raw file
  1. Nginx Monitor
  2. ======================
  3. Nginx-monitor is a network graphing solution designed to harness the power of RRDTool_ data storage and the flexibility of Nginx status module. It's a easily and practice solution, written in python, to monitoring Nginx servers in production enviroments.
  4. Quick start
  5. ==========
  6. Install the dependencies
  7. Make a clone of this repository
  8. >>> git clone git@github.com:marcelnicolay/nginx-monitor.git
  9. Create mysql database
  10. >>> make db
  11. Run server in port 8888
  12. >>> make start
  13. Put script in crontab
  14. >>> crontab -e
  15. * * * * * python /nginx-monitor/nmonitor/crontab.py update >> /nginx-monitor/nmonitor/crontab.out.txt 2>&1
  16. 0-59/5 * * * * python /nginx-monitor/nmonitor/crontab.py graph >> /nginx-monitor/nmonitor/crontab.out.txt 2>&1
  17. 30 * * * * cp /nginx-monitor/data/* /rrd.backup/
  18. Screenshot
  19. ==============
  20. .. image:: http://img835.imageshack.us/img835/111/screenshotww.png
  21. :alt: screenshot
  22. Dependencies
  23. ============
  24. * Tornado_ >= 0.2
  25. * Mako_ >= 0.3.2
  26. * SqlAlchemy_ >= 0.5.6
  27. * nose_ >= 0.11.0
  28. * mox_ >= 0.5.1
  29. * simplejson_
  30. * simplexml_
  31. * Torneira_
  32. * PyRRD_
  33. * simple-db-migrate_
  34. * MySQL_
  35. Contributing
  36. ============
  37. With new features
  38. ^^^^^^^^^^^^^^^^^
  39. 1. Create both unit and functional tests for your new feature
  40. 2. Do not let the coverage go down, 100% is the minimum.
  41. 3. Write properly documentation
  42. 4. Send-me a patch with: ``git format-patch``
  43. .. _Tornado: http://www.tornadoweb.org/
  44. .. _Mako: http://www.makotemplates.org/
  45. .. _SqlAlchemy: http://www.sqlalchemy.org/
  46. .. _nose: http://code.google.com/p/python-nose/
  47. .. _mox: http://code.google.com/p/pymox/test
  48. .. _simplejson: http://code.google.com/p/simplejson/
  49. .. _simplexml: http://github.com/marcelnicolay/simplexml
  50. .. _Torneira: http://github.com/marcelnicolay/torneira
  51. .. _RRDTool: http://oss.oetiker.ch/rrdtool/
  52. .. _PyRRd: http://code.google.com/p/pyrrd/
  53. .. _simple-db-migrate: http://github.com/guilhermechapiewski/simple-db-migrate
  54. .. _mysql: http://www.mysql.com
  55. E-mail: marcel.nicolay at gmail com