Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/nagios/files/nagios.cfg

Issue 29587724: #4612 - Enable External Commands in Nagios (Closed) Base URL: https://hg1/infrastructure
Patch Set: address acks from #6 Created Oct. 25, 2017, 3:10 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/nagios/manifests/server.pp » ('j') | modules/nagios/manifests/server.pp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ############################################################################## 1 ##############################################################################
2 # 2 #
3 # NAGIOS.CFG - Sample Main Config File for Nagios 3 # NAGIOS.CFG - Sample Main Config File for Nagios
4 # 4 #
5 # 5 #
6 ############################################################################## 6 ##############################################################################
7 7
8 8
9 # LOG FILE 9 # LOG FILE
10 # This is the main log file where service and host events are logged 10 # This is the main log file where service and host events are logged
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 136
137 # EXTERNAL COMMAND OPTION 137 # EXTERNAL COMMAND OPTION
138 # This option allows you to specify whether or not Nagios should check 138 # This option allows you to specify whether or not Nagios should check
139 # for external commands (in the command file defined below). By default 139 # for external commands (in the command file defined below). By default
140 # Nagios will *not* check for external commands, just to be on the 140 # Nagios will *not* check for external commands, just to be on the
141 # cautious side. If you want to be able to use the CGI command interface 141 # cautious side. If you want to be able to use the CGI command interface
142 # you will have to enable this. 142 # you will have to enable this.
143 # Values: 0 = disable commands, 1 = enable commands 143 # Values: 0 = disable commands, 1 = enable commands
144 144
145 check_external_commands=0 145 check_external_commands=1
146 146
147 147
148 148
149 # EXTERNAL COMMAND CHECK INTERVAL 149 # EXTERNAL COMMAND CHECK INTERVAL
150 # This is the interval at which Nagios should check for external commands. 150 # This is the interval at which Nagios should check for external commands.
151 # This value works of the interval_length you specify later. If you leave 151 # This value works of the interval_length you specify later. If you leave
152 # that at its default value of 60 (seconds), a value of 1 here will cause 152 # that at its default value of 60 (seconds), a value of 1 here will cause
153 # Nagios to check for external commands every minute. If you specify a 153 # Nagios to check for external commands every minute. If you specify a
154 # number followed by an "s" (i.e. 15s), this will be interpreted to mean 154 # number followed by an "s" (i.e. 15s), this will be interpreted to mean
155 # actual seconds rather than a multiple of the interval_length variable. 155 # actual seconds rather than a multiple of the interval_length variable.
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 # MAX DEBUG FILE SIZE 1317 # MAX DEBUG FILE SIZE
1318 # This option determines the maximum size (in bytes) of the debug file. If 1318 # This option determines the maximum size (in bytes) of the debug file. If
1319 # the file grows larger than this size, it will be renamed with a .old 1319 # the file grows larger than this size, it will be renamed with a .old
1320 # extension. If a file already exists with a .old extension it will 1320 # extension. If a file already exists with a .old extension it will
1321 # automatically be deleted. This helps ensure your disk space usage doesn't 1321 # automatically be deleted. This helps ensure your disk space usage doesn't
1322 # get out of control when debugging Nagios. 1322 # get out of control when debugging Nagios.
1323 1323
1324 max_debug_file_size=1000000 1324 max_debug_file_size=1000000
1325 1325
1326 1326
OLDNEW
« no previous file with comments | « no previous file | modules/nagios/manifests/server.pp » ('j') | modules/nagios/manifests/server.pp » ('J')

Powered by Google App Engine
This is Rietveld