###O.S requirements: Doing all the roles development and testing on CentOS machines for now. Need to implement the same for ubuntu or debian based linux(future work)
###Description of roles: The below are the roles implemented in this repository:
common
common_vars
nagios_server
nagios_client
Ansible script to bringup a Nagios monitoring system and setup basic checks on hosts
Directory structure:
├── hosts
│ └── host_only(machines on which nagios server has to installed)
├── nagios_client.yml
├── nagios_server.yml(This script implements two roles common & nagios_server)
├── README.txt
└── roles
├── common
│ ├── files
│ │ └── history.sh
│ ├── handlers
│ │ └── main.yaml
│ ├── meta
│ │ └── main.yaml
│ ├── tasks
│ │ └── main.yaml
│ ├── templates
│ │ └── resolv.conf
│ └── vars
│ └── main.yaml
├── common_vars
│ └── vars
│ └── main.yaml
├── nagios_client
│ ├── defaults
│ │ └── main.yaml
│ ├── handlers
│ │ └── main.yaml
│ ├── tasks
│ │ └── main.yaml
│ └── templates
│ └── xinetd.conf.j2
└── nagios_server
├── defaults
│ └── main.yaml
├── handlers
│ └── main.yaml
├── tasks
│ ├── configure_servers.yaml
│ └── main.yaml
├── templates
│ ├── commands.cfg
│ ├── configure_services.j2
│ ├── contacts.cfg.j2
│ ├── hostgroups.cfg
│ ├── hosts.cfg
│ └── services.cfg
└── vars
└── main.yaml