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.
Install the dependencies Make a clone of this repository
>>> git clone git@github.com:marcelnicolay/nginx-monitor.gitCreate mysql database
>>> make dbRun server in port 8888
>>> make startPut script in crontab
>>> crontab -e * * * * * python /nginx-monitor/nmonitor/crontab.py update >> /nginx-monitor/nmonitor/crontab.out.txt 2>&1 0-59/5 * * * * python /nginx-monitor/nmonitor/crontab.py graph >> /nginx-monitor/nmonitor/crontab.out.txt 2>&1 30 * * * * cp /nginx-monitor/data/* /rrd.backup/
- Tornado >= 0.2
- Mako >= 0.3.2
- SqlAlchemy >= 0.5.6
- nose >= 0.11.0
- mox >= 0.5.1
- simplejson
- simplexml
- Torneira
- PyRRD
- simple-db-migrate
- MySQL
- Create both unit and functional tests for your new feature
- Do not let the coverage go down, 100% is the minimum.
- Write properly documentation
- Send-me a patch with:
git format-patch
E-mail: marcel.nicolay at gmail com