SlideShare a Scribd company logo
ICINGA
2
O P E N S O U R C E M O N I TO R I N G S Y S T E M
WHAT IS ICINGA?
• Icinga 2 is an open source monitoring system which checks the availability of your
network resources, notifies users of outages and generates performance data for
reporting.
• Scalable and extensible, Icinga 2 can monitor large, complex environments across
multiple locations.
• Icinga 2 and the Icinga 2 documentation are licensed under the terms of the GNU
General Public License Version 2.
HOW TO CONTRIBUTE TO ICINGA 2
• There are many ways to contribute to Icinga
a) By sending patches
b) Testing
c) Reporting Bugs
d) Reviewing or updating documentation
INSTALLATION
• Basically ICINGA 2 is for UNIX Operating System and not for windows. But its web
version is supported for windows
• We can monitor any system through ICINGA Web 2 on windows.
• Different commands are used to install ICINGA 2 on different operating system.
• If we want to install it on UBUNTU, we use the following command
apt-get install icinga2
• If we want to install it on CENTOS, we use the following command
yum install icinga2
* Meanwhile there are different commands to install ICINGA 2 for different operating systems
DATABASE
• Databases that is used for ICINGA 2 are MYSQL/MariaDB & PostgreSQL
• There are different methods to set up database on different operating systems.
MONITORING BASICS OF ICINGA 2
• Given below are the monitoring basics of ICINGA 2
a) Attributes & Values
b) Hosts & Services
c) Templates
d) Custom Attributes and Values
e) Runtime Macros
f) Apply Rules
g) Groups
h) Notifications
i) Commands(Check Commands)
j) Dependencies
ATTRIBUTES & VALUES
• In ICINGA 2 configuration we have different value types which we called data types in sense
of programming.
• The value types are :
a) Number // This type contain any numeric value
b) Duration // This type contain the duration e.g 1m // one minute
c) String // Any thing written in quotation marks e.g “Hello”
d) Boolean // Its value can be true or false depending on the situation
e) Array // { “value1” , “value2” }
f) Dictionary // in which we specify the value of element inside array
{ “key1” = “value1”, “key2” = “value2”}
*It is important to use the correct value type for object attributes as otherwise the configuration validation will fail
HOSTS & SERVICES
• Hosts and Services can be virtually anything that can be checked in some way
• Host can be in one of the following states
a) Up // The Host is available
b) Down // The Host is unavailable
• Services can exist in one of following states
a) Ok // The Service is working properly
b) Warning // The Service is experiencing some problem but still in working condition
c) Critical // The Service is in critical state
d) Unknown // This check could not determine the state of service
• When a problem is detected in Host or Service, ICINGA 2 re-checks object using following
settings
a) max_check_attempts //Host/Service has not recently changed and this state is known as HARD
b) retry_interval // Host/Service has recently changed and is being rechecked and this state is known as
SOFT
TEMPLATES
• Templates may be used to apply a set of
identical attributes to more than one
object
Example
We make a generic service which
includes
some attributes like
duration, max_attempts,
check_attempts, retry_interval etc.
Instead of defining it in
every service we just import the
template service so that our service will
inherit the properties of template
service
CUSTOM ATTRIBUTES
• Like built in attribute values and types we
can also define our own attributes inside
the vars attribute
• Vars can be defined in two ways
• The custom attribute value types are
a) String
b) Numbers
c) Boolean
d) Arrays and Dictionaries
e) Functions
• Macros can be used to access other objects and attributes at runtime
Example
These runtime macros are used in command definitions to figure out which IP
address a
check should be run against
• The evaluation order for the runtime macros executes as the following
a) User Object (for notifications)
b) Service Object
c) Host Object
d) Command Object
e) Global Custom Attributes in Variables Constant
RUNTIME MACROS
APPLY RULES
• By using apply rules we can use only one service
object and that can be applied to multiple hosts by
just including check command to perform check on
it.
• For example
If you want basic monitoring for all your hosts, add
a ping4 service apply rule for all hosts which have
the address attribute specified. Just one rule for
1000 hosts instead of 1000 service objects. Apply
rules will automatically generate them for you.
GROUPS
A group is a collection of similar objects. Groups
are used as visualization aid in web interfaces
By considering an example that we can create a
host group and then we check every host and we
can add the desired host to the created group
NOTIFICATIONS
• Notifications for service and host problems are an integral
part of your monitoring setup.
• When a host or service is in a downtime, a problem has
been acknowledged or the dependency logic determined
that the host/service is unreachable, no notifications are
sent. You can configure additional type and state filters
refining the notifications being sent
• There are many ways of sending notifications, e.g. by
email, XMPP, IRC, Twitter, etc.
• On its own Icinga 2 does not know how to send
notifications. Instead it relies on external mechanisms such
as shell scripts to notify users
COMMANDS
• Icinga 2 uses three different command object types
to specify how checks should be performed,
notifications should be sent, and events should be
handled.
• CheckCommand objects define the command line
how a check is called.
• CheckCommand objects are referenced
by Host and Service objects using
the check_command attribute.
DEPENDENCIES
Icinga 2 uses host and service Dependency objects for
determining their network reachability.
A service can depend on a host, and vice versa.
A service has an implicit dependency (parent) to its host.
A host to host dependency acts implicitly as host parent
relation.
When dependencies are calculated, not only the immediate
parent is considered, but all parents are inherited.
ICINGA 2
REPORTING
REPORTING
Basically, it is a framework and a
foundation created to handle the
data collected by ICINGA 2 and
other data providers. The
reporting does not collect or
calculate any of the data.
01
The framework processes usable
data from data providers such as
ICINGA IDO. We need to know
that what is ICINGA IDO.
02
ICINGA 2 IDO
The IDO (ICINGA Data Output) feature is for the
ICINGA 2 which take care of exporting all the
configurations and status information in to a
database. The IDO database is used by the
ICINGA Web 2 as a data backend.
The ICINGA’S IDO or ICINGA Web 2 modules
make the usable data output available in
different formats. The first version can display
the data directly within the ICINGA Web
Interface or export it to PDF, JSON or CSV
format. Through the scheduled reports we can
receive the prepared data periodically via email.
IDO REPORTS
• The IDO is the database where ICINGA 2 stores all the status data it collects.
It is also the first data provider for ICINGA Reporting.
• Firstly, we calculate the availability of the hosts and services over a certain
amount of time and return a percentage value.
• This allows us to evaluate and compare the accessibility of our applications
and network devices.
• We can also use the data to check that if the Service Level Agreement is
met and to share it with the team and managers.
OPEN SOURCE
PROJECTS
• ICINGA reporting consists of multiple
project. The team is still working, and
they are trying to extend the existing
modules to provide data for ICINGA
Reporting.
ANY
QUESTIONS
?

More Related Content

What's hot

Infrastructure as Code with Terraform and Ansible
Infrastructure as Code with Terraform and AnsibleInfrastructure as Code with Terraform and Ansible
Infrastructure as Code with Terraform and Ansible
DevOps Meetup Bern
 
NGINX Kubernetes Ingress Controller: Getting Started – EMEA
NGINX Kubernetes Ingress Controller: Getting Started – EMEANGINX Kubernetes Ingress Controller: Getting Started – EMEA
NGINX Kubernetes Ingress Controller: Getting Started – EMEA
Aine Long
 
Airflow Best Practises & Roadmap to Airflow 2.0
Airflow Best Practises & Roadmap to Airflow 2.0Airflow Best Practises & Roadmap to Airflow 2.0
Airflow Best Practises & Roadmap to Airflow 2.0
Kaxil Naik
 
Monitoring Java Applications with Prometheus and Grafana
Monitoring Java Applications with Prometheus and GrafanaMonitoring Java Applications with Prometheus and Grafana
Monitoring Java Applications with Prometheus and Grafana
Justin Reock
 
Prometheus 101
Prometheus 101Prometheus 101
Prometheus 101
Paul Podolny
 
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX: Basics & Best Practices - EMEA BroadcastNGINX: Basics & Best Practices - EMEA Broadcast
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX, Inc.
 
Nmap basics
Nmap basicsNmap basics
NGINX ADC: Basics and Best Practices – EMEA
NGINX ADC: Basics and Best Practices – EMEANGINX ADC: Basics and Best Practices – EMEA
NGINX ADC: Basics and Best Practices – EMEA
NGINX, Inc.
 
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
[오픈소스컨설팅] EFK Stack 소개와 설치 방법[오픈소스컨설팅] EFK Stack 소개와 설치 방법
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
Open Source Consulting
 
Grafana introduction
Grafana introductionGrafana introduction
Grafana introduction
Rico Chen
 
High Availability Content Caching with NGINX
High Availability Content Caching with NGINXHigh Availability Content Caching with NGINX
High Availability Content Caching with NGINX
NGINX, Inc.
 
NGINX: HTTP/2 Server Push and gRPC
NGINX: HTTP/2 Server Push and gRPCNGINX: HTTP/2 Server Push and gRPC
NGINX: HTTP/2 Server Push and gRPC
NGINX, Inc.
 
Nginx
NginxNginx
Prometheus on NKS
Prometheus on NKSPrometheus on NKS
Prometheus on NKS
Jo Hoon
 
Nginx
NginxNginx
Malware Analysis Made Simple
Malware Analysis Made SimpleMalware Analysis Made Simple
Malware Analysis Made Simple
Paul Melson
 
OpenVAS
OpenVASOpenVAS
OpenVAS
svm
 
Introduction to shodan
Introduction to shodanIntroduction to shodan
Introduction to shodan
n|u - The Open Security Community
 
Nginx Essential
Nginx EssentialNginx Essential
Nginx Essential
Gong Haibing
 
PromQL Deep Dive - The Prometheus Query Language
PromQL Deep Dive - The Prometheus Query Language PromQL Deep Dive - The Prometheus Query Language
PromQL Deep Dive - The Prometheus Query Language
Weaveworks
 

What's hot (20)

Infrastructure as Code with Terraform and Ansible
Infrastructure as Code with Terraform and AnsibleInfrastructure as Code with Terraform and Ansible
Infrastructure as Code with Terraform and Ansible
 
NGINX Kubernetes Ingress Controller: Getting Started – EMEA
NGINX Kubernetes Ingress Controller: Getting Started – EMEANGINX Kubernetes Ingress Controller: Getting Started – EMEA
NGINX Kubernetes Ingress Controller: Getting Started – EMEA
 
Airflow Best Practises & Roadmap to Airflow 2.0
Airflow Best Practises & Roadmap to Airflow 2.0Airflow Best Practises & Roadmap to Airflow 2.0
Airflow Best Practises & Roadmap to Airflow 2.0
 
Monitoring Java Applications with Prometheus and Grafana
Monitoring Java Applications with Prometheus and GrafanaMonitoring Java Applications with Prometheus and Grafana
Monitoring Java Applications with Prometheus and Grafana
 
Prometheus 101
Prometheus 101Prometheus 101
Prometheus 101
 
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX: Basics & Best Practices - EMEA BroadcastNGINX: Basics & Best Practices - EMEA Broadcast
NGINX: Basics & Best Practices - EMEA Broadcast
 
Nmap basics
Nmap basicsNmap basics
Nmap basics
 
NGINX ADC: Basics and Best Practices – EMEA
NGINX ADC: Basics and Best Practices – EMEANGINX ADC: Basics and Best Practices – EMEA
NGINX ADC: Basics and Best Practices – EMEA
 
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
[오픈소스컨설팅] EFK Stack 소개와 설치 방법[오픈소스컨설팅] EFK Stack 소개와 설치 방법
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
 
Grafana introduction
Grafana introductionGrafana introduction
Grafana introduction
 
High Availability Content Caching with NGINX
High Availability Content Caching with NGINXHigh Availability Content Caching with NGINX
High Availability Content Caching with NGINX
 
NGINX: HTTP/2 Server Push and gRPC
NGINX: HTTP/2 Server Push and gRPCNGINX: HTTP/2 Server Push and gRPC
NGINX: HTTP/2 Server Push and gRPC
 
Nginx
NginxNginx
Nginx
 
Prometheus on NKS
Prometheus on NKSPrometheus on NKS
Prometheus on NKS
 
Nginx
NginxNginx
Nginx
 
Malware Analysis Made Simple
Malware Analysis Made SimpleMalware Analysis Made Simple
Malware Analysis Made Simple
 
OpenVAS
OpenVASOpenVAS
OpenVAS
 
Introduction to shodan
Introduction to shodanIntroduction to shodan
Introduction to shodan
 
Nginx Essential
Nginx EssentialNginx Essential
Nginx Essential
 
PromQL Deep Dive - The Prometheus Query Language
PromQL Deep Dive - The Prometheus Query Language PromQL Deep Dive - The Prometheus Query Language
PromQL Deep Dive - The Prometheus Query Language
 

Similar to ICINGA (Monitoring Basics & Reporting)

Copy of learn_the_art_of_firewall_security(1)
Copy of learn_the_art_of_firewall_security(1)Copy of learn_the_art_of_firewall_security(1)
Copy of learn_the_art_of_firewall_security(1)
ManageEngine, Zoho Corporation
 
Null talk
Null talkNull talk
Null talk
Agam Jain
 
Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014 Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014
Uri Cohen
 
OSMC 2023 | Current State of Icinga by Bernd Erk
OSMC 2023 | Current State of Icinga by Bernd ErkOSMC 2023 | Current State of Icinga by Bernd Erk
OSMC 2023 | Current State of Icinga by Bernd Erk
NETWAYS
 
4. system models
4. system models4. system models
4. system models
AbDul ThaYyal
 
session and cookies.ppt
session and cookies.pptsession and cookies.ppt
session and cookies.ppt
Jayaprasanna4
 
Angular 2 overview in 60 minutes
Angular 2 overview in 60 minutesAngular 2 overview in 60 minutes
Angular 2 overview in 60 minutes
Loiane Groner
 
Object oriented design patterns for distributed systems
Object oriented design patterns for distributed systemsObject oriented design patterns for distributed systems
Object oriented design patterns for distributed systems
Jordan McBain
 
Thick Client Testing Basics
Thick Client Testing BasicsThick Client Testing Basics
Thick Client Testing Basics
NSConclave
 
.NET microservices with Azure Service Fabric
.NET microservices with Azure Service Fabric.NET microservices with Azure Service Fabric
.NET microservices with Azure Service Fabric
Davide Benvegnù
 
ManageEngine OpUtils Technical Overview
ManageEngine OpUtils Technical OverviewManageEngine OpUtils Technical Overview
ManageEngine OpUtils Technical Overview
ManageEngine, Zoho Corporation
 
Microservices
MicroservicesMicroservices
Microservices
Ramesh (@Mavuluri)
 
Intro to Automation Using Perfecto's CQ Lab
Intro to Automation Using Perfecto's CQ LabIntro to Automation Using Perfecto's CQ Lab
Intro to Automation Using Perfecto's CQ Lab
Lizzy Guido (she/her)
 
Observability for Integration Using WSO2 Enterprise Integrator
Observability for Integration Using WSO2 Enterprise IntegratorObservability for Integration Using WSO2 Enterprise Integrator
Observability for Integration Using WSO2 Enterprise Integrator
WSO2
 
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIXCassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
Vinay Kumar Chella
 
Decentralized cloud firewall framework with resources provisioning cost optim...
Decentralized cloud firewall framework with resources provisioning cost optim...Decentralized cloud firewall framework with resources provisioning cost optim...
Decentralized cloud firewall framework with resources provisioning cost optim...
aish006
 
Oracle Enterprise manager SNMP and Exadata
Oracle Enterprise manager SNMP and ExadataOracle Enterprise manager SNMP and Exadata
Oracle Enterprise manager SNMP and Exadata
Mike Chafin
 
Pluggable Infrastructure with CI/CD and Docker
Pluggable Infrastructure with CI/CD and DockerPluggable Infrastructure with CI/CD and Docker
Pluggable Infrastructure with CI/CD and Docker
Bob Killen
 
Sumo Logic Quickstart Training 10/14/2015
Sumo Logic Quickstart Training 10/14/2015Sumo Logic Quickstart Training 10/14/2015
Sumo Logic Quickstart Training 10/14/2015
Sumo Logic
 
Chat application through client server management system project.pdf
Chat application through client server management system project.pdfChat application through client server management system project.pdf
Chat application through client server management system project.pdf
Kamal Acharya
 

Similar to ICINGA (Monitoring Basics & Reporting) (20)

Copy of learn_the_art_of_firewall_security(1)
Copy of learn_the_art_of_firewall_security(1)Copy of learn_the_art_of_firewall_security(1)
Copy of learn_the_art_of_firewall_security(1)
 
Null talk
Null talkNull talk
Null talk
 
Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014 Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014
 
OSMC 2023 | Current State of Icinga by Bernd Erk
OSMC 2023 | Current State of Icinga by Bernd ErkOSMC 2023 | Current State of Icinga by Bernd Erk
OSMC 2023 | Current State of Icinga by Bernd Erk
 
4. system models
4. system models4. system models
4. system models
 
session and cookies.ppt
session and cookies.pptsession and cookies.ppt
session and cookies.ppt
 
Angular 2 overview in 60 minutes
Angular 2 overview in 60 minutesAngular 2 overview in 60 minutes
Angular 2 overview in 60 minutes
 
Object oriented design patterns for distributed systems
Object oriented design patterns for distributed systemsObject oriented design patterns for distributed systems
Object oriented design patterns for distributed systems
 
Thick Client Testing Basics
Thick Client Testing BasicsThick Client Testing Basics
Thick Client Testing Basics
 
.NET microservices with Azure Service Fabric
.NET microservices with Azure Service Fabric.NET microservices with Azure Service Fabric
.NET microservices with Azure Service Fabric
 
ManageEngine OpUtils Technical Overview
ManageEngine OpUtils Technical OverviewManageEngine OpUtils Technical Overview
ManageEngine OpUtils Technical Overview
 
Microservices
MicroservicesMicroservices
Microservices
 
Intro to Automation Using Perfecto's CQ Lab
Intro to Automation Using Perfecto's CQ LabIntro to Automation Using Perfecto's CQ Lab
Intro to Automation Using Perfecto's CQ Lab
 
Observability for Integration Using WSO2 Enterprise Integrator
Observability for Integration Using WSO2 Enterprise IntegratorObservability for Integration Using WSO2 Enterprise Integrator
Observability for Integration Using WSO2 Enterprise Integrator
 
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIXCassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
 
Decentralized cloud firewall framework with resources provisioning cost optim...
Decentralized cloud firewall framework with resources provisioning cost optim...Decentralized cloud firewall framework with resources provisioning cost optim...
Decentralized cloud firewall framework with resources provisioning cost optim...
 
Oracle Enterprise manager SNMP and Exadata
Oracle Enterprise manager SNMP and ExadataOracle Enterprise manager SNMP and Exadata
Oracle Enterprise manager SNMP and Exadata
 
Pluggable Infrastructure with CI/CD and Docker
Pluggable Infrastructure with CI/CD and DockerPluggable Infrastructure with CI/CD and Docker
Pluggable Infrastructure with CI/CD and Docker
 
Sumo Logic Quickstart Training 10/14/2015
Sumo Logic Quickstart Training 10/14/2015Sumo Logic Quickstart Training 10/14/2015
Sumo Logic Quickstart Training 10/14/2015
 
Chat application through client server management system project.pdf
Chat application through client server management system project.pdfChat application through client server management system project.pdf
Chat application through client server management system project.pdf
 

Recently uploaded

一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
k4ncd0z
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
uehowe
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
Paul Walk
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
3a0sd7z3
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
rtunex8r
 
HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
Donato Onofri
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
fovkoyb
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
uehowe
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
wolfsoftcompanyco
 
Bengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal BrandingBengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal Branding
Tarandeep Singh
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
3a0sd7z3
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
Toptal Tech
 

Recently uploaded (16)

一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
 
HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
 
Bengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal BrandingBengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal Branding
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
 

ICINGA (Monitoring Basics & Reporting)

  • 1.
  • 2. ICINGA 2 O P E N S O U R C E M O N I TO R I N G S Y S T E M
  • 3. WHAT IS ICINGA? • Icinga 2 is an open source monitoring system which checks the availability of your network resources, notifies users of outages and generates performance data for reporting. • Scalable and extensible, Icinga 2 can monitor large, complex environments across multiple locations. • Icinga 2 and the Icinga 2 documentation are licensed under the terms of the GNU General Public License Version 2.
  • 4. HOW TO CONTRIBUTE TO ICINGA 2 • There are many ways to contribute to Icinga a) By sending patches b) Testing c) Reporting Bugs d) Reviewing or updating documentation
  • 5. INSTALLATION • Basically ICINGA 2 is for UNIX Operating System and not for windows. But its web version is supported for windows • We can monitor any system through ICINGA Web 2 on windows. • Different commands are used to install ICINGA 2 on different operating system. • If we want to install it on UBUNTU, we use the following command apt-get install icinga2 • If we want to install it on CENTOS, we use the following command yum install icinga2 * Meanwhile there are different commands to install ICINGA 2 for different operating systems
  • 6. DATABASE • Databases that is used for ICINGA 2 are MYSQL/MariaDB & PostgreSQL • There are different methods to set up database on different operating systems.
  • 7. MONITORING BASICS OF ICINGA 2 • Given below are the monitoring basics of ICINGA 2 a) Attributes & Values b) Hosts & Services c) Templates d) Custom Attributes and Values e) Runtime Macros f) Apply Rules g) Groups h) Notifications i) Commands(Check Commands) j) Dependencies
  • 8. ATTRIBUTES & VALUES • In ICINGA 2 configuration we have different value types which we called data types in sense of programming. • The value types are : a) Number // This type contain any numeric value b) Duration // This type contain the duration e.g 1m // one minute c) String // Any thing written in quotation marks e.g “Hello” d) Boolean // Its value can be true or false depending on the situation e) Array // { “value1” , “value2” } f) Dictionary // in which we specify the value of element inside array { “key1” = “value1”, “key2” = “value2”} *It is important to use the correct value type for object attributes as otherwise the configuration validation will fail
  • 9. HOSTS & SERVICES • Hosts and Services can be virtually anything that can be checked in some way • Host can be in one of the following states a) Up // The Host is available b) Down // The Host is unavailable • Services can exist in one of following states a) Ok // The Service is working properly b) Warning // The Service is experiencing some problem but still in working condition c) Critical // The Service is in critical state d) Unknown // This check could not determine the state of service • When a problem is detected in Host or Service, ICINGA 2 re-checks object using following settings a) max_check_attempts //Host/Service has not recently changed and this state is known as HARD b) retry_interval // Host/Service has recently changed and is being rechecked and this state is known as SOFT
  • 10. TEMPLATES • Templates may be used to apply a set of identical attributes to more than one object Example We make a generic service which includes some attributes like duration, max_attempts, check_attempts, retry_interval etc. Instead of defining it in every service we just import the template service so that our service will inherit the properties of template service
  • 11. CUSTOM ATTRIBUTES • Like built in attribute values and types we can also define our own attributes inside the vars attribute • Vars can be defined in two ways • The custom attribute value types are a) String b) Numbers c) Boolean d) Arrays and Dictionaries e) Functions
  • 12. • Macros can be used to access other objects and attributes at runtime Example These runtime macros are used in command definitions to figure out which IP address a check should be run against • The evaluation order for the runtime macros executes as the following a) User Object (for notifications) b) Service Object c) Host Object d) Command Object e) Global Custom Attributes in Variables Constant RUNTIME MACROS
  • 13. APPLY RULES • By using apply rules we can use only one service object and that can be applied to multiple hosts by just including check command to perform check on it. • For example If you want basic monitoring for all your hosts, add a ping4 service apply rule for all hosts which have the address attribute specified. Just one rule for 1000 hosts instead of 1000 service objects. Apply rules will automatically generate them for you.
  • 14. GROUPS A group is a collection of similar objects. Groups are used as visualization aid in web interfaces By considering an example that we can create a host group and then we check every host and we can add the desired host to the created group
  • 15. NOTIFICATIONS • Notifications for service and host problems are an integral part of your monitoring setup. • When a host or service is in a downtime, a problem has been acknowledged or the dependency logic determined that the host/service is unreachable, no notifications are sent. You can configure additional type and state filters refining the notifications being sent • There are many ways of sending notifications, e.g. by email, XMPP, IRC, Twitter, etc. • On its own Icinga 2 does not know how to send notifications. Instead it relies on external mechanisms such as shell scripts to notify users
  • 16. COMMANDS • Icinga 2 uses three different command object types to specify how checks should be performed, notifications should be sent, and events should be handled. • CheckCommand objects define the command line how a check is called. • CheckCommand objects are referenced by Host and Service objects using the check_command attribute.
  • 17. DEPENDENCIES Icinga 2 uses host and service Dependency objects for determining their network reachability. A service can depend on a host, and vice versa. A service has an implicit dependency (parent) to its host. A host to host dependency acts implicitly as host parent relation. When dependencies are calculated, not only the immediate parent is considered, but all parents are inherited.
  • 19. REPORTING Basically, it is a framework and a foundation created to handle the data collected by ICINGA 2 and other data providers. The reporting does not collect or calculate any of the data. 01 The framework processes usable data from data providers such as ICINGA IDO. We need to know that what is ICINGA IDO. 02
  • 20. ICINGA 2 IDO The IDO (ICINGA Data Output) feature is for the ICINGA 2 which take care of exporting all the configurations and status information in to a database. The IDO database is used by the ICINGA Web 2 as a data backend. The ICINGA’S IDO or ICINGA Web 2 modules make the usable data output available in different formats. The first version can display the data directly within the ICINGA Web Interface or export it to PDF, JSON or CSV format. Through the scheduled reports we can receive the prepared data periodically via email.
  • 21. IDO REPORTS • The IDO is the database where ICINGA 2 stores all the status data it collects. It is also the first data provider for ICINGA Reporting. • Firstly, we calculate the availability of the hosts and services over a certain amount of time and return a percentage value. • This allows us to evaluate and compare the accessibility of our applications and network devices. • We can also use the data to check that if the Service Level Agreement is met and to share it with the team and managers.
  • 22. OPEN SOURCE PROJECTS • ICINGA reporting consists of multiple project. The team is still working, and they are trying to extend the existing modules to provide data for ICINGA Reporting.