Tobias Oetiker. OSCON 2005 Portland, Oregon, August 3, 2005



Similar documents
RRDtool. Tobi Oetiker Sponsors: AboveNet CAIDA ETH Zurich RRDtool NANOG Nr.

Getting Started with RRDtool

RRDtool Tips & Tricks

How To Use Multi Router Traffic Grapher (Mrtg)

MRTG / RRDTool. Network Management Workshop. June 2009 Papeete, French Polynesia

Network performance overview. TEIN2 Bangkok September 2005

Fritz Speed Documentation

Network Monitoring & Management Measuring Delay with Smokeping

Network Monitoring. Dhruba Raj Bhandari (CCNA) Manager Systems Soaltee Crowne Plaza Kathmandu NEPAL

Cacti complete network graphing solution. Oz Melamed E&M Computing Jun 2009

Network Monitoring. Review of Software

Storage of Network Monitoring and Measurement Data

SNMP and MRTG Monitoring. SNMP and MRTG Monitoring. Introduction. Start. 1 de 9 07/06/ :33. Contents

Maintaining Non-Stop Services with Multi Layer Monitoring

Installing AWStats on IIS 6.0 (Including IIS 5.1) - Revision 3.0

Monitoring MySQL. Presented by, MySQL & O Reilly Media, Inc. A quick overview of available tools

Monitoring High Capacity Counters with WhatsUp Gold v11

HTGR- Netflow. or, how to know what your network really did without going broke

MRTG used for Basic Server Monitoring

Fast and Easy Subnetting. Marc Khayat, Technical Advocacy Team May 2011

CAREN NOC MONITORING AND SECURITY

Grids & networks monitoring - practical approach

T he complete guide to SaaS metrics

A Web-based System to Monitor and Analyze Network Management Information in XML

(Refer Slide Time: 1:17-1:40 min)

Slides from INF3331 lectures - web programming in Python

Proceedings of the 14th Systems Administration Conference (LISA 2000)

GJC Web Design Virtuemart 2.0 Radius Shipping Plugin

GSM. Quectel Cellular Engine. HTTP Service AT Commands GSM_HTTP_ATC_V1.2

Using Wireshark to Create Network-Usage Baselines

File Transfer Protocols In Anzio

Web App Development Session 1 - Getting Started. Presented by Charles Armour and Ryan Knee for Coder Dojo Pensacola

Power Monitoring with Linux

AfNOG Monitoring of IP Services. Ayitey Bulley Material generously borrowed from the NSRC NME course

Cacti-ReportItv A small introduction to the use of ReportIt

Watch your Flows with NfSen and NFDUMP 50th RIPE Meeting May 3, 2005 Stockholm Peter Haag

imageprograf Software Solutions Advanced Software Features for Your Canon imageprograf

From mathematics to a nice figure in a LaTeX document

Quick Start Guide. Contents. Quick Start Guide Version 1.0 webcrm November 09

Personalizing Your Signature Appearances

Dwebs IIS Log Archiver Installation and Configuration Guide for Helm 4

CONCEPT1 RS232 COMMUNICATION

Advanced System Monitoring

nfdump and NfSen 18 th Annual FIRST Conference June 25-30, 2006 Baltimore Peter Haag 2006 SWITCH

Introduction Course in SPSS - Evening 1

ESPResSo Summer School 2012

IT Service Level Management 2.1 User s Guide SAS

Basic File Recording

Spotify services. The whole is greater than the sum of the parts. Niklas Gustavsson. måndag 4 mars 13

Introduction to: Computers & Programming: Input and Output (IO)

AXIGEN Mail Server Reporting Service

STUDY AND SIMULATION OF A DISTRIBUTED REAL-TIME FAULT-TOLERANCE WEB MONITORING SYSTEM

Preflight Report. Warnings

May PZ-0502A-WWEN Prepared by: Internet & E-Commerce Solutions

Network and Server Statistics Using Cacti

1. Stem. Configuration and Use of Stem

Certified VETtrak User (Finance Features) Course Outline

IT Infrastructure Management

Bulk Downloader. Call Recording: Bulk Downloader

Network and Server Statistics Using Cacti

IGSS. Interactive Graphical SCADA System. Quick Start Guide

Version Control with. Ben Morgan

Newton Linux User Group Graphing SNMP with Cacti and RRDtool

netflow-indexer Documentation

Enterprise Content Management System Monitor. Server Debugging Guide CENIT AG Bettighofer, Stefan

Using RichCopy. For. Bulk Fileshare Transfer

CS Unix Tools & Scripting Lecture 9 Shell Scripting

NetFlow Aggregation. Feature Overview. Aggregation Cache Schemes

Gephi Tutorial Visualization

1. INTERFACE ENHANCEMENTS 2. REPORTING ENHANCEMENTS

Do you know how your TSM environment is evolving?

SolarWinds. Understanding SolarWinds Charts and Graphs Technical Reference

Real Time Monitor. A Real-Time Windows Operator Interface. DDE Compliant. (for remote data display)

opennms reporting generation tool

So today we shall continue our discussion on the search engines and web crawlers. (Refer Slide Time: 01:02)

An Overview of the Nimsoft Log Monitoring Solution

TSM Studio Server User Guide

Manual Software SPECTRO3-MONITORING V5.0

Online databackup solution combined comparisons

Graphing and Trending in Nagios

Configuring System Message Logging

Schlatter WeldAnalyzer

10 Thomas, Irvine, CA USA Tel: (949) Fax: (949) Toll Free: (800) 23 FUTEK

Linux System Administration

AB-Clock. Manual. Copyright by GRAHL software design

How To Monitor A Network With Snmp (Network Monitoring)

Note: A WebFOCUS Developer Studio license is required for each developer.

SSMS Built in Reports for Server and Database Monitoring

Introduction to CloudScript

Transcription:

ISG.EE - ETH Zürich OSCON 2005 Portland, Oregon, August 3, 2005

Netflow Data presented with Fluxscope

Content The world today About data collection A graph says more than 1 000 words The world today About data collection A graph says more than 1 000 words

Numbers everywhere The world today About data collection A graph says more than 1 000 words 15 users online 1.34 PB free tape space 31 223 ifinoctets 100 degrees in the server room 87 Mb/s transfer rate

All these questions Are we running out of diskspace? Is there a pattern in the high server load? Is there really global warming? Can we do something about it? Collect that data! The world today About data collection A graph says more than 1 000 words

How to collect data The world today About data collection A graph says more than 1 000 words collect everything, analyze later (aka never) data with known properties makes life simpler from research to production

Requirements for a solution The world today About data collection A graph says more than 1 000 words handle counters and gauges be nice to the server setup for specific task data-pre processing and forget about it...

Condor use at UW The world today About data collection A graph says more than 1 000 words

Making data accessible The world today About data collection graphical representation eye candy for the people analysis at a glance A graph says more than 1 000 words make my boss look good to his boss

Data post-processing The world today About data collection A graph says more than 1 000 words highlight interesting properties combine data from several sources add extra Information

Content History Features Graphing features History Features Graphing features

1995: MRTG was only a start logfiles in text format gnuplot for graphs 1996 - MRTG is used for amazing tasks more performance more flexibility History Features Graphing features

The rrd TOOL a building block basis for a better MRTG (2nd system) basis for hundreds of other tools Google says: industry standard History Features Graphing features

The Round Robin Database lossy storage, fixed file size current data is the most interesting consolidation functions for feature extraction artificial data-sources holt-winters aberrant behavior detection constant step size fixed disk space History Features Graphing features

Feeding Data combat jitter by taking acquisition time into account. preserve data-volume on-the-fly data validation deal with unknown data time is a one way street History Features Graphing features

Basic Graphing auto scaling auto labeling sensible defaults quick results anti-aliased output multiple formats (png/eps/pdf/svg) History Features Graphing features

change colors, fonts, sizes data from several databases data processing with RPN math alpha transparency (rrggbbaa) support of locale based character encoding truetype fonts History Features Graphing features

Content

On the command line Just another Unix command. code rrdtool cmd arg example rrdtool info demo.rrd

Via STDIN Save startup time by feeding several commands. code echo cmd arg rrdtool - example echo info demo.rrd rrdtool - several commands fast operation simple interface

perl module I love coding in perl... code use RRDs; my $return = RRDs::cmd arg; example use RRDs; use Data::Dumper my $ret = RRDs::info "demo.rrd"; print Dumper $ret;

Other Bindings RRDcgi Perl Pipes - RRDp Python Tcl and more externally

Creating Round Robin Databases what data do I want to look at? how long do I want to keep it? what are the interesting properties of my data? what to keep in one rrd file? Command rrdtool create filename [ start start time] [ step step] [DS:ds-name:DST:heartbeat:min:max] [RRA:CF:xff:steps:rows] DST: COUNTER, GAUGE, DERIVE, ABSOLUTE, New in 1.2: COMPUTE CF: AVERAGE, MIN, MAX, LAST, New in 1.2: Aberrant Behavior Detection.

Create Example example rrdtool create example.rrd --step=60\ DS:in:COUNTER:600:0:1000 \ RRA:AVERAGE:0.5:1:100 \ RRA:AVERAGE:0.5:10:100 \ RRA:MAX:0.5:10:100 resolution 60 seconds COUNTER data source updates at least every 600 seconds accept rates between 0 and 1000 three archive with 100 entries store unknown unless half are known.

Adding Data into a Round Robin Database Command rrdtool update filename [ template ds:ds:... ] time:value:value... [... ] data value and acquisition time timestamps have to increase with every update instead of time use N for now templates are for redundancy only

Update Example example rrdtool update example.rrd \ --template in N:39344

Data re-bin-ing 1 280k octets 700 octets/sec 2 400s 3 300s 300s Data Aquisition Data Storage 300s 300s

Data Consolidation RRA with 1 PDP AVERAGE RRA with 2 PDP AVERAGE RRA with 3 PDP

The first graph Command rrdtool graph graph.png DEF:var=rrdfile:DS-name:CF LINE1:var#rrggbb:label 1. prepare data (DEF) 2. draw graph (LINE1)

Data processing with RPN (remember the HP days) What if you have collected octets but want to present bits? Calculated time series and variables CDEF:var=RPN expression Examples a,8,* a,b,+ a,b,c,if a,1800,trend a,b,c,limit a 8 (bit to byte conversion) a + b if (a!=0) then b else c half-hour sliding window average if (a>b AND a<c) then a else UNKN

Data processing with RPN Calculated single value variable VDEF:var=RPN expression var is associated with a time and a data value. Examples a,total a,average a,95,percent rate multiplied with interval average value of a find 95-percentile

MRTG like Graph Example rrdtool graph graph.png \ DEF:in=data.rrd:input:AVERAGE \ DEF:out=data.rrd:output:AVERAGE \ AREA:in#ff0000:incoming \ LINE2:out#00ff00:outgoing

Graph with marked maximum Example rrdtool graph graph.png \ DEF:a=data.rrd:a:AVERAGE \ VDEF:max=a,MAXIMUM \ LINE2:a#00ff00:outgoing \ LINE1:max#ff0000:maximum\\g \ VRULE:max#ff0000 \ GPRINT:max:"at %.2lf"

Graph with marked maximum

Graph with 95 percentile Example rrdtool graph.png \ DEF:in=data.rrd:input \ DEF:out=data.rrd:output \ CDEF:base=in,out,MAX \ VDEF:n95=base,95,PERCENT \ AREA:in#0000b0:incoming \ AREA:out#00ff0080:outgoing LINE1:base#000000:maximum \ LINE1:n95#ff0000:"95%-tile "\ GRPINT:n95:"at %.2lf %s"

Graph with 95 percentile

Mailserver Statistics

Content

carefully design your RRD structure use RPN math to beat your data into form write your own monitors, does the boring stuff look good More information on... http://www.rrdtool.org