This plugin adds the new collector type. It actually doesn't collect anything, but generates randomly generated values. The main purpose of this plugin is testing various aspects of Torrus, and particularly its modular Collector design.
Follow the Torrus installation guide for the main software installation.
Unpack the plugin distribution package in some directory:
gzip -dc tp-randomcollector-1.X.tar.gz | tar xvf -
Then run the Torrus plugin installation utility:
torrus install_plugin tp-randomcollector-1.X
Restart all Torrus processes, including Apache HTTP daemon.
That is all, now you can use the parameters described below in your XML configuration.
genrandomcfg
utility may be used to create a typical configuration for
the random collector.
collector-type
random
is supported by this plugin.
rnd-baseline-type
collector-type=random
. Values supported: sin
(Sine
baseline curve), flat
(horizontal baseline).
rnd-baseline-height
collector-type=random
. Specifies the constant baseline
height above the X axis.
rnd-amplitude
collector-type=random
. Specifies the amplitude of the
random value.
rnd-baseline-period
, rnd-baseline-offset
,
rnd-baseline-amplitude
collector-type=random
and
rnd-baseline-type=sin
. These options determine the parameters of the
sine curve: Y = height + amplitude * sin( 2*pi*(TIME+offset)/period )
Copyright (c) 2003-2004 Stanislav Sinyagin <ssinyagin@yahoo.com>