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

Similar to Introduction to Monitoring Tools for DevOps (20)

PPTX
What is Spinnaker? Spinnaker tutorial
jeetendra mandal
 
PPTX
Kubernetes Infra 2.0
Deepak Sood
 
PDF
Triangle Devops Meetup 10/2015
aspyker
 
PPTX
InfrastructureDevOps.pptx it is most sui
pmishra37
 
PPTX
Splunk metrics via telegraf
Ashvin Pandey
 
PDF
Infrastructure as Code & its Impact on DevOps
Bahaa Al Zubaidi
 
PDF
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
Spark Summit
 
DOC
CV_RishabhDixit
Rishabh Dixit
 
PDF
the tooling of a modern and agile oracle dba
BertrandDrouvot
 
PDF
2015 03-16-elk at-bsides
Jeremy Cohoe
 
PPTX
Devops
JyothirmaiG4
 
PDF
Deep Dive Into Elasticsearch: Establish A Powerful Log Analysis System With E...
Tyler Nguyen
 
PDF
Graylog
Knoldus Inc.
 
PPT
Co 4, session 2, aws analytics services
m vaishnavi
 
PPTX
Netflix Cloud Architecture and Open Source
aspyker
 
PDF
Talkbits service architecture and deployment
Open-IT
 
PPTX
Relay: The Next Leg, Eric Sorenson, Puppet
Puppet
 
PDF
Stay productive_while_slicing_up_the_monolith
Markus Eisele
 
DOC
Ananth_Ravishankar
ananth R
 
PPTX
Splunk
Deep Mehta
 
What is Spinnaker? Spinnaker tutorial
jeetendra mandal
 
Kubernetes Infra 2.0
Deepak Sood
 
Triangle Devops Meetup 10/2015
aspyker
 
InfrastructureDevOps.pptx it is most sui
pmishra37
 
Splunk metrics via telegraf
Ashvin Pandey
 
Infrastructure as Code & its Impact on DevOps
Bahaa Al Zubaidi
 
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
Spark Summit
 
CV_RishabhDixit
Rishabh Dixit
 
the tooling of a modern and agile oracle dba
BertrandDrouvot
 
2015 03-16-elk at-bsides
Jeremy Cohoe
 
Devops
JyothirmaiG4
 
Deep Dive Into Elasticsearch: Establish A Powerful Log Analysis System With E...
Tyler Nguyen
 
Graylog
Knoldus Inc.
 
Co 4, session 2, aws analytics services
m vaishnavi
 
Netflix Cloud Architecture and Open Source
aspyker
 
Talkbits service architecture and deployment
Open-IT
 
Relay: The Next Leg, Eric Sorenson, Puppet
Puppet
 
Stay productive_while_slicing_up_the_monolith
Markus Eisele
 
Ananth_Ravishankar
ananth R
 
Splunk
Deep Mehta
 

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

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

Recently uploaded (20)

PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Digital Circuits, important subject in CS
contactparinay1
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Ad

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% }