File: README-removespikes

package info (click to toggle)
ganglia 3.6.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 6,484 kB
  • ctags: 3,880
  • sloc: ansic: 27,874; sh: 11,052; python: 6,695; makefile: 565; perl: 366; php: 126; xml: 28
file content (34 lines) | stat: -rw-r--r-- 1,107 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
README for removespikes.pl

Skript to remove spikes from RRD databases. Distributed with
permission from Tobias Oetiker ( tobi _AT_ oetiker.ch ). The original
download place is at: http://oss.oetiker.ch/rrdtool/pub/contrib/

This version of removespikes.pl is based on Vins Vilaplana and
Humberto Rossetti Baptistas code.

I have added value-based chopping (-t value), an analysis-only mode (-a),
control of verbose/debug output (-d/-v), a help option (-h) and some
code cleanup.

removespikes>./removespikes.pl -h
REMOVESPIKES: Remove spikes from RRDtool databases.

Usage:
./removespikes.pl -d -a [-l number] [-t maxval] name_of_database

Where:
  -d enables debug messages
  -a runs only the analysis phase of the script
  -h prints this message
  -l sets the % limit of spikes bin-based chopping (default: 0.6)
  -t sets the value above which records are chopped. Disabled by default.
     Enabling value-based chopping will disable bin-based chopping

  -v Verbose mode. Shows some information
  name_of_database is the rrd file to be treated.
removespikes>

Enjoy

 Martin (knobi at knobisoft dot de)