NAME

monitor - RRFW Monitor.


SYNOPSIS

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 /usr/local/rrfw-0.1/var/log/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 rrfw-siteconfig.pl:

$RRFW::Global::monitorPeriod
Sets the period of the monitor run to a specified number of seconds. Default value is 300.

$RRFW::Global::monitorStartShift
Controls the shift of the start of monitoring cycle. Monitor will run at time() 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.

--debug
Sets the log level to debug.

--verbose
Sets the debug level to info.

--help
Displays a help message.


FILES

/usr/local/rrfw-0.1/share/rrfw/rrfw-siteconfig.pl
RRFW site configuration script.

/usr/local/rrfw-0.1/var/log/monitor.TREENAME.log
Monitor's log for the tree TREENAME.


NOTES

See more documentation at RRFW home page: http://rrfw.sf.net


AUTHOR

Stanislav Sinyagin <ssinyagin@yahoo.com>