monitoring with smokeping
TRANSCRIPT
23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Md. Abdul AwalBdREN
● 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. Ariful Islam <[email protected]>
Md. Abdul Awal <[email protected]>
Please interrupt anytime with your questions
Please fill the evaluation form after the session2
23-27 November 2013, Dhaka, BangladeshTEIN Workshop on Network Management and Monitoring
Agenda
Introduction
ICMP and Ping
Smokeping Basics
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
Ping No. 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 OpenSource Software 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
Smokeping Features
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 Smokeping Works
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
Multihost Graph
16
* Diagram from Smokeping website
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
Smokeping Website: 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