~ubuntu-branches/ubuntu/saucy/nagios3/saucy-proposed

« back to all changes in this revision

Viewing changes to html/docs/config.html

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2009-08-16 14:14:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090816141423-efjzq1r3jekwd7l7
Tags: 3.2.0-1
* New upstream release (Closes: #542957)
  - Timeperiods should work as expected now (Closes: #539882)
  - Recovery notifications fixed (Closes: #543657)
* Update standards version 
  - Add README.source
* Manpage errors fixed (Closes: #540554)
* Split up the webfrontend into its own package (Closes: #479338, #485466)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
 
 
3
 
<html>
4
 
<head>
5
 
<title>Configuration Overview</title>
6
 
 
7
 
<STYLE type="text/css">
8
 
<!--
9
 
        .Default { font-family: verdana,arial,serif; font-size: 8pt; }
10
 
        .PageTitle { font-family: verdana,arial,serif; font-size: 16pt; font-weight: bold; }
11
 
-->      
12
 
</STYLE>
13
 
 
14
 
</head>
15
 
 
16
 
<body bgcolor="#FFFFFF" text="black" class="Default">
17
 
 
18
 
<div align="center">
19
 
<img src="images/nagios.jpg" border="0" alt="Nagios" title="Nagios">
20
 
<h1 class="PageTitle">Configuration Overview</h1>
21
 
</div>
22
 
 
23
 
<hr>
24
 
 
25
 
<p>
26
 
<img src="images/upto.gif" border="0" align="middle" alt="Up To" title="Up To">Up To: <a href="toc.html">Contents</a><br>
27
 
<img src="images/seealso.gif" border="0" align="middle" alt="See Also" title="See Also"> See Also: <a href="configmain.html">Main Configuration File</a>, <a href="configobject.html">Object Configuration Overview</a>, <a href="configcgi.html">CGI Configuration File</a>
28
 
</p>
29
 
 
30
 
<p>
31
 
<strong><u>Introduction</u></strong>
32
 
</p>
33
 
 
34
 
<p>
35
 
There are several different configuration files that you're going to need to create or edit before you start monitoring anything.  Be patient!  Configuring Nagios can take quite a while, especially if you're first-time user.  Once you figure out how things work, it'll all be well worth your time. :-)
36
 
</p>
37
 
 
38
 
<p>
39
 
<img src="images/note.gif" border="0" align="bottom" alt="Note" title="Note"> Note: Sample configuration files are installed in the <i>/usr/local/nagios/etc/</i> directory when you follow the <a href="quickstart.html">quickstart installation guide</a>.
40
 
</p>
41
 
 
42
 
<img src="images/configoverview.png" border="0" style="float: right" alt="Config Overview" title="Config Overview">
43
 
 
44
 
<p>
45
 
<strong><u>Main Configuration File</u></strong>
46
 
</p>
47
 
 
48
 
<p>
49
 
The main configuration file contains a number of directives that affect how the Nagios daemon operates.  This config file is read by both the Nagios daemon and the CGIs.  This is where you're going to want to get started in your configuration adventures.
50
 
</p>
51
 
 
52
 
<p>
53
 
Documentation for the main configuration file can be found <a href="configmain.html">here</a>.
54
 
</p>
55
 
 
56
 
<p>
57
 
<strong><u>Resource File(s)</u></strong>
58
 
</p>
59
 
 
60
 
<p>
61
 
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.
62
 
</p>
63
 
 
64
 
<p>
65
 
You can specify one or more optional resource files by using the <a href="configmain.html#resource_file">resource_file</a> directive in your main configuration file.
66
 
</p>
67
 
 
68
 
<p>
69
 
<strong><u>Object Definition Files</u></strong>
70
 
</p>
71
 
 
72
 
<p>
73
 
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.
74
 
</p>
75
 
 
76
 
<p>
77
 
You can specify one or more object definition files by using the <a href="configmain.html#cfg_file">cfg_file</a> and/or <a href="configmain.html#cfg_dir">cfg_dir</a> directives in your main configuration file.
78
 
</p>
79
 
 
80
 
<p>
81
 
An introduction to object definitions, and how they relate to each other, can be found <a href="configobject.html">here</a>.
82
 
</p>
83
 
 
84
 
<p>
85
 
<strong><u>CGI Configuration File</u></strong>
86
 
</p>
87
 
 
88
 
<p>
89
 
The CGI configuration file contains a number of directives that affect the operation of the <a href="cgis.html">CGIs</a>.  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.
90
 
</p>
91
 
 
92
 
<p>
93
 
Documentation for the CGI configuration file can be found <a href="configcgi.html">here</a>.
94
 
</p>
95
 
 
96
 
 
97
 
<hr>
98
 
 
99
 
</body>
100
 
</html>
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
2
 
 
3
 
 
4
 
 
5
<html>
 
6
 
 
7
<head>
 
8
 
 
9
<title>Configuration Overview</title>
 
10
 
 
11
 
 
12
 
 
13
<STYLE type="text/css">
 
14
 
 
15
<!--
 
16
 
 
17
        .Default { font-family: verdana,arial,serif; font-size: 8pt; }
 
18
 
 
19
        .PageTitle { font-family: verdana,arial,serif; font-size: 16pt; font-weight: bold; }
 
20
 
 
21
-->      
 
22
 
 
23
</STYLE>
 
24
 
 
25
 
 
26
 
 
27
</head>
 
28
 
 
29
 
 
30
 
 
31
<body bgcolor="#FFFFFF" text="black" class="Default">
 
32
 
 
33
 
 
34
 
 
35
<div align="center">
 
36
 
 
37
<img src="images/nagios.jpg" border="0" alt="Nagios" title="Nagios">
 
38
 
 
39
<h1 class="PageTitle">Configuration Overview</h1>
 
40
 
 
41
</div>
 
42
 
 
43
 
 
44
 
 
45
<hr>
 
46
 
 
47
 
 
48
 
 
49
<p>
 
50
 
 
51
<img src="images/upto.gif" border="0" align="middle" alt="Up To" title="Up To">Up To: <a href="toc.html">Contents</a><br>
 
52
 
 
53
<img src="images/seealso.gif" border="0" align="middle" alt="See Also" title="See Also"> See Also: <a href="configmain.html">Main Configuration File</a>, <a href="configobject.html">Object Configuration Overview</a>, <a href="configcgi.html">CGI Configuration File</a>
 
54
 
 
55
</p>
 
56
 
 
57
 
 
58
 
 
59
<p>
 
60
 
 
61
<strong><u>Introduction</u></strong>
 
62
 
 
63
</p>
 
64
 
 
65
 
 
66
 
 
67
<p>
 
68
 
 
69
There are several different configuration files that you're going to need to create or edit before you start monitoring anything.  Be patient!  Configuring Nagios can take quite a while, especially if you're first-time user.  Once you figure out how things work, it'll all be well worth your time. :-)
 
70
 
 
71
</p>
 
72
 
 
73
 
 
74
 
 
75
<p>
 
76
 
 
77
<img src="images/note.gif" border="0" align="bottom" alt="Note" title="Note"> Note: Sample configuration files are installed in the <i>/usr/local/nagios/etc/</i> directory when you follow the <a href="quickstart.html">quickstart installation guide</a>.
 
78
 
 
79
</p>
 
80
 
 
81
 
 
82
 
 
83
<img src="images/configoverview.png" border="0" style="float: right" alt="Config Overview" title="Config Overview">
 
84
 
 
85
 
 
86
 
 
87
<p>
 
88
 
 
89
<strong><u>Main Configuration File</u></strong>
 
90
 
 
91
</p>
 
92
 
 
93
 
 
94
 
 
95
<p>
 
96
 
 
97
The main configuration file contains a number of directives that affect how the Nagios daemon operates.  This config file is read by both the Nagios daemon and the CGIs.  This is where you're going to want to get started in your configuration adventures.
 
98
 
 
99
</p>
 
100
 
 
101
 
 
102
 
 
103
<p>
 
104
 
 
105
Documentation for the main configuration file can be found <a href="configmain.html">here</a>.
 
106
 
 
107
</p>
 
108
 
 
109
 
 
110
 
 
111
<p>
 
112
 
 
113
<strong><u>Resource File(s)</u></strong>
 
114
 
 
115
</p>
 
116
 
 
117
 
 
118
 
 
119
<p>
 
120
 
 
121
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.
 
122
 
 
123
</p>
 
124
 
 
125
 
 
126
 
 
127
<p>
 
128
 
 
129
You can specify one or more optional resource files by using the <a href="configmain.html#resource_file">resource_file</a> directive in your main configuration file.
 
130
 
 
131
</p>
 
132
 
 
133
 
 
134
 
 
135
<p>
 
136
 
 
137
<strong><u>Object Definition Files</u></strong>
 
138
 
 
139
</p>
 
140
 
 
141
 
 
142
 
 
143
<p>
 
144
 
 
145
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.
 
146
 
 
147
</p>
 
148
 
 
149
 
 
150
 
 
151
<p>
 
152
 
 
153
You can specify one or more object definition files by using the <a href="configmain.html#cfg_file">cfg_file</a> and/or <a href="configmain.html#cfg_dir">cfg_dir</a> directives in your main configuration file.
 
154
 
 
155
</p>
 
156
 
 
157
 
 
158
 
 
159
<p>
 
160
 
 
161
An introduction to object definitions, and how they relate to each other, can be found <a href="configobject.html">here</a>.
 
162
 
 
163
</p>
 
164
 
 
165
 
 
166
 
 
167
<p>
 
168
 
 
169
<strong><u>CGI Configuration File</u></strong>
 
170
 
 
171
</p>
 
172
 
 
173
 
 
174
 
 
175
<p>
 
176
 
 
177
The CGI configuration file contains a number of directives that affect the operation of the <a href="cgis.html">CGIs</a>.  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.
 
178
 
 
179
</p>
 
180
 
 
181
 
 
182
 
 
183
<p>
 
184
 
 
185
Documentation for the CGI configuration file can be found <a href="configcgi.html">here</a>.
 
186
 
 
187
</p>
 
188
 
 
189
 
 
190
 
 
191
 
 
192
 
 
193
<hr>
 
194
 
 
195
 
 
196
 
 
197
</body>
 
198
 
 
199
</html>
 
200