— part of check-in
on branch origin/4.3.19
— Release 4.3.19
git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7619 44351d6e-118b-4698-b696-ce33095ecaa4
.TH XYMONCMD 1 "Version 4.3.19: 30 Mar 2015" "Xymon"
xymoncmd \- Run a Xymon command with environment set
.B "xymoncmd [--env=ENVFILE COMMAND|--version|--debug]"
is a utility that can setup the Xymon environment variables as defined in a
compatible environment definition file, and then execute a command
with this environment in place. It is mostly used for testing
extension scripts or in other situations where you need to run
a single command with the environment in place.
The "--env=ENVFILE" option points xymoncmd to the file where the
environment definitions are loaded from.
COMMAND is the command to execute after setting up the environment.
If you want to run multiple commands, it is often easiest to just
use "sh" as the COMMAND - this gives you a sub-shell with the
environment defined globally.
The "--debug" option print out more detail steps of xymoncmd execution.
The "--version" option print out version number of xymoncmd.
.SH "SEE ALSO"