man torrus_monitor (Administration système) - Torrus Monitor.

NAME

monitor - Torrus Monitor.

SYNOPSIS

torrus monitor --tree=TREENAME [options...]

DESCRIPTION

This command starts the Monitor process for the tree TREENAME. By default it forks into a daemon, sets the log output file to /var/log/torrus/monitor.TREENAME.log, performs one monitoring cycle, and sleeps until the next cycle is scheduled. In daemon mode the log file can be reopened by sending it a SIGHUP signal.

Monitoring cycle scheduling is controlled by two variables whose values may be set in torrus-siteconfig.pl:

$Torrus::Global::monitorPeriod
Sets the period of the monitor run to a specified number of seconds. Default value is 300.
$Torrus::Global::monitorStartShift
Controls the shift of the start of monitoring cycle. Monitor will run at CWtime() mod Period + Shift, thus allowing the data to be updated during the shift period. Default value is 15.

OPTIONS

--nodaemon
Prevents the process from becoming a daemon and sets the log to STDERR.
--runonce
Instructs the script to run once and exit. Implies --nodaemon.
--delay=N
Makes the daemon sleep for N minutes before starting the first cycle. This would happen on the daemon startup and also after each configuration recompilation. For example, when monitor and collector start simultaneously, the collector needs some time to retrieve the data being monitored.
--debug
Sets the log level to debug.
--verbose
Sets the debug level to info.
--help
Displays a help message.

FILES

/etc/torrus/conf/torrus-siteconfig.pl
Torrus site configuration script.
/var/log/torrus/monitor.TREENAME.log
Monitor's log for the tree TREENAME.

SEE ALSO

NOTES

See more documentation at Torrus home page: http://torrus.org

AUTHOR

Stanislav Sinyagin <ssinyagin@yahoo.com>