oswalpalash / watch-master

The master node framework for monitoring.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

watch-master

The master server framework for monitoring. Click the screenshot to see it running on production. ScreenShot

##Install Instructions :

  1. Clone the watch-master repository on your master node.
  2. Install the python modules described in requirements.txt
  3. Install rabbitmq-server on the master node.
  4. Run the django server :
cd watchmaster/
python manage.py runserver
  1. Run the celery beat and celery worker:
celery worker --app=watchmaster -l info --logfile="/tmp/worker.log"
celery -A watchmaster beat

##To Add A Slave Server :

  • Set up Slave as per : Slave Repo
  • Run the python shell prompt:
python manage.py shell
from slaves.models import slave
slave_new = slave( slave_hostname=<hostname>, slave_ip=<ip>, slave_location=<location>)
slave_new.save()

Testing Powered By SauceLabs

About

The master node framework for monitoring.

License:GNU General Public License v3.0


Languages

Language:Python 99.8%Language:HTML 0.2%