These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (http://creativecommons.org/licenses/by-nc/3.0/)

Slides:



Advertisements
Similar presentations
Copyright © 2006 Help Desk Systems, Inc. All rights reserved. Overview of Help Desk Systems Inc. (HDSI) HDSI offers a hosted, web based trouble ticket.
Advertisements

Overview of network monitoring development at AMRES Slavko Gajin.
Bangkok, Thailand An Introduction intERLab at AIT Network Management Workshop March – Bangkok, Thailand Hervey Allen & Phil Regnauld.
VIREO 3.0 RYAN STEANS, TEXAS DIGITAL LIBRARY KRISTI PARK, TEXAS DIGITAL LIBRARY New features and fixes This presentation published under a Creative Commons.
Network Management Workshop intERlab at AIT Thailand March 11-15, 2008 Network Operations and Network Management.
NOC Tools Donal O’Cearbhaill HEAnet Ltd.. Ireland’s National Education and Research Network Provides Internet services to Irish Universities Broadband.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Introduction. 2 What Is SmartFlow? SmartFlow is the first application to test QoS and analyze the performance and behavior of the new breed of policy-based.
2008 Mérida, Venezuela Papeete, Tahiti Network and Server Statistics using Cacti PacNOG5 17 June 2009 Hervey Allen.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Bangkok, Thailand Smokeping & Cacti intERLab at AIT Workshop March – Bangkok, Thailand Hervey Allen.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Windows Server 2008 Chapter 11 Last Update
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Project Proposal: Academic Job Market and Application Tracker Website Project designed by: Cengiz Gunay Client: Cengiz Gunay Audience: PhD candidates and.
SmartLog X 3 TEAM Basic SmartLog X 3 TEAM Basic DescoEMIT.com USER STATUS USER EDIT TEST LOG ADMIN TEST MACHINE SCHEDULE INSTALL System Requirements:
Papeete, French Polynesia Measuring Delay with PacNOG5 – 17 June 2009 Papeete, French Polynesia Hervey Allen.
Measuring Delay with AfNOG Network Management Tutorial.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Hsu Chun-Hung Network Benchmarking Lab
Network Management Tool Amy Auburger. 2 Product Overview Made by Ipswitch Affordable alternative to expensive & complicated Network Management Systems.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Taipei, Taiwan Smokeping & Cacti APRICOT 2008 Workshop February – Taipei, Taiwan Hervey Allen.
Network and Server Statistics using Cacti. Introduction A tool to monitor, store and present network and system/server statistics Designed around RRDTool.
workshop eugene, oregon What is network management? System & Service monitoring  Reachability, availability Resource measurement/monitoring.
EASI a free web database application for collecting and managing monitoring records.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
What’s New in WatchGuard XCS v9.1 Update 1. WatchGuard XCS v9.1 Update 1  Enhancements that improve ease of use New Dashboard items  Mail Summary >
Integration of AMP & Tracenol By: Qasim Bilal Lone.
Graphing and statistics with Cacti AfNOG 11, Kigali/Rwanda.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
New Delhi, India Smokeping/Cacti/Munin SANOG 10 Workshop August 29-Sep 2 – New Delhi, India Hervey Allen.
APRICOT 2010 Kuala Lumpur, Malaysia
2010 These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Manchester University Tiny Network Element Monitor (MUTiny NEM) A Network/Systems Management Tool Dave McClenaghan, Manchester Computing George Neisser,
D-Link TSD 2009 workshop D-Link Net-Defends Firewall Training ©Copyright By D-Link HQ TSD Benson Wu.
WebWatcher A Lightweight Tool for Analyzing Web Server Logs Hervé DEBAR IBM Zurich Research Laboratory Global Security Analysis Laboratory
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
SmokePing.
SmokePing. Overview Network monitoring IP address, hostname Network services e.g. DNS, SMTP, HTTP Latency measurement Round trip delay time Historical.
workshop eugene, oregon Measuring Delay with PacNOG 6 Nadi, Fiji
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
MRTG / RRDTool Network Management Workshop intERlab at AIT Thailand March 11-15, 2008.
Maintaining and Updating Windows Server 2008 Lesson 8.
Homework 5 DNS 、 HTTPD 、 SNMP. Requirements One dedicated domain name for yourself Setup DNS server with following records  SOA, NS, MX  Make them reasonable.
2008 Taipei, Taiwan An Introduction APRICOT 2008 Network Management Workshop February – Taipei, Taiwan Hervey Allen & Phil.
Network Monitoring Sebastian Büttrich, NSRC / IT University of Copenhagen Last edit: February 2012, ICTP Trieste
workshop eugene, oregon Measuring Delay with Network Design and Operations 24 July 2009
'08 Rabat Smokeping & Cacti Network Monitoring & Management Tutorial June 1, 2008 – AfNOG 2008 Hervey Allen.
OPEN SOURCE NETWORK MANAGEMENT TOOLS
'08 Rabat An Introduction AfNOG 2008 Network Management Workshop June 1-2 – Rabat, Morocco Hervey Allen & Phil Regnauld.
Network Management Workshop March – Bangkok, Thailand
Network Management Workshop
MRTG / RRDTool Network Management Workshop June 2009
Measuring Delay with APRICOT 2009 February 20 Hervey Allen
Measuring Delay with APRICOT 2009 February 20 Hervey Allen
Network Operations and Network Management
Smokeping/Cacti/Munin
Measuring Delay with Network Design and Operations 24 July 2009
Network Monitoring & Management Tutorial
Network and Server Statistics using Cacti AfNOG May Hervey Allen
InControl R2 Overview Running Reports.
InControl R2 Contact Center Reports Overview
Presentation transcript:

These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license ( Measuring Delay with Network Management & Monitoring

Based on RRDTool (the same author) Measures ICMP delay and can measure status of services such as HTTP, DNS, SMTP, SSH, LDAP, etc. Define ranges on statistics and generate alarms. Written in Perl for portability Easy to install harder to configure. Introduction

SmokePing keeps track of your network latency: Best of breed latency visualisation. Interactive graph explorer. Wide range of latency measurment 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 Introduction: “Marketing”

The “Smoke” and the “Pings”

How to Read Smokeping Graphs Smokeping sends multiples tests (pings), makes note of RTT, orders these and selects the median. The different values of RTT are shown graphically as lighter and darker shades of grey (the “smoke”). This conveys the idea of variable round trip times or jitter. The number of lost packets (if any) changes the color of the horizontal line across the graph.

An Example

The following packages are needed or recommended:  rrdtool  fping  echopinghttp://echoping.sourceforge.net/  speedyCGI  Apache  Perl What makes it tick!

Debian/Ubuntu: apt-get install smokeping Configure /etc/smokeping/config.d/* Change Smokeping's appearance here:  /etc/smokeping/basepage.html Restart the service:  /etc/init.d/smokeping restart  /etc/init.d/smokeping reload  service smokeping restart/reload Smokeping: Installation

You will find Smokeping running here: Smokeping Installation

Smokeping configuration files in Ubuntu include: /etc/smokeping/config.d/Alerts /etc/smokeping/config.d/Database /etc/smokeping/config.d/General /etc/smokeping/config.d/pathnames /etc/smokeping/config.d/Presentation /etc/smokeping/config.d/Probes /etc/smokeping/config.d/Slaves /etc/smokeping/config.d/Targets Generally we spend most of our time in Alerts, General, Probes and Targets. Configuration

*** General /etc/smokeping/config.d/pathnames # Please edit this to suit your installation owner = NOC contact = cgiurl = mailhost = localhost # specify this to get syslog logging syslogfacility = local5 # each probe is now run in its own process # disable this to revert to the old behaviour # concurrentprobes = no *** General /etc/smokeping/config.d/pathnames # Please edit this to suit your installation owner = NOC contact = cgiurl = mailhost = localhost # specify this to get syslog logging syslogfacility = local5 # each probe is now run in its own process # disable this to revert to the old behaviour # concurrentprobes = no Configuration: General Update: owner  NOC contact  cgiurl  mailhost  localhost syslogfacility  local5

sendmail = /usr/sbin/sendmail imgcache = /var/www/smokeping imgurl =../smokeping datadir = /var/lib/smokeping dyndir = /var/lib/smokeping/__cgi piddir = /var/run/smokeping smok = /etc/smokeping/smok tmail = /etc/smokeping/tmail precreateperms = 2775 sendmail = /usr/sbin/sendmail imgcache = /var/www/smokeping imgurl =../smokeping datadir = /var/lib/smokeping dyndir = /var/lib/smokeping/__cgi piddir = /var/run/smokeping smok = /etc/smokeping/smok tmail = /etc/smokeping/tmail precreateperms = 2775 Normally you should not need to update this file: Configuration: pathnames

*** Presentation *** template = /etc/smokeping/basepage.html + charts menu = Charts title = The most interesting destinations ++ stddev sorter = StdDev(entries=>4) title = Top Standard Deviation menu = Std Deviation format = Standard Deviation %f ++ max sorter = Max(entries=>5) title = Top Max Roundtrip Time menu = by Max format = Max Roundtrip Time %f seconds *** Presentation *** template = /etc/smokeping/basepage.html + charts menu = Charts title = The most interesting destinations ++ stddev sorter = StdDev(entries=>4) title = Top Standard Deviation menu = Std Deviation format = Standard Deviation %f ++ max sorter = Max(entries=>5) title = Top Max Roundtrip Time menu = by Max format = Max Roundtrip Time %f seconds Configuration: Presentation If you wish to customize Smokeping’s look and feel you can edit the file /etc/smokeping/basepage.html To change how Smokeping presents graphs you can edit this file. File continues…

*** Alerts *** to = from = +bigloss type = loss # in percent pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0% comment = suddenly there is packet loss +someloss type = loss # in percent pattern = >0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row over 12 samples *** Alerts *** to = from = +bigloss type = loss # in percent pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0% comment = suddenly there is packet loss +someloss type = loss # in percent pattern = >0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row over 12 samples Configuration: Alerts Very flexible. Create your own type of alert. Send alerts to ticket queues (RT using rt-mailgate, for instance) Somewhat complex to understand. Read the Alerts section of the Smokeping on-line configuration documentation: Ubuntu-specific alert. The name is misleading as the alert is for any loss when there was none previously. Remember this goes to our RT queue.

*** Database *** step = 300 pings = 20 # consfn mrhb steps total AVERAGE AVERAGE MIN MAX AVERAGE MAX MIN *** Database *** step = 300 pings = 20 # consfn mrhb steps total AVERAGE AVERAGE MIN MAX AVERAGE MAX MIN Configuration: Database Defines how RRDtool will save data over time in Round Robin Archives (RRAs) By default each step is 300 seconds (5 minutes). You cannot trivially change the step setting once data has been collected. Details on each column in the Database section of the Smokeping on-line configuration documentation: consfn:Consolidation function mrhb:Percent of consolidated steps that must be known to warrant an entry. steps:How many steps to consolidate for each entry in the RRA. total:Total number of rows to keep in the RRA. Use rows and steps to determine time data will be saved. 12 steps = 12 x 300 sec = 1 hour 4320 rows = 4320 hours = 180 days 12 steps = 12 x 300 sec = 1 hour 4320 rows = 4320 hours = 180 days

*** Probes *** + FPing binary = /usr/sbin/fping + DNS binary = /usr/bin/dig lookup = nsrc.org pings = 5 step = EchoPingHttp binary = /usr/bin/echoping ignore_cache = yes pings = 5 url = / + EchoPingHttps binary = /usr/bin/echoping pings = 5 url = / + EchoPingSmtp binary = /usr/bin/echoping forks = 5 *** Probes *** + FPing binary = /usr/sbin/fping + DNS binary = /usr/bin/dig lookup = nsrc.org pings = 5 step = EchoPingHttp binary = /usr/bin/echoping ignore_cache = yes pings = 5 url = / + EchoPingHttps binary = /usr/bin/echoping pings = 5 url = / + EchoPingSmtp binary = /usr/bin/echoping forks = 5 Configuration: Probes Smokeping is installed with a number of additional probes. They must, however, be specified here – including their default behaviors. Use the DNS probe to verify that your services are available and responding as expected. We use ”nsrc.org” as a sample hostname to lookup, to verify that the DNS works. Use the DNS probe to verify that your services are available and responding as expected. We use ”nsrc.org” as a sample hostname to lookup, to verify that the DNS works.

# *** Slaves *** # ## make sure this is not world-readable! ## secrets=/etc/smokeping/slave-secrets # # +slave1 # display_name=slave_name # color=0000ff # *** Slaves *** # ## make sure this is not world-readable! ## secrets=/etc/smokeping/slave-secrets # # +slave1 # display_name=slave_name # color=0000ff Configuration: Slaves Smokeping slave servers allow for multi-viewpoint monitoring and graphing of the same services, machines or links. Details here: That is, you can externally monitor your network!

*** Targets *** probe = FPing menu = Top title = Network Latency Grapher + UO menu = University of Oregon title = UO webserver host = + NSRC menu = NSRC title = Network Startup Resource Center host = ++ HTTP menu = HTTP probe = EchoPingHttp +++ www menu = NSRC web host = ++ DNS menu = DNS probe = DNS +++ dns menu = NSRC DNS host = *** Targets *** probe = FPing menu = Top title = Network Latency Grapher + UO menu = University of Oregon title = UO webserver host = + NSRC menu = NSRC title = Network Startup Resource Center host = ++ HTTP menu = HTTP probe = EchoPingHttp +++ www menu = NSRC web host = ++ DNS menu = DNS probe = DNS +++ dns menu = NSRC DNS host = Where we spend most of our time configuring Smokeping. Web menu hierarchy defined by “+”, “++”, etc. Each new probe statement resets the default probe in use. Probes have defaults set in the Probes config file. These can be overridden in Targets. Configuration: Targets

Probing for delay and jitter (ping) Performance and availability probe of a server. Entry belongs in the Targets file: Latency +++ LocalMachine menu = localhost title = Our local machine host = localhost alerts = startloss,someloss,bigloss,rttdetect Default Probe: FPing

DNS Latency ++ DNS probe = DNS menu = External DNS Check title = DNS Latency +++ nsrc host = nsrc.org Probe: DNS Check In /etc/smokeping/config.d/Targets:

MultiHost Graphing Solve the issue of multiple hosts, one probe and missing differences in the Y axis (time): Sample configuration +++MultihostRouters menu = MutihostRouters title = Combined Router Results host = /Local/Routers/gw-rtr /Local/Routers/rtr1 /Local/Routers/rtr2

Example Multihost Graph

More information available here: A few more probes...  DNS- CiscoRTTMonDNS- Radius  HTTP(S)- CiscoRTTMonTcpCon - IOS  LDAP- Tacacs- FPing6  Whois - WebProxyFilter- Etc.  SMTP - WWW-Cache More Types of Probes

Summary Simple but powerful network monitoring Monitor machines, services and link health Distributed instances for external views – often a paid-for service Easy to configure and customize, but very extensible. Can use with Ticketing Systems to automate alerts Very small disk and CPU footprint

Smokeping website: Smokeping Demo: Good examples: References