There are several different configuration files that you are going to need to create or edit before you start monitoring anything. Be patient, configuring Nagios Core effectively can take quite a while, especially if you are first- time user. Once you figure out how things work, it will each be well worth your time and effort.
Note Sample configuration files are installed in the/ usr/ local/ nagios/ etc/ directory when you follow the quickstart installation guide.
#### Config Overview
Main Configuration File
The main configuration file contains a number of directives that affect how the Nagios Core daemon operates. This config file is read by both the Nagios Core daemon and the CGIs. This is where you are going to want to get started in your configuration adventures.
Resource File( s>
Resource files can be used to store user- defined macros. The main point of having resource files is to use them to store sensitive configuration information( like passwords>, without making them available to the CGIs.
You can specify one or more optional resource files by using theresource\_file directive in your main configuration file.
Object Definition Files
Object definition files are used to define hosts, services, hostgroups, contacts, contactgroups, commands, etc. This is where you define all the things you want monitor and how you want to monitor them.
You can specify one or further object definition files by using thecfg\_file and/ orcfg\_dir directives in your main configuration file.
CGI Configuration File
The CGI configuration file contains a number of directives that affect the operation of the CGIs. It also contains a reference the main configuration file, so the CGIs know how you've configured Nagios and where your object defintions are stored.
We can help you solve company communication.
Don't have an account? Sign up
Already have an account? Log In
Remember your password? Log In