## Configuring NetSaint

Configuration Overview

Configuring NetSaint is done by editing three files - the "main" configuration file, the "host" configuration file, and the CGI configuration file.

Main Configuration File

Documentation for the main configuration file can be found here. A sample main configuration file is generated automatically when you run the configure script before compiling the binaries. Look for it either in the distribution directory or the etc/ subdirectory of your installation. When you install the sample config files using the make install-config command, a sample main configuration file will be placed into your settings directory (usually /usr/local/netsaint/etc). The default name of the main configuration file is netsaint.cfg.

Host Configuration File

Documentation for the host configuration file can be found here. A sample host configuration file is generated automatically when you run the configure script before compiling the binaries. Look for it either in the distribution directory or the etc/ subdirectory of your installation. When you install the sample config files using the make install-config command, a sample main configuration file will be placed into your settings directory (usually /usr/local/netsaint/etc). The default name of the host configuration file is hosts.cfg. The "host" configuration file is where you define hosts, host groups, contacts, contact groups, commands, time periods, and services.

CGI Configuration File

Documentation for the CGI configuration file can be found here. A sample CGI configuration file is generated automatically when you run the configure script before compiling the binaries. When you install the sample config files using the make install-config command, the CGI configuration file will be placed in the same directory as the main and host config files (usually /usr/local/netsaint/etc). The default name of the CGI configuration file is nscgi.cfg.

Where To Go From Here

Once you configure NetSaint to your liking you will need to verify the data you entered before starting to monitor anything.