Guest User

Untitled

a guest
Jun 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.94 KB | None | 0 0
  1. ##############################################################################
  2. #
  3. # NAGIOS.CFG - Sample Main Config File for Nagios 3.0.6
  4. #
  5. # Read the documentation for more information on this configuration
  6. # file. I've provided some comments here, but things may not be so
  7. # clear without further explanation.
  8. #
  9. # Last Modified: 10-15-2008
  10. #
  11. ##############################################################################
  12.  
  13.  
  14. # LOG FILE
  15. # This is the main log file where service and host events are logged
  16. # for historical purposes. This should be the first option specified
  17. # in the config file!!!
  18.  
  19. log_file=/var/log/nagios/nagios.log
  20.  
  21.  
  22.  
  23. # OBJECT CONFIGURATION FILE(S)
  24. # These are the object configuration files in which you define hosts,
  25. # host groups, contacts, contact groups, services, etc.
  26. # You can split your object definitions across several config files
  27. # if you wish (as shown below), or keep them all in a single config file.
  28.  
  29. # You can specify individual object config files as shown below:
  30. cfg_file=/etc/nagios/objects/commands.cfg
  31. cfg_file=/etc/nagios/objects/contacts.cfg
  32. cfg_file=/etc/nagios/objects/timeperiods.cfg
  33. cfg_file=/etc/nagios/objects/templates.cfg
  34.  
  35. # Definitions for monitoring the local (Linux) host
  36. cfg_file=/etc/nagios/objects/localhost.cfg
  37.  
  38. cfg_file=/etc/nagios/nagios_host.cfg
  39. cfg_file=/etc/nagios/nagios_service.cfg
  40.  
  41. # Definitions for monitoring a Windows machine
  42. #cfg_file=/etc/nagios/objects/windows.cfg
  43.  
  44. # Definitions for monitoring a router/switch
  45. #cfg_file=/etc/nagios/objects/switch.cfg
  46.  
  47. # Definitions for monitoring a network printer
  48. #cfg_file=/etc/nagios/objects/printer.cfg
  49.  
  50.  
  51. # You can also tell Nagios to process all config files (with a .cfg
  52. # extension) in a particular directory by using the cfg_dir
  53. # directive as shown below:
  54.  
  55. #cfg_dir=/etc/nagios/servers
  56. #cfg_dir=/etc/nagios/printers
  57. #cfg_dir=/etc/nagios/switches
  58. #cfg_dir=/etc/nagios/routers
  59.  
  60.  
  61.  
  62.  
  63. # OBJECT CACHE FILE
  64. # This option determines where object definitions are cached when
  65. # Nagios starts/restarts. The CGIs read object definitions from
  66. # this cache file (rather than looking at the object config files
  67. # directly) in order to prevent inconsistencies that can occur
  68. # when the config files are modified after Nagios starts.
  69.  
  70. object_cache_file=/var/nagios/objects.cache
  71.  
  72.  
  73.  
  74. # PRE-CACHED OBJECT FILE
  75. # This options determines the location of the precached object file.
  76. # If you run Nagios with the -p command line option, it will preprocess
  77. # your object configuration file(s) and write the cached config to this
  78. # file. You can then start Nagios with the -u option to have it read
  79. # object definitions from this precached file, rather than the standard
  80. # object configuration files (see the cfg_file and cfg_dir options above).
  81. # Using a precached object file can speed up the time needed to (re)start
  82. # the Nagios process if you've got a large and/or complex configuration.
  83. # Read the documentation section on optimizing Nagios to find our more
  84. # about how this feature works.
  85.  
  86. precached_object_file=/var/nagios/objects.precache
  87.  
  88.  
  89.  
  90. # RESOURCE FILE
  91. # This is an optional resource file that contains $USERx$ macro
  92. # definitions. Multiple resource files can be specified by using
  93. # multiple resource_file definitions. The CGIs will not attempt to
  94. # read the contents of resource files, so information that is
  95. # considered to be sensitive (usernames, passwords, etc) can be
  96. # defined as macros in this file and restrictive permissions (600)
  97. # can be placed on this file.
  98.  
  99. resource_file=/etc/nagios/resource.cfg
  100.  
  101.  
  102.  
  103. # STATUS FILE
  104. # This is where the current status of all monitored services and
  105. # hosts is stored. Its contents are read and processed by the CGIs.
  106. # The contents of the status file are deleted every time Nagios
  107. # restarts.
  108.  
  109. status_file=/var/nagios/status.dat
  110.  
  111.  
  112.  
  113. # STATUS FILE UPDATE INTERVAL
  114. # This option determines the frequency (in seconds) that
  115. # Nagios will periodically dump program, host, and
  116. # service status data.
  117.  
  118. status_update_interval=10
  119.  
  120.  
  121.  
  122. # NAGIOS USER
  123. # This determines the effective user that Nagios should run as.
  124. # You can either supply a username or a UID.
  125.  
  126. nagios_user=nagios
  127.  
  128.  
  129.  
  130. # NAGIOS GROUP
  131. # This determines the effective group that Nagios should run as.
  132. # You can either supply a group name or a GID.
  133.  
  134. nagios_group=nagios
  135.  
  136.  
  137.  
  138. # EXTERNAL COMMAND OPTION
  139. # This option allows you to specify whether or not Nagios should check
  140. # for external commands (in the command file defined below). By default
  141. # Nagios will *not* check for external commands, just to be on the
  142. # cautious side. If you want to be able to use the CGI command interface
  143. # you will have to enable this.
  144. # Values: 0 = disable commands, 1 = enable commands
  145.  
  146. check_external_commands=1
  147.  
  148.  
  149.  
  150. # EXTERNAL COMMAND CHECK INTERVAL
  151. # This is the interval at which Nagios should check for external commands.
  152. # This value works of the interval_length you specify later. If you leave
  153. # that at its default value of 60 (seconds), a value of 1 here will cause
  154. # Nagios to check for external commands every minute. If you specify a
  155. # number followed by an "s" (i.e. 15s), this will be interpreted to mean
  156. # actual seconds rather than a multiple of the interval_length variable.
  157. # Note: In addition to reading the external command file at regularly
  158. # scheduled intervals, Nagios will also check for external commands after
  159. # event handlers are executed.
  160. # NOTE: Setting this value to -1 causes Nagios to check the external
  161. # command file as often as possible.
  162.  
  163. #command_check_interval=15s
  164. command_check_interval=-1
  165.  
  166.  
  167.  
  168. # EXTERNAL COMMAND FILE
  169. # This is the file that Nagios checks for external command requests.
  170. # It is also where the command CGI will write commands that are submitted
  171. # by users, so it must be writeable by the user that the web server
  172. # is running as (usually 'nobody'). Permissions should be set at the
  173. # directory level instead of on the file, as the file is deleted every
  174. # time its contents are processed.
  175.  
  176. command_file=/var/nagios/rw/nagios.cmd
  177.  
  178.  
  179.  
  180. # EXTERNAL COMMAND BUFFER SLOTS
  181. # This settings is used to tweak the number of items or "slots" that
  182. # the Nagios daemon should allocate to the buffer that holds incoming
  183. # external commands before they are processed. As external commands
  184. # are processed by the daemon, they are removed from the buffer.
  185.  
  186. external_command_buffer_slots=4096
  187.  
  188.  
  189.  
  190. # LOCK FILE
  191. # This is the lockfile that Nagios will use to store its PID number
  192. # in when it is running in daemon mode.
  193.  
  194. lock_file=/var/run/nagios.pid
  195.  
  196.  
  197.  
  198. # TEMP FILE
  199. # This is a temporary file that is used as scratch space when Nagios
  200. # updates the status log, cleans the comment file, etc. This file
  201. # is created, used, and deleted throughout the time that Nagios is
  202. # running.
  203.  
  204. temp_file=/var/nagios/nagios.tmp
  205.  
  206.  
  207.  
  208. # TEMP PATH
  209. # This is path where Nagios can create temp files for service and
  210. # host check results, etc.
  211.  
  212. temp_path=/tmp
  213.  
  214.  
  215.  
  216. # EVENT BROKER OPTIONS
  217. # Controls what (if any) data gets sent to the event broker.
  218. # Values: 0 = Broker nothing
  219. # -1 = Broker everything
  220. # <other> = See documentation
  221.  
  222. # jww (2009-05-02): set this based on whether ndoutils is being used
  223. event_broker_options=-1
  224.  
  225.  
  226.  
  227. # EVENT BROKER MODULE(S)
  228. # This directive is used to specify an event broker module that should
  229. # by loaded by Nagios at startup. Use multiple directives if you want
  230. # to load more than one module. Arguments that should be passed to
  231. # the module at startup are seperated from the module path by a space.
  232. #
  233. #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  234. # WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING
  235. #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  236. #
  237. # Do NOT overwrite modules while they are being used by Nagios or Nagios
  238. # will crash in a fiery display of SEGFAULT glory. This is a bug/limitation
  239. # either in dlopen(), the kernel, and/or the filesystem. And maybe Nagios...
  240. #
  241. # The correct/safe way of updating a module is by using one of these methods:
  242. # 1. Shutdown Nagios, replace the module file, restart Nagios
  243. # 2. Delete the original module file, move the new module file into place, restart Nagios
  244. #
  245. # Example:
  246. #
  247. # broker_module=<modulepath> [moduleargs]
  248.  
  249. #broker_module=/somewhere/module1.o
  250. #broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
  251.  
  252. #broker_module=/usr/libexec/ndomod-3x.o config_file=/etc/nagios/ndomod.cfg
  253.  
  254.  
  255. # LOG ROTATION METHOD
  256. # This is the log rotation method that Nagios should use to rotate
  257. # the main log file. Values are as follows..
  258. # n = None - don't rotate the log
  259. # h = Hourly rotation (top of the hour)
  260. # d = Daily rotation (midnight every day)
  261. # w = Weekly rotation (midnight on Saturday evening)
  262. # m = Monthly rotation (midnight last day of month)
  263.  
  264. log_rotation_method=d
  265.  
  266.  
  267.  
  268. # LOG ARCHIVE PATH
  269. # This is the directory where archived (rotated) log files should be
  270. # placed (assuming you've chosen to do log rotation).
  271.  
  272. log_archive_path=/var/log/nagios/archives
  273.  
  274.  
  275.  
  276. # LOGGING OPTIONS
  277. # If you want messages logged to the syslog facility, as well as the
  278. # Nagios log file set this option to 1. If not, set it to 0.
  279.  
  280. use_syslog=1
  281.  
  282.  
  283.  
  284. # NOTIFICATION LOGGING OPTION
  285. # If you don't want notifications to be logged, set this value to 0.
  286. # If notifications should be logged, set the value to 1.
  287.  
  288. log_notifications=1
  289.  
  290.  
  291.  
  292. # SERVICE RETRY LOGGING OPTION
  293. # If you don't want service check retries to be logged, set this value
  294. # to 0. If retries should be logged, set the value to 1.
  295.  
  296. log_service_retries=1
  297.  
  298.  
  299.  
  300. # HOST RETRY LOGGING OPTION
  301. # If you don't want host check retries to be logged, set this value to
  302. # 0. If retries should be logged, set the value to 1.
  303.  
  304. log_host_retries=1
  305.  
  306.  
  307.  
  308. # EVENT HANDLER LOGGING OPTION
  309. # If you don't want host and service event handlers to be logged, set
  310. # this value to 0. If event handlers should be logged, set the value
  311. # to 1.
  312.  
  313. log_event_handlers=1
  314.  
  315.  
  316.  
  317. # INITIAL STATES LOGGING OPTION
  318. # If you want Nagios to log all initial host and service states to
  319. # the main log file (the first time the service or host is checked)
  320. # you can enable this option by setting this value to 1. If you
  321. # are not using an external application that does long term state
  322. # statistics reporting, you do not need to enable this option. In
  323. # this case, set the value to 0.
  324.  
  325. log_initial_states=0
  326.  
  327.  
  328.  
  329. # EXTERNAL COMMANDS LOGGING OPTION
  330. # If you don't want Nagios to log external commands, set this value
  331. # to 0. If external commands should be logged, set this value to 1.
  332. # Note: This option does not include logging of passive service
  333. # checks - see the option below for controlling whether or not
  334. # passive checks are logged.
  335.  
  336. log_external_commands=1
  337.  
  338.  
  339.  
  340. # PASSIVE CHECKS LOGGING OPTION
  341. # If you don't want Nagios to log passive host and service checks, set
  342. # this value to 0. If passive checks should be logged, set
  343. # this value to 1.
  344.  
  345. log_passive_checks=1
  346.  
  347.  
  348.  
  349. # GLOBAL HOST AND SERVICE EVENT HANDLERS
  350. # These options allow you to specify a host and service event handler
  351. # command that is to be run for every host or service state change.
  352. # The global event handler is executed immediately prior to the event
  353. # handler that you have optionally specified in each host or
  354. # service definition. The command argument is the short name of a
  355. # command definition that you define in your host configuration file.
  356. # Read the HTML docs for more information.
  357.  
  358. #global_host_event_handler=somecommand
  359. #global_service_event_handler=somecommand
  360.  
  361.  
  362.  
  363. # SERVICE INTER-CHECK DELAY METHOD
  364. # This is the method that Nagios should use when initially
  365. # "spreading out" service checks when it starts monitoring. The
  366. # default is to use smart delay calculation, which will try to
  367. # space all service checks out evenly to minimize CPU load.
  368. # Using the dumb setting will cause all checks to be scheduled
  369. # at the same time (with no delay between them)! This is not a
  370. # good thing for production, but is useful when testing the
  371. # parallelization functionality.
  372. # n = None - don't use any delay between checks
  373. # d = Use a "dumb" delay of 1 second between checks
  374. # s = Use "smart" inter-check delay calculation
  375. # x.xx = Use an inter-check delay of x.xx seconds
  376.  
  377. service_inter_check_delay_method=s
  378.  
  379.  
  380.  
  381. # MAXIMUM SERVICE CHECK SPREAD
  382. # This variable determines the timeframe (in minutes) from the
  383. # program start time that an initial check of all services should
  384. # be completed. Default is 30 minutes.
  385.  
  386. max_service_check_spread=30
  387.  
  388.  
  389.  
  390. # SERVICE CHECK INTERLEAVE FACTOR
  391. # This variable determines how service checks are interleaved.
  392. # Interleaving the service checks allows for a more even
  393. # distribution of service checks and reduced load on remote
  394. # hosts. Setting this value to 1 is equivalent to how versions
  395. # of Nagios previous to 0.0.5 did service checks. Set this
  396. # value to s (smart) for automatic calculation of the interleave
  397. # factor unless you have a specific reason to change it.
  398. # s = Use "smart" interleave factor calculation
  399. # x = Use an interleave factor of x, where x is a
  400. # number greater than or equal to 1.
  401.  
  402. service_interleave_factor=s
  403.  
  404.  
  405.  
  406. # HOST INTER-CHECK DELAY METHOD
  407. # This is the method that Nagios should use when initially
  408. # "spreading out" host checks when it starts monitoring. The
  409. # default is to use smart delay calculation, which will try to
  410. # space all host checks out evenly to minimize CPU load.
  411. # Using the dumb setting will cause all checks to be scheduled
  412. # at the same time (with no delay between them)!
  413. # n = None - don't use any delay between checks
  414. # d = Use a "dumb" delay of 1 second between checks
  415. # s = Use "smart" inter-check delay calculation
  416. # x.xx = Use an inter-check delay of x.xx seconds
  417.  
  418. host_inter_check_delay_method=s
  419.  
  420.  
  421.  
  422. # MAXIMUM HOST CHECK SPREAD
  423. # This variable determines the timeframe (in minutes) from the
  424. # program start time that an initial check of all hosts should
  425. # be completed. Default is 30 minutes.
  426.  
  427. max_host_check_spread=30
  428.  
  429.  
  430.  
  431. # MAXIMUM CONCURRENT SERVICE CHECKS
  432. # This option allows you to specify the maximum number of
  433. # service checks that can be run in parallel at any given time.
  434. # Specifying a value of 1 for this variable essentially prevents
  435. # any service checks from being parallelized. A value of 0
  436. # will not restrict the number of concurrent checks that are
  437. # being executed.
  438.  
  439. max_concurrent_checks=0
  440.  
  441.  
  442.  
  443. # HOST AND SERVICE CHECK REAPER FREQUENCY
  444. # This is the frequency (in seconds!) that Nagios will process
  445. # the results of host and service checks.
  446.  
  447. check_result_reaper_frequency=10
  448.  
  449.  
  450.  
  451.  
  452. # MAX CHECK RESULT REAPER TIME
  453. # This is the max amount of time (in seconds) that a single
  454. # check result reaper event will be allowed to run before
  455. # returning control back to Nagios so it can perform other
  456. # duties.
  457.  
  458. max_check_result_reaper_time=30
  459.  
  460.  
  461.  
  462.  
  463. # CHECK RESULT PATH
  464. # This is directory where Nagios stores the results of host and
  465. # service checks that have not yet been processed.
  466. #
  467. # Note: Make sure that only one instance of Nagios has access
  468. # to this directory!
  469.  
  470. check_result_path=/var/nagios/spool/checkresults
  471.  
  472.  
  473.  
  474.  
  475. # MAX CHECK RESULT FILE AGE
  476. # This option determines the maximum age (in seconds) which check
  477. # result files are considered to be valid. Files older than this
  478. # threshold will be mercilessly deleted without further processing.
  479.  
  480. max_check_result_file_age=3600
  481.  
  482.  
  483.  
  484.  
  485. # CACHED HOST CHECK HORIZON
  486. # This option determines the maximum amount of time (in seconds)
  487. # that the state of a previous host check is considered current.
  488. # Cached host states (from host checks that were performed more
  489. # recently that the timeframe specified by this value) can immensely
  490. # improve performance in regards to the host check logic.
  491. # Too high of a value for this option may result in inaccurate host
  492. # states being used by Nagios, while a lower value may result in a
  493. # performance hit for host checks. Use a value of 0 to disable host
  494. # check caching.
  495.  
  496. cached_host_check_horizon=15
  497.  
  498.  
  499.  
  500. # CACHED SERVICE CHECK HORIZON
  501. # This option determines the maximum amount of time (in seconds)
  502. # that the state of a previous service check is considered current.
  503. # Cached service states (from service checks that were performed more
  504. # recently that the timeframe specified by this value) can immensely
  505. # improve performance in regards to predictive dependency checks.
  506. # Use a value of 0 to disable service check caching.
  507.  
  508. cached_service_check_horizon=15
  509.  
  510.  
  511.  
  512. # ENABLE PREDICTIVE HOST DEPENDENCY CHECKS
  513. # This option determines whether or not Nagios will attempt to execute
  514. # checks of hosts when it predicts that future dependency logic test
  515. # may be needed. These predictive checks can help ensure that your
  516. # host dependency logic works well.
  517. # Values:
  518. # 0 = Disable predictive checks
  519. # 1 = Enable predictive checks (default)
  520.  
  521. enable_predictive_host_dependency_checks=1
  522.  
  523.  
  524.  
  525. # ENABLE PREDICTIVE SERVICE DEPENDENCY CHECKS
  526. # This option determines whether or not Nagios will attempt to execute
  527. # checks of service when it predicts that future dependency logic test
  528. # may be needed. These predictive checks can help ensure that your
  529. # service dependency logic works well.
  530. # Values:
  531. # 0 = Disable predictive checks
  532. # 1 = Enable predictive checks (default)
  533.  
  534. enable_predictive_service_dependency_checks=1
  535.  
  536.  
  537.  
  538. # SOFT STATE DEPENDENCIES
  539. # This option determines whether or not Nagios will use soft state
  540. # information when checking host and service dependencies. Normally
  541. # Nagios will only use the latest hard host or service state when
  542. # checking dependencies. If you want it to use the latest state (regardless
  543. # of whether its a soft or hard state type), enable this option.
  544. # Values:
  545. # 0 = Don't use soft state dependencies (default)
  546. # 1 = Use soft state dependencies
  547.  
  548. soft_state_dependencies=0
  549.  
  550.  
  551.  
  552. # TIME CHANGE ADJUSTMENT THRESHOLDS
  553. # These options determine when Nagios will react to detected changes
  554. # in system time (either forward or backwards).
  555.  
  556. #time_change_threshold=900
  557.  
  558.  
  559.  
  560. # AUTO-RESCHEDULING OPTION
  561. # This option determines whether or not Nagios will attempt to
  562. # automatically reschedule active host and service checks to
  563. # "smooth" them out over time. This can help balance the load on
  564. # the monitoring server.
  565. # WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE
  566. # PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY
  567.  
  568. auto_reschedule_checks=0
  569.  
  570.  
  571.  
  572. # AUTO-RESCHEDULING INTERVAL
  573. # This option determines how often (in seconds) Nagios will
  574. # attempt to automatically reschedule checks. This option only
  575. # has an effect if the auto_reschedule_checks option is enabled.
  576. # Default is 30 seconds.
  577. # WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE
  578. # PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY
  579.  
  580. auto_rescheduling_interval=30
  581.  
  582.  
  583.  
  584. # AUTO-RESCHEDULING WINDOW
  585. # This option determines the "window" of time (in seconds) that
  586. # Nagios will look at when automatically rescheduling checks.
  587. # Only host and service checks that occur in the next X seconds
  588. # (determined by this variable) will be rescheduled. This option
  589. # only has an effect if the auto_reschedule_checks option is
  590. # enabled. Default is 180 seconds (3 minutes).
  591. # WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE
  592. # PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY
  593.  
  594. auto_rescheduling_window=180
  595.  
  596.  
  597.  
  598. # SLEEP TIME
  599. # This is the number of seconds to sleep between checking for system
  600. # events and service checks that need to be run.
  601.  
  602. sleep_time=0.25
  603.  
  604.  
  605.  
  606. # TIMEOUT VALUES
  607. # These options control how much time Nagios will allow various
  608. # types of commands to execute before killing them off. Options
  609. # are available for controlling maximum time allotted for
  610. # service checks, host checks, event handlers, notifications, the
  611. # ocsp command, and performance data commands. All values are in
  612. # seconds.
  613.  
  614. service_check_timeout=60
  615. host_check_timeout=30
  616. event_handler_timeout=30
  617. notification_timeout=30
  618. ocsp_timeout=5
  619. perfdata_timeout=5
  620.  
  621.  
  622.  
  623. # RETAIN STATE INFORMATION
  624. # This setting determines whether or not Nagios will save state
  625. # information for services and hosts before it shuts down. Upon
  626. # startup Nagios will reload all saved service and host state
  627. # information before starting to monitor. This is useful for
  628. # maintaining long-term data on state statistics, etc, but will
  629. # slow Nagios down a bit when it (re)starts. Since its only
  630. # a one-time penalty, I think its well worth the additional
  631. # startup delay.
  632.  
  633. retain_state_information=1
  634.  
  635.  
  636.  
  637. # STATE RETENTION FILE
  638. # This is the file that Nagios should use to store host and
  639. # service state information before it shuts down. The state
  640. # information in this file is also read immediately prior to
  641. # starting to monitor the network when Nagios is restarted.
  642. # This file is used only if the preserve_state_information
  643. # variable is set to 1.
  644.  
  645. state_retention_file=/var/nagios/retention.dat
  646.  
  647.  
  648.  
  649. # RETENTION DATA UPDATE INTERVAL
  650. # This setting determines how often (in minutes) that Nagios
  651. # will automatically save retention data during normal operation.
  652. # If you set this value to 0, Nagios will not save retention
  653. # data at regular interval, but it will still save retention
  654. # data before shutting down or restarting. If you have disabled
  655. # state retention, this option has no effect.
  656.  
  657. retention_update_interval=60
  658.  
  659.  
  660.  
  661. # USE RETAINED PROGRAM STATE
  662. # This setting determines whether or not Nagios will set
  663. # program status variables based on the values saved in the
  664. # retention file. If you want to use retained program status
  665. # information, set this value to 1. If not, set this value
  666. # to 0.
  667.  
  668. use_retained_program_state=1
  669.  
  670.  
  671.  
  672. # USE RETAINED SCHEDULING INFO
  673. # This setting determines whether or not Nagios will retain
  674. # the scheduling info (next check time) for hosts and services
  675. # based on the values saved in the retention file. If you
  676. # If you want to use retained scheduling info, set this
  677. # value to 1. If not, set this value to 0.
  678.  
  679. use_retained_scheduling_info=1
  680.  
  681.  
  682.  
  683. # RETAINED ATTRIBUTE MASKS (ADVANCED FEATURE)
  684. # The following variables are used to specify specific host and
  685. # service attributes that should *not* be retained by Nagios during
  686. # program restarts.
  687. #
  688. # The values of the masks are bitwise ANDs of values specified
  689. # by the "MODATTR_" definitions found in include/common.h.
  690. # For example, if you do not want the current enabled/disabled state
  691. # of flap detection and event handlers for hosts to be retained, you
  692. # would use a value of 24 for the host attribute mask...
  693. # MODATTR_EVENT_HANDLER_ENABLED (8) + MODATTR_FLAP_DETECTION_ENABLED (16) = 24
  694.  
  695. # This mask determines what host attributes are not retained
  696. retained_host_attribute_mask=0
  697.  
  698. # This mask determines what service attributes are not retained
  699. retained_service_attribute_mask=0
  700.  
  701. # These two masks determine what process attributes are not retained.
  702. # There are two masks, because some process attributes have host and service
  703. # options. For example, you can disable active host checks, but leave active
  704. # service checks enabled.
  705. retained_process_host_attribute_mask=0
  706. retained_process_service_attribute_mask=0
  707.  
  708. # These two masks determine what contact attributes are not retained.
  709. # There are two masks, because some contact attributes have host and
  710. # service options. For example, you can disable host notifications for
  711. # a contact, but leave service notifications enabled for them.
  712. retained_contact_host_attribute_mask=0
  713. retained_contact_service_attribute_mask=0
  714.  
  715.  
  716.  
  717. # INTERVAL LENGTH
  718. # This is the seconds per unit interval as used in the
  719. # host/contact/service configuration files. Setting this to 60 means
  720. # that each interval is one minute long (60 seconds). Other settings
  721. # have not been tested much, so your mileage is likely to vary...
  722.  
  723. interval_length=60
  724.  
  725.  
  726.  
  727. # AGGRESSIVE HOST CHECKING OPTION
  728. # If you don't want to turn on aggressive host checking features, set
  729. # this value to 0 (the default). Otherwise set this value to 1 to
  730. # enable the aggressive check option. Read the docs for more info
  731. # on what aggressive host check is or check out the source code in
  732. # base/checks.c
  733.  
  734. use_aggressive_host_checking=0
  735.  
  736.  
  737.  
  738. # SERVICE CHECK EXECUTION OPTION
  739. # This determines whether or not Nagios will actively execute
  740. # service checks when it initially starts. If this option is
  741. # disabled, checks are not actively made, but Nagios can still
  742. # receive and process passive check results that come in. Unless
  743. # you're implementing redundant hosts or have a special need for
  744. # disabling the execution of service checks, leave this enabled!
  745. # Values: 1 = enable checks, 0 = disable checks
  746.  
  747. execute_service_checks=1
  748.  
  749.  
  750.  
  751. # PASSIVE SERVICE CHECK ACCEPTANCE OPTION
  752. # This determines whether or not Nagios will accept passive
  753. # service checks results when it initially (re)starts.
  754. # Values: 1 = accept passive checks, 0 = reject passive checks
  755.  
  756. accept_passive_service_checks=1
  757.  
  758.  
  759.  
  760. # HOST CHECK EXECUTION OPTION
  761. # This determines whether or not Nagios will actively execute
  762. # host checks when it initially starts. If this option is
  763. # disabled, checks are not actively made, but Nagios can still
  764. # receive and process passive check results that come in. Unless
  765. # you're implementing redundant hosts or have a special need for
  766. # disabling the execution of host checks, leave this enabled!
  767. # Values: 1 = enable checks, 0 = disable checks
  768.  
  769. execute_host_checks=1
  770.  
  771.  
  772.  
  773. # PASSIVE HOST CHECK ACCEPTANCE OPTION
  774. # This determines whether or not Nagios will accept passive
  775. # host checks results when it initially (re)starts.
  776. # Values: 1 = accept passive checks, 0 = reject passive checks
  777.  
  778. accept_passive_host_checks=1
  779.  
  780.  
  781.  
  782. # NOTIFICATIONS OPTION
  783. # This determines whether or not Nagios will sent out any host or
  784. # service notifications when it is initially (re)started.
  785. # Values: 1 = enable notifications, 0 = disable notifications
  786.  
  787. enable_notifications=1
  788.  
  789.  
  790.  
  791. # EVENT HANDLER USE OPTION
  792. # This determines whether or not Nagios will run any host or
  793. # service event handlers when it is initially (re)started. Unless
  794. # you're implementing redundant hosts, leave this option enabled.
  795. # Values: 1 = enable event handlers, 0 = disable event handlers
  796.  
  797. enable_event_handlers=1
  798.  
  799.  
  800.  
  801. # PROCESS PERFORMANCE DATA OPTION
  802. # This determines whether or not Nagios will process performance
  803. # data returned from service and host checks. If this option is
  804. # enabled, host performance data will be processed using the
  805. # host_perfdata_command (defined below) and service performance
  806. # data will be processed using the service_perfdata_command (also
  807. # defined below). Read the HTML docs for more information on
  808. # performance data.
  809. # Values: 1 = process performance data, 0 = do not process performance data
  810.  
  811. process_performance_data=0
  812.  
  813.  
  814.  
  815. # HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS
  816. # These commands are run after every host and service check is
  817. # performed. These commands are executed only if the
  818. # enable_performance_data option (above) is set to 1. The command
  819. # argument is the short name of a command definition that you
  820. # define in your host configuration file. Read the HTML docs for
  821. # more information on performance data.
  822.  
  823. #host_perfdata_command=process-host-perfdata
  824. #service_perfdata_command=process-service-perfdata
  825.  
  826.  
  827.  
  828. # HOST AND SERVICE PERFORMANCE DATA FILES
  829. # These files are used to store host and service performance data.
  830. # Performance data is only written to these files if the
  831. # enable_performance_data option (above) is set to 1.
  832.  
  833. #host_perfdata_file=/tmp/host-perfdata
  834. #service_perfdata_file=/tmp/service-perfdata
  835.  
  836.  
  837.  
  838. # HOST AND SERVICE PERFORMANCE DATA FILE TEMPLATES
  839. # These options determine what data is written (and how) to the
  840. # performance data files. The templates may contain macros, special
  841. # characters (\t for tab, \r for carriage return, \n for newline)
  842. # and plain text. A newline is automatically added after each write
  843. # to the performance data file. Some examples of what you can do are
  844. # shown below.
  845.  
  846. #host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$
  847. #service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$
  848.  
  849.  
  850.  
  851. # HOST AND SERVICE PERFORMANCE DATA FILE MODES
  852. # This option determines whether or not the host and service
  853. # performance data files are opened in write ("w") or append ("a")
  854. # mode. If you want to use named pipes, you should use the special
  855. # pipe ("p") mode which avoid blocking at startup, otherwise you will
  856. # likely want the defult append ("a") mode.
  857.  
  858. #host_perfdata_file_mode=a
  859. #service_perfdata_file_mode=a
  860.  
  861.  
  862.  
  863. # HOST AND SERVICE PERFORMANCE DATA FILE PROCESSING INTERVAL
  864. # These options determine how often (in seconds) the host and service
  865. # performance data files are processed using the commands defined
  866. # below. A value of 0 indicates the files should not be periodically
  867. # processed.
  868.  
  869. #host_perfdata_file_processing_interval=0
  870. #service_perfdata_file_processing_interval=0
  871.  
  872.  
  873.  
  874. # HOST AND SERVICE PERFORMANCE DATA FILE PROCESSING COMMANDS
  875. # These commands are used to periodically process the host and
  876. # service performance data files. The interval at which the
  877. # processing occurs is determined by the options above.
  878.  
  879. #host_perfdata_file_processing_command=process-host-perfdata-file
  880. #service_perfdata_file_processing_command=process-service-perfdata-file
  881.  
  882.  
  883.  
  884. # OBSESS OVER SERVICE CHECKS OPTION
  885. # This determines whether or not Nagios will obsess over service
  886. # checks and run the ocsp_command defined below. Unless you're
  887. # planning on implementing distributed monitoring, do not enable
  888. # this option. Read the HTML docs for more information on
  889. # implementing distributed monitoring.
  890. # Values: 1 = obsess over services, 0 = do not obsess (default)
  891.  
  892. obsess_over_services=0
  893.  
  894.  
  895.  
  896. # OBSESSIVE COMPULSIVE SERVICE PROCESSOR COMMAND
  897. # This is the command that is run for every service check that is
  898. # processed by Nagios. This command is executed only if the
  899. # obsess_over_services option (above) is set to 1. The command
  900. # argument is the short name of a command definition that you
  901. # define in your host configuration file. Read the HTML docs for
  902. # more information on implementing distributed monitoring.
  903.  
  904. #ocsp_command=somecommand
  905.  
  906.  
  907.  
  908. # OBSESS OVER HOST CHECKS OPTION
  909. # This determines whether or not Nagios will obsess over host
  910. # checks and run the ochp_command defined below. Unless you're
  911. # planning on implementing distributed monitoring, do not enable
  912. # this option. Read the HTML docs for more information on
  913. # implementing distributed monitoring.
  914. # Values: 1 = obsess over hosts, 0 = do not obsess (default)
  915.  
  916. obsess_over_hosts=0
  917.  
  918.  
  919.  
  920. # OBSESSIVE COMPULSIVE HOST PROCESSOR COMMAND
  921. # This is the command that is run for every host check that is
  922. # processed by Nagios. This command is executed only if the
  923. # obsess_over_hosts option (above) is set to 1. The command
  924. # argument is the short name of a command definition that you
  925. # define in your host configuration file. Read the HTML docs for
  926. # more information on implementing distributed monitoring.
  927.  
  928. #ochp_command=somecommand
  929.  
  930.  
  931.  
  932. # TRANSLATE PASSIVE HOST CHECKS OPTION
  933. # This determines whether or not Nagios will translate
  934. # DOWN/UNREACHABLE passive host check results into their proper
  935. # state for this instance of Nagios. This option is useful
  936. # if you have distributed or failover monitoring setup. In
  937. # these cases your other Nagios servers probably have a different
  938. # "view" of the network, with regards to the parent/child relationship
  939. # of hosts. If a distributed monitoring server thinks a host
  940. # is DOWN, it may actually be UNREACHABLE from the point of
  941. # this Nagios instance. Enabling this option will tell Nagios
  942. # to translate any DOWN or UNREACHABLE host states it receives
  943. # passively into the correct state from the view of this server.
  944. # Values: 1 = perform translation, 0 = do not translate (default)
  945.  
  946. translate_passive_host_checks=0
  947.  
  948.  
  949.  
  950. # PASSIVE HOST CHECKS ARE SOFT OPTION
  951. # This determines whether or not Nagios will treat passive host
  952. # checks as being HARD or SOFT. By default, a passive host check
  953. # result will put a host into a HARD state type. This can be changed
  954. # by enabling this option.
  955. # Values: 0 = passive checks are HARD, 1 = passive checks are SOFT
  956.  
  957. passive_host_checks_are_soft=0
  958.  
  959.  
  960.  
  961. # ORPHANED HOST/SERVICE CHECK OPTIONS
  962. # These options determine whether or not Nagios will periodically
  963. # check for orphaned host service checks. Since service checks are
  964. # not rescheduled until the results of their previous execution
  965. # instance are processed, there exists a possibility that some
  966. # checks may never get rescheduled. A similar situation exists for
  967. # host checks, although the exact scheduling details differ a bit
  968. # from service checks. Orphaned checks seem to be a rare
  969. # problem and should not happen under normal circumstances.
  970. # If you have problems with service checks never getting
  971. # rescheduled, make sure you have orphaned service checks enabled.
  972. # Values: 1 = enable checks, 0 = disable checks
  973.  
  974. check_for_orphaned_services=1
  975. check_for_orphaned_hosts=1
  976.  
  977.  
  978.  
  979. # SERVICE FRESHNESS CHECK OPTION
  980. # This option determines whether or not Nagios will periodically
  981. # check the "freshness" of service results. Enabling this option
  982. # is useful for ensuring passive checks are received in a timely
  983. # manner.
  984. # Values: 1 = enabled freshness checking, 0 = disable freshness checking
  985.  
  986. check_service_freshness=1
  987.  
  988.  
  989.  
  990. # SERVICE FRESHNESS CHECK INTERVAL
  991. # This setting determines how often (in seconds) Nagios will
  992. # check the "freshness" of service check results. If you have
  993. # disabled service freshness checking, this option has no effect.
  994.  
  995. service_freshness_check_interval=60
  996.  
  997.  
  998.  
  999. # HOST FRESHNESS CHECK OPTION
  1000. # This option determines whether or not Nagios will periodically
  1001. # check the "freshness" of host results. Enabling this option
  1002. # is useful for ensuring passive checks are received in a timely
  1003. # manner.
  1004. # Values: 1 = enabled freshness checking, 0 = disable freshness checking
  1005.  
  1006. check_host_freshness=0
  1007.  
  1008.  
  1009.  
  1010. # HOST FRESHNESS CHECK INTERVAL
  1011. # This setting determines how often (in seconds) Nagios will
  1012. # check the "freshness" of host check results. If you have
  1013. # disabled host freshness checking, this option has no effect.
  1014.  
  1015. host_freshness_check_interval=60
  1016.  
  1017.  
  1018.  
  1019.  
  1020. # ADDITIONAL FRESHNESS THRESHOLD LATENCY
  1021. # This setting determines the number of seconds that Nagios
  1022. # will add to any host and service freshness thresholds that
  1023. # it calculates (those not explicitly specified by the user).
  1024.  
  1025. additional_freshness_latency=15
  1026.  
  1027.  
  1028.  
  1029.  
  1030. # FLAP DETECTION OPTION
  1031. # This option determines whether or not Nagios will try
  1032. # and detect hosts and services that are "flapping".
  1033. # Flapping occurs when a host or service changes between
  1034. # states too frequently. When Nagios detects that a
  1035. # host or service is flapping, it will temporarily suppress
  1036. # notifications for that host/service until it stops
  1037. # flapping. Flap detection is very experimental, so read
  1038. # the HTML documentation before enabling this feature!
  1039. # Values: 1 = enable flap detection
  1040. # 0 = disable flap detection (default)
  1041.  
  1042. enable_flap_detection=1
  1043.  
  1044.  
  1045.  
  1046. # FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES
  1047. # Read the HTML documentation on flap detection for
  1048. # an explanation of what this option does. This option
  1049. # has no effect if flap detection is disabled.
  1050.  
  1051. low_service_flap_threshold=5.0
  1052. high_service_flap_threshold=20.0
  1053. low_host_flap_threshold=5.0
  1054. high_host_flap_threshold=20.0
  1055.  
  1056.  
  1057.  
  1058. # DATE FORMAT OPTION
  1059. # This option determines how short dates are displayed. Valid options
  1060. # include:
  1061. # us (MM-DD-YYYY HH:MM:SS)
  1062. # euro (DD-MM-YYYY HH:MM:SS)
  1063. # iso8601 (YYYY-MM-DD HH:MM:SS)
  1064. # strict-iso8601 (YYYY-MM-DDTHH:MM:SS)
  1065. #
  1066.  
  1067. date_format=us
  1068.  
  1069.  
  1070.  
  1071.  
  1072. # TIMEZONE OFFSET
  1073. # This option is used to override the default timezone that this
  1074. # instance of Nagios runs in. If not specified, Nagios will use
  1075. # the system configured timezone.
  1076. #
  1077. # NOTE: In order to display the correct timezone in the CGIs, you
  1078. # will also need to alter the Apache directives for the CGI path
  1079. # to include your timezone. Example:
  1080. #
  1081. # <Directory "/usr/local/nagios/sbin/">
  1082. # SetEnv TZ "Australia/Brisbane"
  1083. # ...
  1084. # </Directory>
  1085.  
  1086. #use_timezone=US/Mountain
  1087. #use_timezone=Australia/Brisbane
  1088.  
  1089.  
  1090.  
  1091.  
  1092. # P1.PL FILE LOCATION
  1093. # This value determines where the p1.pl perl script (used by the
  1094. # embedded Perl interpreter) is located. If you didn't compile
  1095. # Nagios with embedded Perl support, this option has no effect.
  1096.  
  1097. p1_file=/usr/bin/p1.pl
  1098.  
  1099.  
  1100.  
  1101. # EMBEDDED PERL INTERPRETER OPTION
  1102. # This option determines whether or not the embedded Perl interpreter
  1103. # will be enabled during runtime. This option has no effect if Nagios
  1104. # has not been compiled with support for embedded Perl.
  1105. # Values: 0 = disable interpreter, 1 = enable interpreter
  1106.  
  1107. enable_embedded_perl=1
  1108.  
  1109.  
  1110.  
  1111. # EMBEDDED PERL USAGE OPTION
  1112. # This option determines whether or not Nagios will process Perl plugins
  1113. # and scripts with the embedded Perl interpreter if the plugins/scripts
  1114. # do not explicitly indicate whether or not it is okay to do so. Read
  1115. # the HTML documentation on the embedded Perl interpreter for more
  1116. # information on how this option works.
  1117.  
  1118. use_embedded_perl_implicitly=1
  1119.  
  1120.  
  1121.  
  1122. # ILLEGAL OBJECT NAME CHARACTERS
  1123. # This option allows you to specify illegal characters that cannot
  1124. # be used in host names, service descriptions, or names of other
  1125. # object types.
  1126.  
  1127. illegal_object_name_chars=`~!$%^&*|'"<>?,()=
  1128.  
  1129.  
  1130.  
  1131. # ILLEGAL MACRO OUTPUT CHARACTERS
  1132. # This option allows you to specify illegal characters that are
  1133. # stripped from macros before being used in notifications, event
  1134. # handlers, etc. This DOES NOT affect macros used in service or
  1135. # host check commands.
  1136. # The following macros are stripped of the characters you specify:
  1137. # $HOSTOUTPUT$
  1138. # $HOSTPERFDATA$
  1139. # $HOSTACKAUTHOR$
  1140. # $HOSTACKCOMMENT$
  1141. # $SERVICEOUTPUT$
  1142. # $SERVICEPERFDATA$
  1143. # $SERVICEACKAUTHOR$
  1144. # $SERVICEACKCOMMENT$
  1145.  
  1146. illegal_macro_output_chars=`~$&|'"<>
  1147.  
  1148.  
  1149.  
  1150. # REGULAR EXPRESSION MATCHING
  1151. # This option controls whether or not regular expression matching
  1152. # takes place in the object config files. Regular expression
  1153. # matching is used to match host, hostgroup, service, and service
  1154. # group names/descriptions in some fields of various object types.
  1155. # Values: 1 = enable regexp matching, 0 = disable regexp matching
  1156.  
  1157. use_regexp_matching=0
  1158.  
  1159.  
  1160.  
  1161. # "TRUE" REGULAR EXPRESSION MATCHING
  1162. # This option controls whether or not "true" regular expression
  1163. # matching takes place in the object config files. This option
  1164. # only has an effect if regular expression matching is enabled
  1165. # (see above). If this option is DISABLED, regular expression
  1166. # matching only occurs if a string contains wildcard characters
  1167. # (* and ?). If the option is ENABLED, regexp matching occurs
  1168. # all the time (which can be annoying).
  1169. # Values: 1 = enable true matching, 0 = disable true matching
  1170.  
  1171. use_true_regexp_matching=0
  1172.  
  1173.  
  1174.  
  1175. # ADMINISTRATOR EMAIL/PAGER ADDRESSES
  1176. # The email and pager address of a global administrator (likely you).
  1177. # Nagios never uses these values itself, but you can access them by
  1178. # using the $ADMINEMAIL$ and $ADMINPAGER$ macros in your notification
  1179. # commands.
  1180.  
  1181. admin_email=<%= administrator %>
  1182. admin_pager=pagenagios@localhost
  1183.  
  1184.  
  1185.  
  1186. # DAEMON CORE DUMP OPTION
  1187. # This option determines whether or not Nagios is allowed to create
  1188. # a core dump when it runs as a daemon. Note that it is generally
  1189. # considered bad form to allow this, but it may be useful for
  1190. # debugging purposes. Enabling this option doesn't guarantee that
  1191. # a core file will be produced, but that's just life...
  1192. # Values: 1 - Allow core dumps
  1193. # 0 - Do not allow core dumps (default)
  1194.  
  1195. daemon_dumps_core=0
  1196.  
  1197.  
  1198.  
  1199. # LARGE INSTALLATION TWEAKS OPTION
  1200. # This option determines whether or not Nagios will take some shortcuts
  1201. # which can save on memory and CPU usage in large Nagios installations.
  1202. # Read the documentation for more information on the benefits/tradeoffs
  1203. # of enabling this option.
  1204. # Values: 1 - Enabled tweaks
  1205. # 0 - Disable tweaks (default)
  1206.  
  1207. use_large_installation_tweaks=0
  1208.  
  1209.  
  1210.  
  1211. # ENABLE ENVIRONMENT MACROS
  1212. # This option determines whether or not Nagios will make all standard
  1213. # macros available as environment variables when host/service checks
  1214. # and system commands (event handlers, notifications, etc.) are
  1215. # executed. Enabling this option can cause performance issues in
  1216. # large installations, as it will consume a bit more memory and (more
  1217. # importantly) consume more CPU.
  1218. # Values: 1 - Enable environment variable macros (default)
  1219. # 0 - Disable environment variable macros
  1220.  
  1221. enable_environment_macros=1
  1222.  
  1223.  
  1224.  
  1225. # CHILD PROCESS MEMORY OPTION
  1226. # This option determines whether or not Nagios will free memory in
  1227. # child processes (processed used to execute system commands and host/
  1228. # service checks). If you specify a value here, it will override
  1229. # program defaults.
  1230. # Value: 1 - Free memory in child processes
  1231. # 0 - Do not free memory in child processes
  1232.  
  1233. #free_child_process_memory=1
  1234.  
  1235.  
  1236.  
  1237. # CHILD PROCESS FORKING BEHAVIOR
  1238. # This option determines how Nagios will fork child processes
  1239. # (used to execute system commands and host/service checks). Normally
  1240. # child processes are fork()ed twice, which provides a very high level
  1241. # of isolation from problems. Fork()ing once is probably enough and will
  1242. # save a great deal on CPU usage (in large installs), so you might
  1243. # want to consider using this. If you specify a value here, it will
  1244. # program defaults.
  1245. # Value: 1 - Child processes fork() twice
  1246. # 0 - Child processes fork() just once
  1247.  
  1248. #child_processes_fork_twice=1
  1249.  
  1250.  
  1251.  
  1252. # DEBUG LEVEL
  1253. # This option determines how much (if any) debugging information will
  1254. # be written to the debug file. OR values together to log multiple
  1255. # types of information.
  1256. # Values:
  1257. # -1 = Everything
  1258. # 0 = Nothing
  1259. # 1 = Functions
  1260. # 2 = Configuration
  1261. # 4 = Process information
  1262. # 8 = Scheduled events
  1263. # 16 = Host/service checks
  1264. # 32 = Notifications
  1265. # 64 = Event broker
  1266. # 128 = External commands
  1267. # 256 = Commands
  1268. # 512 = Scheduled downtime
  1269. # 1024 = Comments
  1270. # 2048 = Macros
  1271.  
  1272. debug_level=0
  1273.  
  1274.  
  1275.  
  1276. # DEBUG VERBOSITY
  1277. # This option determines how verbose the debug log out will be.
  1278. # Values: 0 = Brief output
  1279. # 1 = More detailed
  1280. # 2 = Very detailed
  1281.  
  1282. debug_verbosity=1
  1283.  
  1284.  
  1285.  
  1286. # DEBUG FILE
  1287. # This option determines where Nagios should write debugging information.
  1288.  
  1289. debug_file=/var/log/nagios/nagios.debug
  1290.  
  1291.  
  1292.  
  1293. # MAX DEBUG FILE SIZE
  1294. # This option determines the maximum size (in bytes) of the debug file. If
  1295. # the file grows larger than this size, it will be renamed with a .old
  1296. # extension. If a file already exists with a .old extension it will
  1297. # automatically be deleted. This helps ensure your disk space usage doesn't
  1298. # get out of control when debugging Nagios.
  1299.  
  1300. max_debug_file_size=1000000
Add Comment
Please, Sign In to add comment