RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

7
RRDtool Miroslav Siket FIO-FS http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/

Transcript of RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

Page 1: RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

RRDtool

Miroslav SiketFIO-FS

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/

Page 2: RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

February 19, 2004 CERN, Monitoring Meeitng 2

Outline

What is RRDtool Oragnization Components Samples Deployment

Page 3: RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

February 19, 2004 CERN, Monitoring Meeitng 3

What is RRDtool

It is based on RRD (Round Robin Database) files for storing historic information

It is a system to store and display time-series data

It's pupose is to visualize time-dependent values that can be of the following nature: GAUGE, COUNTER, ABSOLUTE, DERIVE

It uses the following algorithms to keep data: AVERAGE, MIN, MAX, LAST

Page 4: RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

February 19, 2004 CERN, Monitoring Meeitng 4

Organization

RRDtool stores data in the files of fixed size with n slots per defined period of time

Multiple periods of times (with different granularities)

Client (using rrdtool) updates rrd files with metric data for each time slot (using timestamp)

RRDtool does averaging(min, max,...) on the fly RRDtool provides graphs RRDcgi provides web pages from templates RRDtool provides XML import/export, C and Perl

API

Page 5: RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

February 19, 2004 CERN, Monitoring Meeitng 5

Some features RRDtool allows some basic mathematical expressions

when creating graphs: +,-,*,/,% SIN, COS, LOG, EXP, FLOOR, CEIL LT, GT, LE, GE, EQ IF MIN, MAX, LIMIT ...

This is useful for dynamically creating user defined views (cluster statistics, utilization graphs,…)

RRDtool support several metrics in one file with possibility of adding, reducing their number, time span

Page 6: RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

February 19, 2004 CERN, Monitoring Meeitng 6

Examples

Page 7: RRDtool Miroslav Siket FIO-FS oetiker/webtools/rrdtool

February 19, 2004 CERN, Monitoring Meeitng 7

Deployment

For fast metric display possibilities Organized by host/metric_name_id.rrd Client for OraMon to feed data into rrd files Apache + php-rrdtool Dynamical Web pages per cluster/node Utilization and performance graphs Easy to setup/implement