action_printemail - A script for sending email from monitor action.
<action name="report-email"> <param name="action-type" value="exec" /> <param name="command"> $RRFW_BIN/action_printemail | mail firstname.lastname@example.org </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 RRFW 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
make install do not override this file.
tree Tree name token Leaf token path Leaf path url URL for browsing this leaf ncomment This leaf comment npcomment Leaf's parent comment event Event type monitor Monitor name mcomment Monitor comment timestamp Time and date of the event env(VAR) Environment variable VAR
See more documentation at RRFW home page: http://rrfw.sf.net
Stanislav Sinyagin <email@example.com>