Papeete, French Polynesia Measuring Delay with PacNOG5 – 17 June 2009 Papeete, French Polynesia Hervey Allen.

Slides:



Advertisements
Similar presentations
Bangkok, Thailand An Introduction intERLab at AIT Network Management Workshop March – Bangkok, Thailand Hervey Allen & Phil Regnauld.
Advertisements

NOC Tools Donal O’Cearbhaill HEAnet Ltd.. Ireland’s National Education and Research Network Provides Internet services to Irish Universities Broadband.
SYSTEM ADMINISTRATION Chapter 19
QoS Solutions Confidential 2010 NetQuality Analyzer and QPerf.
Internet Applications: Telnet, Ping and Traceroute.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
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.
Copyright © 2013 FingerTec Worldwide Sdn.Bhd. All rights reserved.
2008 Mérida, Venezuela Papeete, Tahiti Network and Server Statistics using Cacti PacNOG5 17 June 2009 Hervey Allen.
Monitoring System Monitors Basics Monitor Types Alarms Actions RRD Charts Reports.
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.
WebReport/400 TCP/IP Configuration Presented by Kisco Information Systems.
Installing a New Windows Server 2008 Domain Controller in a New Windows Server 2008 R2.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Installing Active Directory on Windows Server 2008 R2 Installing Active Directory on a fresh Windows Server 2008 R2 machine in a home network. These instructions.
Advanced Networking for DVRs
Reconnaissance & Enumeration Baseline, Monitor, Detect, Analyze, Respond, & Recover Hervey Allen Chris Evans Phil Regnauld September 3 – 4, 2009 Santiago,
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.
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:
Measuring Delay with AfNOG Network Management Tutorial.
1 Network Statistic and Monitoring System Wayne State University Division of Computing and Information Technology Information Technology.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Finish configuration cloudclinica root jdbc:postgresql:5432//localhost/cc_db JDBC Url: JDBC Driver: User name: Password: ******** org.postgresql.Driver.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
1 The Firewall Menu. 2 Firewall Overview The GD eSeries appliance provides multiple pre-defined firewall components/sections which you can configure uniquely.
Network Management Tool Amy Auburger. 2 Product Overview Made by Ipswitch Affordable alternative to expensive & complicated Network Management Systems.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
TEAM Basic TotalElectrostatic ManagementAwareness&
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 4. Active Monitoring Techniques.
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.
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.
1 Electronic Messaging Module - Electronic Messaging ♦ Overview Electronic messaging helps you exchange messages with other computer users anywhere in.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Integration of AMP & Tracenol By: Qasim Bilal Lone.
Editing, vi and Configuration Files Introduction to Linux June 16, 2009 Papeete, French Polynesia Hervey Allen.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
1 / 22 AliRoot and AliEn Build Integration and Testing System.
Graphing and statistics with Cacti AfNOG 11, Kigali/Rwanda.
1 Implementing Monitoring and Reporting. 2 Why Should Implement Monitoring? One of the biggest complaints we hear about firewall products from almost.
New Delhi, India Smokeping/Cacti/Munin SANOG 10 Workshop August 29-Sep 2 – New Delhi, India Hervey Allen.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
Switch Features Most enterprise-capable switches have a number of features that make the switch attractive for large organizations. The following is a.
Manchester University Tiny Network Element Monitor (MUTiny NEM) A Network/Systems Management Tool Dave McClenaghan, Manchester Computing George Neisser,
The Diagnostic Pathfinder System Introduction Getting Started.
D-Link TSD 2009 workshop D-Link Net-Defends Firewall Training ©Copyright By D-Link HQ TSD Benson Wu.
IS493 INFORMATION SECURITY TUTORIAL # 1 (S ) ASHRAF YOUSSEF.
2008 Mérida, Venezuela 6 Nadi, Fiji Network and Server Statistics using Cacti PacNOG 6 November 2009 Hervey Allen Carlos Vicente.
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
Timer Alarm. What Is The Timer Alarm? The Timer Alarm provides a method for triggering time- based alarms during script playback.
Papeete Welcome! Linux Intro & Network Management Papeete, French Polynesia Instructors: Hervey Allen(Chile/USA) Phil Regnauld(France/Denmark)
Part A. Remote Viewing IP Surveillance Camera Application Guide.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
2008 Taipei, Taiwan An Introduction APRICOT 2008 Network Management Workshop February – Taipei, Taiwan Hervey Allen & Phil.
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
2008 Mérida, Venezuela 2009 Manila, Philippines Network and Server Statistics using Cacti APRICOT February 2009 Hervey Allen.
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.
LESSON Networking Fundamentals Understand TCP/IP.
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
Smokeping/Cacti/Munin
Measuring Delay with Network Design and Operations 24 July 2009
Presentation transcript:

Papeete, French Polynesia Measuring Delay with PacNOG5 – 17 June 2009 Papeete, French Polynesia Hervey Allen

Papeete, French Polynesia Introduction Based on RRDTool (the same author) Measures ICMP delay and can measure status of services such as HTTP, DNS, SMTP, SSH, LDAP, etc. Allows you to define ranges on statistics and generate alarms. Written in Perl for portability Relatively easy to install. In Debian it's very simple.

Papeete, French Polynesia 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 darkers 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. How to Read Smokeping Graphs

Papeete, French Polynesia The “Smoke” and the “Pings”

Papeete, French Polynesia Another Examples

Papeete, French Polynesia Requirements The following packages are needed or recommended:  rrdtool  fping  echoping  speedyCGI  Apache  Perl

Papeete, French Polynesia Smokeping: Installation 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/smokepring reload

Papeete, French Polynesia Smokeping: Instalation You will find Smokeping running here:

Papeete, French Polynesia Configuration The Smokeping configuration files are: /etc/smokeping/config.d/* They contain:  The locations of directories and components  Configuration of the probes used  Destination nodes and the format of the hierarchical Smokeping menu. Each '+' adds a level to the hierarchy In addition /etc/smokeping/basepage.html allows you to change the look and feel of the initial Smokeping web page.

Papeete, French Polynesia Configuration Files The listing of files in /etc/smokeping/config.d: Alerts: Define patterns of response probes to generate an alert – i.e., send an . Database: How many seconds to wait and pings to send per probe. Define deviations for graphing. General: Local installation owner, syslog facility to use, default URL to view pages, etc. pathnames: Where programs, configurations and items are kept on the local system.

Papeete, French Polynesia Configuration Files cont. The listing of files in /etc/smokeping/config.d cont. Presentation: Define the details of smokeping graphs and charts. Probes: Available probes and where the binary resides. Slaves: Define remote smokeping server instances and checks to report back to master server. Targets: The file we care the most about. Define all targets you are monitoring, what services to monitor on each target and your display hierarchy on the main smokeping web page.

Papeete, French Polynesia Configuration: Alerts *** 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 *** 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 /etc/smokeping/config.d/Alerts

Papeete, French Polynesia Configuration: Database *** 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 /etc/smokeping/config.d/Database

Papeete, French Polynesia Configuration: General *** General /etc/smokeping/config.d/pathnames # Please edit this to suit your installation owner = contact = cgiurl = mailhost = localhost # specify this to get syslog logging syslogfacility = local0 # 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 = contact = cgiurl = mailhost = localhost # specify this to get syslog logging syslogfacility = local0 # each probe is now run in its own process # disable this to revert to the old behaviour # concurrentprobes = no /etc/smokeping/config.d/General

Papeete, French Polynesia Configuration: pathnames 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 /etc/smokeping/config.d/pathnames You generally do not need to edit this file:

Papeete, French Polynesia Configuration: Presentation *** 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 /etc/smokeping/config.d/Presentation

Papeete, French Polynesia Configuration: Probes *** Probes *** + FPing binary = /usr/sbin/fping + DNS binary = /usr/bin/dig lookup = 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 = 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 /etc/smokeping/config.d/Probes

Papeete, French Polynesia Configuration: Slaves # *** 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 /etc/smokeping/config.d/Slaves

Papeete, French Polynesia Configuration: Targets *** Targets *** probe = FPing menu = Top title = Network Latency Grapher + UO menu = University of Oregon title = UO webserver host = + UTE menu = UTE title = Universidad Tecnologica Equinoccial ++ HTTP menu = HTTP probe = EchoPingHttp +++ www menu = UTE web host = ++ DNS menu = DNS probe = DNS +++ dns menu = UTE DNS host = *** Targets *** probe = FPing menu = Top title = Network Latency Grapher + UO menu = University of Oregon title = UO webserver host = + UTE menu = UTE title = Universidad Tecnologica Equinoccial ++ HTTP menu = HTTP probe = EchoPingHttp +++ www menu = UTE web host = ++ DNS menu = DNS probe = DNS +++ dns menu = UTE DNS host = Sample from the file: /etc/smokeping/config.d/Targets We will look at our classroom Targets configuration file on the NOC box.

Papeete, French Polynesia Default Probe: Ping Probing for delay and jitter (ping) ‏ Performance and availability probe of a server: Latency +++ LocalMachine menu = NOC title = The host = localhost alerts = startloss,someloss,bigloss,rttdetect,hostdown

Papeete, French Polynesia Another Type of Probe Performance and Availability ++ NOCsquid menu = Squid on the NOC title = www-cache / HTTP for probe = EchoPingHttp host = localhost port = 8080 url =

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

Papeete, French Polynesia Exercises Configure your machine so that it monitors all of our classroom network...  The idea is: Add entries in /etc/smokeping/config.d/Targets for each classroom PC (pc101-pc106, pc201-pc205, noc) Add entries for the switches and routers (mgmt-sw1, mgmt-sw2, bb-gw1, bb-gw2, switch) Use ping (the default probe) for the switches and routers Use ping, and if you want, check http status for some pcs Most everything can be found at

Papeete, French Polynesia More Exercises If you finish the previous exercises, then add checks for other types of service like DNS, HTTPS, etc. You can add checks for machines outside of our network.  Make sure that ping is not blocked. Other possibilities include:  alerts send when certain conditions are met.  Adding a group of PCs by a single type of probe in a single graph – i.e. aggregate result graphs. Very useful for quickly reviewing a group of machines and a single service.

Papeete, French Polynesia References Smokeping website: Good examples: