Difference between revisions of "Seon Core environment variables"

From Seon
Jump to: navigation, search
Line 12: Line 12:
 
*<code>RRDB_DATAPATH</code>: RRD data path
 
*<code>RRDB_DATAPATH</code>: RRD data path
 
*<code>Seon_WEBGUI_DIR</code>: web interface installation directory
 
*<code>Seon_WEBGUI_DIR</code>: web interface installation directory
 +
*<code>JAVA_BIN</code>: configured path to the Java runtime (JRE) binary
 +
 
All processes started by Seon (event scripts, plugins, etc.) have access to these environment variables.  
 
All processes started by Seon (event scripts, plugins, etc.) have access to these environment variables.  
 
The environment variable "<code>Seon_CFGFILE</code>" points to the absolute path to the Seon main configuration file. This has two effects:  
 
The environment variable "<code>Seon_CFGFILE</code>" points to the absolute path to the Seon main configuration file. This has two effects:  
 
*you may start Seon programs in a shell where this variable is set without using the parameter "<code>-C</code>" for all binaries (because the environment variable points to the correct position of the configfile)  
 
*you may start Seon programs in a shell where this variable is set without using the parameter "<code>-C</code>" for all binaries (because the environment variable points to the correct position of the configfile)  
 
*all subsequent processes started by Seon (like event scripts) don't have to bother about the given configfile (like plugins of Seon Enterprise).
 
*all subsequent processes started by Seon (like event scripts) don't have to bother about the given configfile (like plugins of Seon Enterprise).

Revision as of 23:55, 19 June 2007

Some environment variables are created and/or set by all Seon binaries. These variables are:

  • Seon_CFGFILE: Seon main configuration file (absolute path information)
  • Seon_IN_DIR: incoming data directory
  • Seon_OUT_DIR: outgoing data directory
  • Seon_TMP_DIR: temporary data directory
  • Seon_BIN_DIR: binary program directory
  • Seon_SCRIPT_DIR: script installation directory
  • Seon_BACKUP_DIR: backup directory
  • RAND_FILE: entropy file for OFTP2 needs
  • OPENSSL_BIN: absolute path to openSSL binary
  • RRDTOOL_BIN: absolute path to RRDtools binary
  • RRDB_DATAPATH: RRD data path
  • Seon_WEBGUI_DIR: web interface installation directory
  • JAVA_BIN: configured path to the Java runtime (JRE) binary

All processes started by Seon (event scripts, plugins, etc.) have access to these environment variables. The environment variable "Seon_CFGFILE" points to the absolute path to the Seon main configuration file. This has two effects:

  • you may start Seon programs in a shell where this variable is set without using the parameter "-C" for all binaries (because the environment variable points to the correct position of the configfile)
  • all subsequent processes started by Seon (like event scripts) don't have to bother about the given configfile (like plugins of Seon Enterprise).