https://github.com/mhmdio/ossec-ansible
OSSEC Testing using Ansible Vagrant and TravisCI
https://github.com/mhmdio/ossec-ansible
ansible ossec travis vagrant
Last synced: 2 months ago
JSON representation
OSSEC Testing using Ansible Vagrant and TravisCI
- Host: GitHub
- URL: https://github.com/mhmdio/ossec-ansible
- Owner: mhmdio
- Created: 2016-04-28T05:50:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T09:11:32.000Z (over 9 years ago)
- Last Synced: 2026-02-10T04:32:20.943Z (5 months ago)
- Topics: ansible, ossec, travis, vagrant
- Language: Shell
- Homepage:
- Size: 2.62 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ossec-ansible-vagrant-travis
Vagrant Will deploy CentOS - Ubuntu - Windows 10, then Ansible Will install OSSEC Client on them.
## Run Playbook
```bash
sudo ansible-playbook playbook_vagrant.yml -i hosts_vagrant -vv
```
## Troubleshooting
```bash
sudo yum clean all
sudo yum upgrade
sudo aum -uf
grep -i error /var/ossec/logs/ossec.log
sudo grep -i error /var/ossec/logs/ossec.log
sudo /etc/init.d/ossec-hids restart
sudo yum remove ossec-hids
sudo yum install ossec-hids
sudo yum install ossec-hids-server
sudo /etc/init.d/ossec-hids restart
sudo /etc/init.d/ossec-hids-server rest
service iptables save
service iptables stop
chkconfig iptables off
service iptables stop
sudo service iptables stop
sudo chkconfig iptables off
sudo restart
sudo /etc/init.d/elasticsearch restart
sudo /etc/init.d/kibana restart
```