collector
Torrus data Collector.
- Provided by: torrus-common (Version: 2.08-4)
- Source: torrus
- Report a bug
Torrus data Collector.
torrus collector --tree=TREENAME [options...]
This command starts the Collector process for the tree TREENAME. By default it forks into a daemon, sets the log output file to /var/log/torrus/collector.TREENAME.log, performs one Collector cycle, and sleeps until the next cycle is scheduled. In daemon mode the log file can be reopened by sending it a SIGHUP signal.
Collector cycle scheduling is controlled by two parameters defined for each individual configuration leaf: "collector-period" and "collector-timeoffset". See the Torrus Configuration Guide for more details.
The number of OID (Object IDentifier) variable bindings sent by Collector is controlled by the datasource parameter "snmp-oids-per-pdu". It is set to a default value of 40 in snmp-defs.xml, and may be overwritten at the host level.
%Torrus::Global::treeConfig = (
'tree_A' => {
'description' => 'The First Tree',
'xmlfiles' => [qw(a1.xml a2.xml a3.xml)],
'run' => { 'collector' => 3, 'monitor' => 1 } },
);
See more documentation at Torrus home page: http://torrus.org
Stanislav Sinyagin <ssinyagin@yahoo.com>