/etc/torrus/conf/email-siteconfig.pl
Torrus site email configuration script.
A script for sending email from monitor action.
<action name="report-email"><param name="action-type" value="exec" /><param name="command">$TORRUS_BIN/action_printemail | mail [email protected]</param><param name="launch-when" value="set, clear" /></action>
This program is designed for usage from a monitor action only. It takes the arguments from environment variables, as described in action-type "exec" in Torrus XML Configuration Guide. In addition, some values may be supplied via command-line arguments (see section OPTIONS below).
Site-specific variables must be specified in the file email-siteconfig.pl. Default values are installed by the first run of "make install". Subsequent runs of "make install" do not override this file.
--url=GRAPHER-URL
Sets the URL of the grapher CGI script.
--template=TEMPLATE-FILE
Uses given file as a template. The template file must reside in /usr/share/torrus/templates directory. It must be a Template-toolkit file, with the following variables defined:
tree Tree nametoken Leaf tokenpath Leaf pathurl URL for browsing this leafncomment This leaf commentnpcomment Leaf's parent commentevent Event typemonitor Monitor namemcomment Monitor commenttimestamp Time and date of the eventenv(VAR) Environment variable VAR
/etc/torrus/conf/email-siteconfig.pl
Torrus site email configuration script.
/usr/share/torrus/templates
/etc/torrus/templates
Torrus template directories.
See more documentation at Torrus home page: http://torrus.org
10 releases since Debian 4.0 (Etch); the text changed 8 times.