wiki:NSM2021/Agenda/icinga_handson_cont

Version 8 (modified by deepthi, 4 years ago) ( diff )

--

Icinga Hands - On - Cont

Through this hands-on you see

  • How to add a host
  • How to add a service
  • How to monitor disk space
  • How to check files
  • How to add an agent

How to add a host

How to add a host template

Before adding hosts, the host templates have to be added. These templates should have the details on how host needs to be checked.

https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/host_template28.png

Add a host

Add the hosts after adding host template:

https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/add_hosts30.png

How to add a Service

How to add a service template

Before adding services, the service templates has to be added,

https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/service_template32.png

Add a Service

After, services can be added as following as per requirements:

https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/iCinga/service33.png

Check DNS

Add the service template to dns check as follows,

https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/icinga_handson_cont/dnscheck.png

Rest is same as before we applied the services to the hosts.

How to check disk space

Before adding the service to check the disk space in a host, add the service template for the diskspace with necessary commands as following image

https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/icinga_handson_cont/diskspace_service.png

And after, Please add the service to the host to monitor the diskspace as follows

https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/icinga_handson_cont/diskcheck1.png

https://ws.learn.ac.lk/raw-attachment/wiki/NSM2021/Agenda/icinga_handson_cont/diskcheck2.png

How to check files

How to add an Agent

Agent settings are not available for modification directly on a host object. This requires you to create an “Icinga Agent” template. You could name it exactly like that; it’s important to use meaningful names for your templates.

Attachments (16)

Note: See TracWiki for help on using the wiki.