Just clone:
git clone https://bitbucket.org/shinespb/ansible_task.git- vagrant (vagrantup.com), >= 1.5.3
- virtualbox
- ansible (ansible.com) >= 1.9
- ansible >= 1.9
- boto(package for python) (pip install boto)
Creates local virtual machine with vagrant or in EC2 cloud.
Just go to directory, where you've cloned this code and run
vagrant upVagrant creates virtual machine and setup nagios on it with custom modules, mediawiki and apache.
Go inside cloned directory and run:
export ANSIBLE_HOST_KEY_CHECKING=no; ansible-playbook -i hosts -u=ubuntu ec2_install.yaml
If you're runnig VM with vagrant, just open browser and go to
http://127.0.0.1:3000
If you're running VM with EC2, in ansible run you could se an IP address for connection.
There is a monitoring service:
/nagios3
and mediawiki with a little bit of instructions.
/mediawiki
It's simple, just run
vagrant provisionSorry, this is not implemented now :(
You could change everything, but if you want to do it well, edit group_vars/all. In this file you could redefine any other variables
Ok, don't worry. Just send me a e-mail with description of problem and I'll fix it. shinespb@gmail.com
Patterns is in /events_storage/phishing_constant_patterns. Scripts take current time and and count files in directories for N time bask. If it shows "PATTERNS CRITICAL: no directories for this time" you need to change local time to check old directories(in sample) or just add some actual patterns