Monitoring with Smokeping

MdAbdulAwal2 801 views 19 slides May 12, 2016
Slide 1
Slide 1 of 19
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19

About This Presentation

Presented at TEIN HRD Workshop held at Dhaka, Bangladesh on Nov 23-27, 2013


Slide Content

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Md. Abdul Awal
BdREN
[email protected]
●Basic ●Installation ●Configuration
Monitoring with Smokeping

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Before we go!
Thanks for keeping your cell in silent mode 
Technical Sessions
Smokeping
Weathermap
Administrative:
Workshop resources: ftp://10.10.10.188/
Tea Break (10:30 –11:00) and (15:30 –16:00)
Lunch Break (12:30 –14:00)
Certificate Awarding (16:00 –17:30)
Dinner (at the Evening)
Lab Facilitators
Md. ArifulIslam <[email protected]>
Md. Abdul Awal <[email protected]>
Please interrupt anytime with your questions
Please fill the evaluation form after the session
2

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Agenda
Introduction
ICMP and Ping
SmokepingBasics
Graph Details
Discussion
3

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Terminology
Ping
Internet Control Message Protocol (ICMP)
Round-Trip Time (RTT)
Packet Loss
Jitter
Median
Standard Deviation (SD)
4

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Ping
Widely used to test destination availability
Measures RTT between source and destination
Shows packet loss and jitter
Source sends echo request (ping) and receives echo
reply (pong) from Destination
5

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
ICMP Packet
6
* Diagram from www.wikipedia.org

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Ping Packet
Echo Request
Echo Reply
7
* Diagram from www.wikipedia.org
* Diagram from www.wikipedia.org

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
How Ping Works
8
* Diagram from www.wikipedia.org
PingNo. Source Destination RTT
1 a.b.c.d 103.28.120.17 123 ms
a.b.c.d
www.bdren.net.bd
103.28.120.17
Source/Destination
Echo Request
Echo Reply
2 a.b.c.d 103.28.120.17 105 ms
3 a.b.c.d 103.28.120.17 117 ms
4 a.b.c.d 103.28.120.17 107 ms
Ping www.bdren.net.bd

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
How Ping Works
9

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Monitoring With Ping
10

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Introduction to Smokeping
Best of breed latency visualization
Interactive graph explorer
Wide range of latency measurement plugins
Master/Slave System for distributed measurement
Highly configurable alerting system
Live Latency Charts with the most 'interesting' graphs
Free and OpenSourceSoftware written in Perl written
by Tobi Oetiker, the creator of MRTG and RRDtool
11

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
SmokepingFeatures
Latency measurement tool
Visual representation of ICMP delay
Lots of information in a picture
Easy to install and configure
Written in Perl
Based on RRDTool
Generate alarms
Integration with ticketing system
12

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
How SmokepingWorks
Sends several test packets (pings) in each round of
measurement
Makes note of RTT of each ping packet
Sorts different RTTs and selects the median
The median value is drawn in the graph
Other values of RTTs are drawn as lighter shades of gray
(smoke)
The color of the median line changes according to the
number of packets lost
13

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Graph Interpretation
All this information together gives an indication of network
health
Colored horizontal line represents median RTT and the
packet loss (if any)
The smokes represents jitter, the more scattered smokes, the
more fluctuation in the RTT
14

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
An Example
15

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
MultihostGraph
16
* Diagram from Smokepingwebsite

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Advantages
Simple but powerful network monitoring
Monitor machines, services and link health
Easy to configure and customize, but very extensible
Shows historical graphs
Can use with Ticketing Systems to automate alerts
Very small disk and CPU footprint
Distributed instances for external views
17

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Reference
SmokepingWebsite:
http://oss.oetiker.ch/smokeping/
Demo:
http://oss.oetiker.ch/smokeping-demo/?target=Customers.OP
Examples:
http://oss.oetiker.ch/smokeping/doc/smokeping_examples.en.html
Other Sites:
https://wiki.archlinux.org/index.php/smokeping
http://aacable.wordpress.com/tag/smokeping-configuration/
More:
From the workshop materials of NSRC (www.nsrc.org)
Google and Youtube
18

23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Discussion
19
* Picture from www.onethousandandone.com.au