View Code? Open in Web Editor
NEW
This project forked from ajeshgeorge22/nagios
nagios's Introduction
This ansible roles will help you to configure a nagios server and nagios client
Step to setup nagios server
- Please provide the host ip address and ssh user and password. Also for root permission give sudo user and password.
- Please update nagios admin email id in nagios-server-install/defaults/main.yml
- run ansible-playbook -i hosts nagios-server.yml
- The nagios server will be configured in the specifed server and the console will be available at http://ip/nagios
Step to setup nagios client
Two roles are used for configuring client and setup the client data in nagios server
- Add the client ip address and ssh user and password. Also for root permission give sudo user and password.
- Add the nagios server IP in nagios-client-install/defaults/main.yml
- run the ansible-playbook -i hosts nagios-client-install.yml
To add the client host check detail in server
- check the nagios server ip nad user is specified in hosts
- run ansible-playbook -i hosts nagios-host-setup.yml
nagios's People
Watchers