Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
XYMONCMD(1)		     General Commands Manual		     XYMONCMD(1)

NAME
     xymoncmd - Run a Xymon command with environment set

SYNOPSIS
     xymoncmd [--env=ENVFILE COMMAND|--version|--debug]

DESCRIPTION
     xymoncmd(1)  is a utility that can setup the Xymon environment variables as
     defined in a xymonlaunch(8) 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 environ-
     ment 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.

SEE ALSO
     xymonlaunch(8), xymon(7)

Xymon			   Version 4.3.30:  4 Sep 2019		     XYMONCMD(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xymoncmd&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help