From: oetiker Date: Tue, 28 Jun 2011 16:40:23 +0000 (+0000) Subject: initial X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fe2a44a9e83179197418df62f4659babd69fd177;p=rrdtool-all.git initial git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2189 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/talks/fisl12/abstract.txt b/talks/fisl12/abstract.txt new file mode 100644 index 00000000..a7d8c378 --- /dev/null +++ b/talks/fisl12/abstract.txt @@ -0,0 +1,14 @@ +GoOpen 2009 + +RRDtool - how to make it sit up and beg +======================================= +A 40 minute Talk by Tobias Oetiker + +There are many tools that let you monitor systems and networks these days. +Most of the time, when you look under their hood, you find RRDtool at work +in storing data and drawing pretty graphs. + +In this talk I will give some insight into how RRDtool works. This will +enable you to optimize the way your monitoring software utilizes RRDtool. I +will also talk about the latest features in RRDtool and how they will help you +to scale RRDtool performance way up without breaking the bank. diff --git a/talks/fisl12/active-acache-management.pdf b/talks/fisl12/active-acache-management.pdf new file mode 100644 index 00000000..cc936ac1 Binary files /dev/null and b/talks/fisl12/active-acache-management.pdf differ diff --git a/talks/fisl12/active-acache-management.xar b/talks/fisl12/active-acache-management.xar new file mode 100644 index 00000000..1c13b387 Binary files /dev/null and b/talks/fisl12/active-acache-management.xar differ diff --git a/talks/fisl12/beamercolorthemetobi.sty b/talks/fisl12/beamercolorthemetobi.sty new file mode 100644 index 00000000..eadaa5fe --- /dev/null +++ b/talks/fisl12/beamercolorthemetobi.sty @@ -0,0 +1,50 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/color/beamercolorthemetobi.sty,v 1.9 2007/01/28 20:48:24 tantau Exp $ + + +\mode + +\definecolor{craneorange}{RGB}{255,252,248} +\definecolor{craneblue}{RGB}{62,28,0} + +\setbeamercolor{structure}{fg=craneblue} + +\setbeamercolor{palette primary}{fg=craneblue,bg=craneorange!70} +\setbeamercolor{palette secondary}{fg=craneblue,bg=craneorange!80} +\setbeamercolor{palette tertiary}{fg=craneblue,bg=craneorange!90} +\setbeamercolor{palette quaternary}{fg=craneblue,bg=craneorange} + +\setbeamercolor{titlelike}{fg=craneblue} + +\setbeamercolor{block title}{fg=craneblue,bg=craneorange} +\setbeamercolor{block title alerted}{use=alerted text,fg=craneblue,bg=alerted text.fg!75!bg} +\setbeamercolor{block title example}{use=example text,fg=craneblue,bg=example text.fg!75!bg} + +\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!25!bg} +\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg} +\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg} + +\setbeamercolor{sidebar}{bg=craneorange!70} + +\setbeamercolor{palette sidebar primary}{fg=craneblue} +\setbeamercolor{palette sidebar secondary}{fg=craneblue!75} +\setbeamercolor{palette sidebar tertiary}{fg=craneblue!75} +\setbeamercolor{palette sidebar quaternary}{fg=craneblue} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\setbeamercolor{normal text}{bg=craneblue!1,fg=craneblue} +\setbeamercolor{example text}{bg=craneblue!10} +\setbeamercolor{frametitle}{fg=craneblue!50} + +\mode + diff --git a/talks/fisl12/bio.txt b/talks/fisl12/bio.txt new file mode 100644 index 00000000..10838a61 --- /dev/null +++ b/talks/fisl12/bio.txt @@ -0,0 +1,16 @@ +About the Speaker +----------------- + +Tobias Oetiker is an electrical engineer by education and a system +administrator by vocation. For ten years he has been working for the +Swiss Federal Institute of Technology in Zurich, providing students +and staff with a deluxe Unix workstation environment. In 2006 he +started his own company OETIKER+PARTNER AG, running Unix servers for +industry customers, improving his pet open source projects MRTG, +RRDtool, and SmokePing, and applying these tools to solve the customers' +problems. + +In November 2006, Tobias received the prestigious SAGE Outstanding +Achievement Award for his work on MRTG and RRDtool. + +Find out more about the Speaker on http://tobi.oetiker.ch diff --git a/talks/fisl12/body.tex b/talks/fisl12/body.tex new file mode 100644 index 00000000..c24c9744 --- /dev/null +++ b/talks/fisl12/body.tex @@ -0,0 +1,174 @@ +\mode +{ + \usetheme{default} % no fancy navigation or anything ... + \usecolortheme{tobi} + \usefonttheme{serif} + \usepackage{lmodern} + \newcommand{\addgraph}[1]{\includegraphics[width=\textwidth]{#1}} + \setbeamercovered{transparent=25} +} +\mode
+{ + \usepackage{url} + \usepackage{graphicx} + \usepackage[colorlinks,hyperindex,plainpages=false]{hyperref} + \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} + \setlength{\parindent}{0pt} + \usepackage{times} + \newcommand{\addgraph}[1]{\begin{center}\framebox{\includegraphics[width=0.9\textwidth]{#1}}\end{center}} + \addtolength{\voffset}{-2.5cm} + \addtolength{\textheight}{4cm} +} +\usepackage{alltt} +\usepackage{listings} +\usepackage{svgcolor} +\usepackage[english]{babel} +\usepackage[latin1]{inputenc} +% or whatever + +\usepackage[T1]{fontenc} +% Or whatever. Note that the encoding and the font should match. If T1 +% does not look nice, try deleting the line with the fontenc. + +\title +{RRDtool - how to make it sit up and beg?} + +\author +{Tobias Oetiker} + +\date[FISL12] % (optional, should be abbreviation of conference name) +{FISL12} + +\mode{\subject{RRDtool - how to make it sit up and beg}} + +\mode{ + \lstset{% + language=Perl,% + numbers=left,% + basicstyle=\ttfamily\footnotesize\color{black},% + keywordstyle=\color{darkgreen},% +% identifyerstyle=\color{brown},% + commentstyle=\color{mediumpurple},% + stringstyle=\color{dimgray}, + numberstyle=\ttfamily\scriptsize\color{darkgray}, + showstringspaces=false + } +} +\mode
{ + \lstset{% + language=Perl,% + numbers=left,% + basicstyle=\ttfamily\footnotesize,% + keywordstyle=\bfseries,% + numberstyle=\ttfamily\scriptsize, +% identifyerstyle=\color{brown},% + commentstyle=\itshape,% + stringstyle=\color{black}, + showstringspaces=false + } +} + +\begin{document} + +\mode
{ +\maketitle +\addgraph{sample-graph} +} + +\begin{frame} +\begin{center} +\textbf{\Large RRDtool - How to make it sit up and beg?}\\[2ex] +\includegraphics[width=1\textwidth]{sample-graph}\\[3ex] +{\large Tobias Oetiker, OETIKER+PARTNER AG, Switzerland} +\end{center} +\end{frame} + +\mode{\tableofcontents} + +\begin{frame}{a database \ldots} +\begin{itemize}[<+-| alert@+>] +\item for time series data +\item with graphics included +\item with fixed disk space requirements +\item with controlled memory loss +\item open source GNU GPL +\end{itemize} +\end{frame} + +\begin{frame}{designed for speed} +\addgraph{update-schematics} +\end{frame} + +\begin{frame}{rrdtool command line usage} +\begin{description}[<+-| alert@+>] +\item[rrdtool create] setup a database file +\item[rrdtool update] add data +\item[rrdtool graph] create a chart +\end{description} +\end{frame} + +\begin{frame}{creating a simple rrd} +\lstinputlisting[language=bash,firstline=0]{ex/create.sh} +One Datasource, 4 Round Robin Archives. +\end{frame} + +\begin{frame}{adding data} +\lstinputlisting[language=bash,firstline=0]{ex/update.sh} +\mode{The timestamps are not exactly aligned. RRDtool fixes +this on the fly be resampling the data.} +\end{frame} + +\begin{frame}{creating a graph} +\lstinputlisting[language=bash,firstline=0]{ex/graph.sh} +\end{frame} + +\begin{frame}{the result} +\addgraph{ex/first.pdf} +\end{frame} + +\mode{ +\begin{frame} +\begin{description} +\item[I am:] Tobi Oetiker $<$tobi@oetiker.ch$>$ +\item[Handouts for this talk:] \url{http://tobi.oetiker.ch/fisl12/} +\item[My Homepage:] \url{http://tobi.oetiker.ch} +\end{description} +\end{frame} +} + +\begin{frame}{Graph Critic - HTTP Cache Traffic} +\addgraph{charles}\\ +graph by Charles Glass +\end{frame} + +\begin{frame}{Graph Critic - RTT of MPLS VPN endpoints} +\addgraph{pings}\\ +graph by Bruno Ciscato +\end{frame} + +\begin{frame}{Graph Critic - System Information} +\addgraph{systembelastung}\\ +graph by kmindi +\end{frame} + +\begin{frame}{Graph Critic - Energy Mix} +\addgraph{energy_graph}\\ +graph by Lutz Schulze +\end{frame} + +\begin{frame}{Graph Critic - Thermostat Indoor / Outdoor} +\addgraph{n20e-daily}\\ +graph by Andres Brownworth +\end{frame} + +\mode
{ +\vspace{\stretch{1}} +Tobias Oetiker +} +\end{document} + +%%% Local Variables: +%%% TeX-master: "presentation.tex" +%%% mode: flyspell +%%% TeX-PDF-mode: t +%%% End: diff --git a/talks/fisl12/cache-flow.pdf b/talks/fisl12/cache-flow.pdf new file mode 100644 index 00000000..84d3d942 Binary files /dev/null and b/talks/fisl12/cache-flow.pdf differ diff --git a/talks/fisl12/cache-flow.xar b/talks/fisl12/cache-flow.xar new file mode 100644 index 00000000..e46b0f38 Binary files /dev/null and b/talks/fisl12/cache-flow.xar differ diff --git a/talks/fisl12/cache-importance.pdf b/talks/fisl12/cache-importance.pdf new file mode 100644 index 00000000..e3273ecf Binary files /dev/null and b/talks/fisl12/cache-importance.pdf differ diff --git a/talks/fisl12/cache-importance.xar b/talks/fisl12/cache-importance.xar new file mode 100644 index 00000000..6522322e Binary files /dev/null and b/talks/fisl12/cache-importance.xar differ diff --git a/talks/fisl12/charles.png b/talks/fisl12/charles.png new file mode 100644 index 00000000..a64ad9da Binary files /dev/null and b/talks/fisl12/charles.png differ diff --git a/talks/fisl12/energy_graph.png b/talks/fisl12/energy_graph.png new file mode 100644 index 00000000..16204f73 Binary files /dev/null and b/talks/fisl12/energy_graph.png differ diff --git a/talks/fisl12/ex/create.sh b/talks/fisl12/ex/create.sh new file mode 100755 index 00000000..b1b621e8 --- /dev/null +++ b/talks/fisl12/ex/create.sh @@ -0,0 +1,9 @@ +#!/bin/sh +rrdtool create first.rrd \ + --step=300 \ + --start=1199999699 \ + DS:temperature:GAUGE:600:-40:100 \ + RRA:AVERAGE:0.4:1:12 \ + RRA:AVERAGE:0.4:12:24 \ + RRA:MIN:0.4:12:24 \ + RRA:MAX:0.4:12:24 diff --git a/talks/fisl12/ex/dump.sh b/talks/fisl12/ex/dump.sh new file mode 100755 index 00000000..61651919 --- /dev/null +++ b/talks/fisl12/ex/dump.sh @@ -0,0 +1,2 @@ +#!/bin/sh +rrdtool dump first.rrd diff --git a/talks/fisl12/ex/first.pdf b/talks/fisl12/ex/first.pdf new file mode 100644 index 00000000..4ec3d97e Binary files /dev/null and b/talks/fisl12/ex/first.pdf differ diff --git a/talks/fisl12/ex/first.png b/talks/fisl12/ex/first.png new file mode 100644 index 00000000..84999840 Binary files /dev/null and b/talks/fisl12/ex/first.png differ diff --git a/talks/fisl12/ex/first.rrd b/talks/fisl12/ex/first.rrd new file mode 100644 index 00000000..0bd3f26a Binary files /dev/null and b/talks/fisl12/ex/first.rrd differ diff --git a/talks/fisl12/ex/graph-pdf.sh b/talks/fisl12/ex/graph-pdf.sh new file mode 100755 index 00000000..a19cd28b --- /dev/null +++ b/talks/fisl12/ex/graph-pdf.sh @@ -0,0 +1,7 @@ +#!/bin/sh +rrdtool graphv first.pdf \ + --title="FISL12 RRDtool Demo" \ + --start=1199999000 --end=1200001300 \ + --lower-limit=0 --imgformat=PDF \ + DEF:t=first.rrd:temperature:AVERAGE \ + 'AREA:t#880011:Temperature' diff --git a/talks/fisl12/ex/graph.sh b/talks/fisl12/ex/graph.sh new file mode 100755 index 00000000..ca1a71a7 --- /dev/null +++ b/talks/fisl12/ex/graph.sh @@ -0,0 +1,7 @@ +#!/bin/sh +rrdtool graphv first.png \ + --title="FISL12 RRDtool Demo" \ + --start=1199999000 --end=1200001300 \ + --lower-limit=0 \ + DEF:t=first.rrd:temperature:AVERAGE \ + 'AREA:t#880011:Temperature' diff --git a/talks/fisl12/ex/real.rrd b/talks/fisl12/ex/real.rrd new file mode 100644 index 00000000..f2c50c98 Binary files /dev/null and b/talks/fisl12/ex/real.rrd differ diff --git a/talks/fisl12/ex/sizer.rrd b/talks/fisl12/ex/sizer.rrd new file mode 100644 index 00000000..5409d9a8 Binary files /dev/null and b/talks/fisl12/ex/sizer.rrd differ diff --git a/talks/fisl12/ex/update.sh b/talks/fisl12/ex/update.sh new file mode 100755 index 00000000..39880bfa --- /dev/null +++ b/talks/fisl12/ex/update.sh @@ -0,0 +1,7 @@ +#!/bin/sh +rrdtool update first.rrd \ + 1199999700:00 \ + 1200000003:10 \ + 1200000325:20 \ + 1200000602:30 \ + 1200000922:40 diff --git a/talks/fisl12/handouts.tex b/talks/fisl12/handouts.tex new file mode 100644 index 00000000..d7430850 --- /dev/null +++ b/talks/fisl12/handouts.tex @@ -0,0 +1,3 @@ +\documentclass[letterpaper,12pt,titlepage]{article} +\usepackage{beamerarticle} +\input{body} diff --git a/talks/fisl12/n20e-daily.png b/talks/fisl12/n20e-daily.png new file mode 100644 index 00000000..2576e142 Binary files /dev/null and b/talks/fisl12/n20e-daily.png differ diff --git a/talks/fisl12/pings.png b/talks/fisl12/pings.png new file mode 100644 index 00000000..2ce339be Binary files /dev/null and b/talks/fisl12/pings.png differ diff --git a/talks/fisl12/presentation.tex b/talks/fisl12/presentation.tex new file mode 100644 index 00000000..e45c30e9 --- /dev/null +++ b/talks/fisl12/presentation.tex @@ -0,0 +1,2 @@ +\documentclass[30pt]{beamer} +\input{body} diff --git a/talks/fisl12/readahead-fix.pdf b/talks/fisl12/readahead-fix.pdf new file mode 100644 index 00000000..5fdedcf7 Binary files /dev/null and b/talks/fisl12/readahead-fix.pdf differ diff --git a/talks/fisl12/readahead-fix.xar b/talks/fisl12/readahead-fix.xar new file mode 100644 index 00000000..cbc6347a Binary files /dev/null and b/talks/fisl12/readahead-fix.xar differ diff --git a/talks/fisl12/systembelastung.png b/talks/fisl12/systembelastung.png new file mode 100644 index 00000000..84f5e904 Binary files /dev/null and b/talks/fisl12/systembelastung.png differ diff --git a/talks/fisl12/update-schematics.pdf b/talks/fisl12/update-schematics.pdf new file mode 100644 index 00000000..0f9567a9 Binary files /dev/null and b/talks/fisl12/update-schematics.pdf differ diff --git a/talks/fisl12/update-schematics.xar b/talks/fisl12/update-schematics.xar new file mode 100644 index 00000000..ea6be2f4 Binary files /dev/null and b/talks/fisl12/update-schematics.xar differ