CGI Configuration File Options


Notes

When creating and/or editing configuration files, keep the following in mind:

  1. Lines that start with a '#' character are taken to be comments and are not processed
  2. Variables names must begin at the start of the line - no white space is allowed before the name
  3. Variable names are case-sensitive

Sample Configuration

A sample CGI configuration file is provided with the NetSaint distribution and should automatically be installed in your CGI directory (usually /usr/local/netsaint/sbin) when you use the 'make install-config' command. The default name of the CGI configuration file is nscgi.cfg.

Index

Main configuration file location

Main Configuration File Location

Format: main_config_file=<file_name>
Example: main_config_file=/usr/local/netsaint/etc/netsaint.cfg

This specifies the location of your main configuration file. The CGIs need to know where to find this file in order to get information about configuration information, current host and service status, etc.