SlideShare a Scribd company logo
Continuous
Monitoring
Continuous Monitoring is all about the ability of an organization to
detect, report, respond, contain and mitigate the attacks that occur, in
its infrastructure.
Type of
Monitoring
Depending on how complicated your monitoring needs are,
there are many different services available that can help you
monitor you applications at various levels.
Some of commonly used monitoring activities are.
• Real Time Monitoring - Perform real-time continuous
monitoring of business processes and data analytics. For
example Splunk.
• Application Performance Monitoring - To fully manage and
monitor the performance of an application. For Example
AppDynamics, Scout
• Infrastructure Monitoring – SolarWinds, Nagios, Zabbix
• Log Monitoring – SumoLogic, Splunk, ELK Stack
ELK Stack
ELK Stack
• Popularly known as ELK Stack has been recently re-branded as
Elastic Stack. It is a powerful collection of three open source
tools: Elasticsearch, Logstash, and Kibana.
• These three different products are most commonly used
together for log analysis in different IT environments. Using ELK
Stack you can perform centralized logging which helps in
identifying the problems with the web servers or applications. It
lets you search through all the logs at a single place and identify
the issues spanning through multiple servers by correlating their
logs within a specific time frame.
ELK Architecture
Logstash
Logstash is the data collection pipeline tool. It the first
component of ELK Stack which collects data inputs and
feeds it to the Elasticsearch. It collects various types of
data from different sources, all at once and makes it
available immediately for further use.
Elasticsearch
Elasticsearch is a NoSQL database which is based on
Lucene search engine and is built with RESTful APIs that
uses JSON as the data exchange format. It is a highly
flexible and distributed search and analytics engine.
Also, it provides simple deployment, maximum reliability,
and easy management through horizontal scalability. It
provides advanced queries to perform detailed analysis
and stores all the data centrally for quick search of the
documents.
Kibana
Kibana is a data visualization tool. It is used for
visualizing the Elasticsearch documents and helps the
developers to have an immediate insight into it. Kibana
dashboard provides various interactive diagrams,
geospatial data, timelines, and graphs to visualize the
complex queries done using Elasticsearch. Using Kibana
you can create and save custom graphs according to your
specific needs.
ELK Configuration…
All these three tools are based on JVM and before start installing them,
please verify that JDK has been properly configured.
Check that standard JDK 1.8 installation, JAVA_HOME and PATH set up is already done.
Elasticsearch
•Download latest version of Elasticsearch from this download page and unzip it any folder.
•Run binelasticsearch.bat from command prompt.
•By default, it would start at http://localhost:9200
ELK Configuration…
Kibana
•Download the latest distribution from download page and unzip into any folder.
•Open config/kibana.yml in an editor and set elasticsearch.url to point at your Elasticsearch
instance.
In our case as we will use the local instance just uncomment elasticsearch.url:
"http://localhost:9200"
•Run binkibana.bat from command prompt.
•Once started successfully, Kibana will start on default port 5601 and Kibana UI will be available
at http://localhost:5601
Logstash
•Download the latest distribution from download page and unzip into any folder.
•Create one file logstash.conf as per configuration instructions.
We will again come to this point during actual demo time for exact configuration.
Now run bin/logstash -f logstash.conf to start logstash
ELK Configuration
Nagios
What is Nagios?
• Nagios is used for Continuous
monitoring of systems,
applications, services, and
business processes etc in a DevOps
culture. In the event of a failure,
Nagios can alert technical staff of
the problem, allowing them to
begin remediation processes
before outages affect business
processes, end-users, or customers.
With Nagios, you don’t have to
explain why an unseen
infrastructure outage affect your
organization’s bottom line.
Nagios Architecture
•Nagios is built on a server/agents architecture.
•Usually, on a network, a Nagios server is running on a host, and Plugins interact with local and all the remote
hosts that need to be monitored.
•These plugins will send information to the Scheduler, which displays that in a GUI.
Nagios Remote Plugin Executor (NRPE)
•The check_nrpe plugin,
resides on the local monitoring
machine.
•The NRPE daemon, runs on
the remote Linux/Unix
machine.
•There is a SSL (Secure Socket
Layer) connection between
monitoring host and remote
host as shown in the diagram
above.
Nagios configuration files
• The main configuration file is “nagios.cfg” in etc
• cfg_file=contactgroups.cfg
• cfg_file=contacts.cfg
• cfg_file=dependencies.cfg
• cfg_file=escalations.cfg
• cfg_file=hostgroups.cfg
• cfg_file=hosts.cfg
• cfg_file=services.cfg
• cfg_file=timeperiods.cfg
• These are much like #include statements, allowing you to structure
your files.
Hosts.cfg
define host{
use generic-host ; Name of host template
host_name server1 ; name of computer
alias server1.localdomain ; canonical name
address 10.0.0.1 ; ip address
check_command check-host-alive ; defined in commands.cfg
max_check_attempts 10 ; used when check fails
notification_interval 60 ; how long between notification events
notification_period 24x7 ; defined in timeperiods.cfg
notification_options d,u,r ;
}
Services.cfg
define service{
use generic-service ; template
host_name server1 ; defined in hosts.cfg
service_description PING ;
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups peoplewhocare ;defined in contactgroups
notification_interval 60
notification_period 24x7
notification_options c,r
check_command check_ping!100.0,20%!500.0,60%
}
Nagios Web UI
Thanks

More Related Content

PPTX
ELK Ruminating on Logs (Zendcon 2016)
PDF
Eko10 - Security Monitoring for Big Infrastructures without a Million Dollar ...
PDF
Log analysis with the elk stack
PDF
Logs aggregation and analysis
PPTX
Log management with ELK
PPTX
Elk ruminating on logs
DOCX
ESB APPLICTAION IMPROVEMENT -2024 - this
PDF
Practical security monitoring with ELASTIC STACK by Janith Malinga econ2019
ELK Ruminating on Logs (Zendcon 2016)
Eko10 - Security Monitoring for Big Infrastructures without a Million Dollar ...
Log analysis with the elk stack
Logs aggregation and analysis
Log management with ELK
Elk ruminating on logs
ESB APPLICTAION IMPROVEMENT -2024 - this
Practical security monitoring with ELASTIC STACK by Janith Malinga econ2019

Similar to Introduction to Monitoring Tools for DevOps (20)

PDF
Lesson_08_Continuous_Monitoring.pdf
PDF
ELK stack introduction
PDF
"How about no grep and zabbix?". ELK based alerts and metrics.
PDF
2015 03-16-elk at-bsides
PPTX
Centralized Logging System Using ELK Stack
PDF
Security Monitoring for big Infrastructures without a Million Dollar budget
PPTX
Practical Security Monitoring with ELKStack
PPTX
Elastic Stack Introduction
PDF
DIY Netflow Data Analytic with ELK Stack by CL Lee
PDF
Handout: 'Open Source Tools & Resources'
PPTX
centralization of log systems pour suivis
PDF
Null Bachaav - May 07 Attack Monitoring workshop.
PPTX
Log analysis using Logstash,ElasticSearch and Kibana
PPTX
Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014
PDF
Technology behind-real-time-log-analytics
PPTX
ELK Solutions Enablement Session - 17th March'2020
KEY
London devops logging
PPTX
PDF
Présentation ELK/SIEM et démo Wazuh
PPTX
MySQL Audit using Percona audit plugin and ELK
Lesson_08_Continuous_Monitoring.pdf
ELK stack introduction
"How about no grep and zabbix?". ELK based alerts and metrics.
2015 03-16-elk at-bsides
Centralized Logging System Using ELK Stack
Security Monitoring for big Infrastructures without a Million Dollar budget
Practical Security Monitoring with ELKStack
Elastic Stack Introduction
DIY Netflow Data Analytic with ELK Stack by CL Lee
Handout: 'Open Source Tools & Resources'
centralization of log systems pour suivis
Null Bachaav - May 07 Attack Monitoring workshop.
Log analysis using Logstash,ElasticSearch and Kibana
Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014
Technology behind-real-time-log-analytics
ELK Solutions Enablement Session - 17th March'2020
London devops logging
Présentation ELK/SIEM et démo Wazuh
MySQL Audit using Percona audit plugin and ELK
Ad

More from Puneet Kumar Bhatia (MBA, ITIL V3 Certified) (20)

PPTX
Python Conditional_Statements_and_Functions
PPTX
Web programming using python frameworks.
PPTX
Azure Fubdamentals (Az-900) presentation.
PPTX
Azure - Basic concepts and overview.pptx
PPTX
Cloud Computing basics - an overview.pptx
PPTX
Ansible as configuration management tool for devops
PPTX
Microsoft Azure - Basic concepts presentation
PPTX
Introduction to the Nexus tool for DevOps
PPTX
Introduction to Monitoring Tools for DevOps
PPT
Introduction to Devops and its applications
PPTX
Container Orchestration using kubernetes
PPTX
Containerization using docker and its applications
PPTX
Containerization using docker and its applications
PDF
Java Microservices_64 Hours_Day wise plan (002).pdf
PDF
Java Microservices_64 Hours_Day wise plan (002).pdf
PPTX
Changing paradigm in job market
PDF
Python Conditional_Statements_and_Functions
Web programming using python frameworks.
Azure Fubdamentals (Az-900) presentation.
Azure - Basic concepts and overview.pptx
Cloud Computing basics - an overview.pptx
Ansible as configuration management tool for devops
Microsoft Azure - Basic concepts presentation
Introduction to the Nexus tool for DevOps
Introduction to Monitoring Tools for DevOps
Introduction to Devops and its applications
Container Orchestration using kubernetes
Containerization using docker and its applications
Containerization using docker and its applications
Java Microservices_64 Hours_Day wise plan (002).pdf
Java Microservices_64 Hours_Day wise plan (002).pdf
Changing paradigm in job market
Ad

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPT
Teaching material agriculture food technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
A Presentation on Artificial Intelligence
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
sap open course for s4hana steps from ECC to s4
NewMind AI Weekly Chronicles - August'25-Week II
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
The Rise and Fall of 3GPP – Time for a Sabbatical?
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars
Teaching material agriculture food technology
Digital-Transformation-Roadmap-for-Companies.pptx
A comparative analysis of optical character recognition models for extracting...
Diabetes mellitus diagnosis method based random forest with bat algorithm
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Assigned Numbers - 2025 - Bluetooth® Document
A Presentation on Artificial Intelligence
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Introduction to Monitoring Tools for DevOps

  • 1. Continuous Monitoring Continuous Monitoring is all about the ability of an organization to detect, report, respond, contain and mitigate the attacks that occur, in its infrastructure.
  • 2. Type of Monitoring Depending on how complicated your monitoring needs are, there are many different services available that can help you monitor you applications at various levels. Some of commonly used monitoring activities are. • Real Time Monitoring - Perform real-time continuous monitoring of business processes and data analytics. For example Splunk. • Application Performance Monitoring - To fully manage and monitor the performance of an application. For Example AppDynamics, Scout • Infrastructure Monitoring – SolarWinds, Nagios, Zabbix • Log Monitoring – SumoLogic, Splunk, ELK Stack
  • 4. ELK Stack • Popularly known as ELK Stack has been recently re-branded as Elastic Stack. It is a powerful collection of three open source tools: Elasticsearch, Logstash, and Kibana. • These three different products are most commonly used together for log analysis in different IT environments. Using ELK Stack you can perform centralized logging which helps in identifying the problems with the web servers or applications. It lets you search through all the logs at a single place and identify the issues spanning through multiple servers by correlating their logs within a specific time frame.
  • 6. Logstash Logstash is the data collection pipeline tool. It the first component of ELK Stack which collects data inputs and feeds it to the Elasticsearch. It collects various types of data from different sources, all at once and makes it available immediately for further use.
  • 7. Elasticsearch Elasticsearch is a NoSQL database which is based on Lucene search engine and is built with RESTful APIs that uses JSON as the data exchange format. It is a highly flexible and distributed search and analytics engine. Also, it provides simple deployment, maximum reliability, and easy management through horizontal scalability. It provides advanced queries to perform detailed analysis and stores all the data centrally for quick search of the documents.
  • 8. Kibana Kibana is a data visualization tool. It is used for visualizing the Elasticsearch documents and helps the developers to have an immediate insight into it. Kibana dashboard provides various interactive diagrams, geospatial data, timelines, and graphs to visualize the complex queries done using Elasticsearch. Using Kibana you can create and save custom graphs according to your specific needs.
  • 9. ELK Configuration… All these three tools are based on JVM and before start installing them, please verify that JDK has been properly configured. Check that standard JDK 1.8 installation, JAVA_HOME and PATH set up is already done. Elasticsearch •Download latest version of Elasticsearch from this download page and unzip it any folder. •Run binelasticsearch.bat from command prompt. •By default, it would start at http://localhost:9200
  • 10. ELK Configuration… Kibana •Download the latest distribution from download page and unzip into any folder. •Open config/kibana.yml in an editor and set elasticsearch.url to point at your Elasticsearch instance. In our case as we will use the local instance just uncomment elasticsearch.url: "http://localhost:9200" •Run binkibana.bat from command prompt. •Once started successfully, Kibana will start on default port 5601 and Kibana UI will be available at http://localhost:5601 Logstash •Download the latest distribution from download page and unzip into any folder. •Create one file logstash.conf as per configuration instructions. We will again come to this point during actual demo time for exact configuration. Now run bin/logstash -f logstash.conf to start logstash
  • 13. What is Nagios? • Nagios is used for Continuous monitoring of systems, applications, services, and business processes etc in a DevOps culture. In the event of a failure, Nagios can alert technical staff of the problem, allowing them to begin remediation processes before outages affect business processes, end-users, or customers. With Nagios, you don’t have to explain why an unseen infrastructure outage affect your organization’s bottom line.
  • 14. Nagios Architecture •Nagios is built on a server/agents architecture. •Usually, on a network, a Nagios server is running on a host, and Plugins interact with local and all the remote hosts that need to be monitored. •These plugins will send information to the Scheduler, which displays that in a GUI.
  • 15. Nagios Remote Plugin Executor (NRPE) •The check_nrpe plugin, resides on the local monitoring machine. •The NRPE daemon, runs on the remote Linux/Unix machine. •There is a SSL (Secure Socket Layer) connection between monitoring host and remote host as shown in the diagram above.
  • 16. Nagios configuration files • The main configuration file is “nagios.cfg” in etc • cfg_file=contactgroups.cfg • cfg_file=contacts.cfg • cfg_file=dependencies.cfg • cfg_file=escalations.cfg • cfg_file=hostgroups.cfg • cfg_file=hosts.cfg • cfg_file=services.cfg • cfg_file=timeperiods.cfg • These are much like #include statements, allowing you to structure your files.
  • 17. Hosts.cfg define host{ use generic-host ; Name of host template host_name server1 ; name of computer alias server1.localdomain ; canonical name address 10.0.0.1 ; ip address check_command check-host-alive ; defined in commands.cfg max_check_attempts 10 ; used when check fails notification_interval 60 ; how long between notification events notification_period 24x7 ; defined in timeperiods.cfg notification_options d,u,r ; }
  • 18. Services.cfg define service{ use generic-service ; template host_name server1 ; defined in hosts.cfg service_description PING ; is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups peoplewhocare ;defined in contactgroups notification_interval 60 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% }