| 52 | | Rest is same as before we applied the services to the hosts. |
| | 52 | After, adding the service template, you will see a field when select the service template as in the example below, |
| | 53 | as Custom fields : dns check |
| | 54 | |
| | 55 | [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/icinga_handson_cont/fields_dns.png, 600)]] |
| | 56 | |
| | 57 | After selecting the fields from dropdown list as per the requirements, add the fields to the service template. |
| | 58 | |
| | 59 | [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/icinga_handson_cont/dns_fields.png, 600)]] |
| | 60 | |
| | 61 | Deply the changes you made and then you can modify the service template as follows if you need. |
| | 62 | |
| | 63 | [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/icinga_handson_cont/dns_check3.png, 600)]] |
| | 64 | |
| | 65 | Use the DNS service you created as needed. |