The master node framework for monitoring.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
watchmaster
.gitignore
LICENSE
README.md

README.md

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()