icinga
Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 4.7.0 < 7.0.0
Start using this module
Add this module to your Puppetfile:
mod 'vikas24pandey-icinga', '0.1.5'
Learn more about managing modules with a PuppetfileDocumentation
icingaPostgres
Table of Contents
- Description
- Setup - The basics of getting started with icinga
- Setup requirements
- Beginning with icinga
- Troubleshooting
Description
This module will help to install icinga on Main server where backend will be Postgres DB using Puppet modules. Here puppet master machine will push configruation on puppet agent and configure it with icinga which will act as ICINGA main server.
Setup
Setup Requirements Minimum two machine installed and configured with puppet
Beginning with icinga
-
After configuration on puppte master & agent .
-
do puppet agent -t on agent machine (This will fetch configuration from master and do the installation ).
-
now access your local ip or localhost https::///icingaweb2.
-
login through admin/icingaweb2 (This credential is stored in pgsql icingaweb2 database).
Troubleshooting
-
in case gui is not accessible. check httpd service
-
delete file rm -rf /etc/httpd/conf.d/Nginxicingaweb2.conf
-
do httpd -t (to check any further syntax error in httpd conf).
-
now restart httpd "systemctl restart httpd.service"
if gui is not able to login :
- check psql -U icingaweb2 -h localhost -d icingaweb2 -W
- enter password "icingaweb2"
- if its not able to login then check /var/lib/pgsql/data/pg_hba.conf
- make sure icinga user is added with md5
- now restart pgsql ( systemctl restart postgresql.service).
- again try "psql -U icingaweb2 -h localhost -d icingaweb2 -W" (Now you must be able to login in DB).
if stil there is error in login then
- openssl passwd -1 icingaweb2 (Note down hash key)
- go into database icingaweb2 => table (icingaweb_user)
- and update admin password with above generated key.
###Compatibility: OS => Centos (tested)
GIT link:
Dependencies
- puppetlabs-stdlib (>= 1.0.0)