Changes between Version 13 and Version 14 of NSM2021/Agenda/iCinga


Ignore:
Timestamp:
May 23, 2021, 1:32:06 AM (4 years ago)
Author:
deepthi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NSM2021/Agenda/iCinga

    v13 v14  
    5757[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/requirements8.png, 600)]]
    5858
    59 
     59As the icingaweb_db resource, please add icingaweb2 database details in Mysql, You can find your database password for icingaweb2 user in `/home/passwords.txt` file
    6060
    6161[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/icingaweb_db_respurce9.png, 600)]]
    6262
    63 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/icingaweb_db_respurce9.2.png, 600)]]
     63Enter Authentication backend as icingaweb2:
    6464
    6565[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/authenticationbackend10.png, 600)]]
    6666
     67Create a loging user for the icingaweb portal:
     68
    6769[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/creatingadmininstratoraccount11.png, 600)]]
    6870
     71Click next to proceed :
     72
    6973[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/applicationconfiguration12.png, 600)]]
    7074
     75Change the database name to icinga2 :
     76
    7177[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/monitoringbackekend15.png, 600)]]
    7278
     79Use the password you typed when the mysql ido configurations while executing the installation script:
     80
    7381[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/idoresource16.png, 600)]]
    7482
     83Enter the api-user details and you can find the details in `/etc/icinga2/conf.d/api-users.conf` file. I(f you get error vhile validating root, please restart the icinga service and try):
     84
     85
    7586[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/apiuser17.png, 600)]]
    7687
     88Click next to proceed :
     89
    7790[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/monitoringsecurity18.png, 600)]]
    7891
     92if the configurations are succeeded, following message is shown on the top, and click `Login to icinga web 2` in the right side
     93
    7994[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/success20.png, 600)]]
    8095
     96Initial dashboard:
     97
    8198[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/initialdashboard22.png, 600)]]
    8299
     100Let's Initialise a resource for director module. Resources can be created using Configurations > Application > Resource like following image.
     101
    83102[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/addingresources24.png, 600)]]
    84103
     104After creating resource for director and select created resource:
     105
    85106[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/config_source_fordirector25.png, 600)]]
    86107
     108Then assing the hostname as endpoint and host as local host, API user details are in `/etc/icinga2/conf.d/api-users.conf` file.
     109
     110After every deplyment, Please deploy by clicking `Deploy pending changes` on the top of the page :
     111
    87112[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/deplypending_changes26.png, 600)]]
    88113
     114Before adding hosts, the host templates have to be added. you can assing the commands and the templates as requirements.
     115
    89116[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/host_template28.png, 600)]]
    90117
     118Add the hosts after adding host template:
     119
    91120[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/add_hosts30.png, 600)]]
    92121
     122Before adding services, the service templates has to be added,
     123
    93124[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/service_template32.png, 600)]]
     125
     126After, services can be added as following as per requirements:
    94127
    95128[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/service33.png, 600)]]