Skip to content

Instantly share code, notes, and snippets.

@chenryn
Created May 9, 2014 06:53
Show Gist options
  • Save chenryn/5a11f7dbf36c2563b9ea to your computer and use it in GitHub Desktop.
Save chenryn/5a11f7dbf36c2563b9ea to your computer and use it in GitHub Desktop.
omd-1.0-gen-nagios.cfg
#
# This file has been created by OMD out of the following files:
#
# /omd/sites/cdn/etc/nagios/nagios.d/dependency.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/eventhandler.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/flapping.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/mk-livestatus.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/mod-gearman.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/obsess.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/pnp4nagios.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg
# /omd/sites/cdn/etc/nagios/nagios.cfg
#
# Do not edit this file. It will be recreated each time Nagios
# is started or reloaded. Rather change things in the original
# files.
#
# ------------------------------------------------------------
# /omd/sites/cdn/etc/nagios/nagios.d/dependency.cfg:10
enable_predictive_host_dependency_checks=1
# /omd/sites/cdn/etc/nagios/nagios.d/dependency.cfg:23
enable_predictive_service_dependency_checks=1
# /omd/sites/cdn/etc/nagios/nagios.d/dependency.cfg:37
soft_state_dependencies=0
# /omd/sites/cdn/etc/nagios/nagios.d/flapping.cfg:13
enable_flap_detection=1
# /omd/sites/cdn/etc/nagios/nagios.d/flapping.cfg:22
low_service_flap_threshold=5.0
# /omd/sites/cdn/etc/nagios/nagios.d/flapping.cfg:23
high_service_flap_threshold=20.0
# /omd/sites/cdn/etc/nagios/nagios.d/flapping.cfg:24
low_host_flap_threshold=5.0
# /omd/sites/cdn/etc/nagios/nagios.d/flapping.cfg:25
high_host_flap_threshold=20.0
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:15
translate_passive_host_checks=0
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:26
passive_host_checks_are_soft=0
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:43
check_for_orphaned_services=1
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:44
check_for_orphaned_hosts=1
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:55
check_service_freshness=1
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:63
service_freshness_check_interval=60
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:74
check_host_freshness=0
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:83
host_freshness_check_interval=60
# /omd/sites/cdn/etc/nagios/nagios.d/freshness.cfg:93
additional_freshness_latency=15
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:18
log_rotation_method=d
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:24
use_syslog=0
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:30
log_notifications=1
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:36
log_service_retries=1
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:42
log_host_retries=1
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:49
log_event_handlers=1
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:59
log_initial_states=1
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:68
log_external_commands=0
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:75
log_passive_checks=0
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:97
debug_level=32
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:105
debug_verbosity=2
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:114
max_debug_file_size=1000000
# /omd/sites/cdn/etc/nagios/nagios.d/logging.cfg:125
daemon_dumps_core=0
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:18
check_for_updates=0
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:28
bare_update_check=1
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:39
date_format=iso8601
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:66
use_aggressive_host_checking=0
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:77
execute_service_checks=1
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:84
accept_passive_service_checks=1
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:95
execute_host_checks=1
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:102
accept_passive_host_checks=1
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:110
enable_notifications=1
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:120
enable_event_handlers=1
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:131
use_regexp_matching=0
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:143
use_true_regexp_matching=0
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:151
enable_embedded_perl=0
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:160
use_embedded_perl_implicitly=1
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:167
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
# /omd/sites/cdn/etc/nagios/nagios.d/misc.cfg:184
illegal_macro_output_chars=`~$&|'"<>
# /omd/sites/cdn/etc/nagios/nagios.d/mk-livestatus.cfg:5
broker_module=/omd/sites/cdn/lib/mk-livestatus/livestatus.o num_client_threads=20 pnp_path=/omd/sites/cdn/var/pnp4nagios/perfdata /omd/sites/cdn/tmp/run/live
# /omd/sites/cdn/etc/nagios/nagios.d/mk-livestatus.cfg:6
event_broker_options=-1
# /omd/sites/cdn/etc/nagios/nagios.d/mod-gearman.cfg:5
event_broker_options=-1
# /omd/sites/cdn/etc/nagios/nagios.d/mod-gearman.cfg:6
broker_module=/omd/sites/cdn/lib/mod_gearman/mod_gearman.o config=/omd/sites/cdn/etc/mod-gearman/server.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/obsess.cfg:11
obsess_over_services=0
# /omd/sites/cdn/etc/nagios/nagios.d/obsess.cfg:31
obsess_over_hosts=0
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:12
lock_file=/omd/sites/cdn/tmp/lock/nagios.lock
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:13
temp_file=/omd/sites/cdn/tmp/nagios/tmp.file
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:14
temp_path=/omd/sites/cdn/tmp/nagios/tmp
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:15
log_archive_path=/omd/sites/cdn/var/nagios/archive
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:16
check_result_path=/omd/sites/cdn/tmp/nagios/checkresults
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:17
state_retention_file=/omd/sites/cdn/var/nagios/retention.dat
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:18
debug_file=/omd/sites/cdn/var/nagios/debug.log
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:19
command_file=/omd/sites/cdn/tmp/run/nagios.cmd
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:20
log_file=/omd/sites/cdn/var/nagios/nagios.log
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:21
object_cache_file=/omd/sites/cdn/var/nagios/objects.cache
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:22
precached_object_file=/omd/sites/cdn/var/nagios/objects.precache
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:23
resource_file=/omd/sites/cdn/etc/nagios/resource.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:24
status_file=/omd/sites/cdn/tmp/nagios/status.dat
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:25
p1_file=/omd/sites/cdn/lib/nagios/p1.pl
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:26
cfg_dir=/omd/sites/cdn/etc/nagios/conf.d
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:27
nagios_user=cdn
# /omd/sites/cdn/etc/nagios/nagios.d/omd.cfg:28
nagios_group=cdn
# /omd/sites/cdn/etc/nagios/nagios.d/pnp4nagios.cfg:4
process_performance_data=1
# /omd/sites/cdn/etc/nagios/nagios.d/pnp4nagios.cfg:5
broker_module=/omd/sites/cdn/lib/npcdmod.o config_file=/omd/sites/cdn/etc/pnp4nagios/npcd.cfg
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:19
retain_state_information=1
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:29
retention_update_interval=60
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:38
use_retained_program_state=1
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:47
use_retained_scheduling_info=1
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:63
retained_host_attribute_mask=0
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:66
retained_service_attribute_mask=0
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:72
retained_process_host_attribute_mask=0
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:73
retained_process_service_attribute_mask=0
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:79
retained_contact_host_attribute_mask=0
# /omd/sites/cdn/etc/nagios/nagios.d/retention.cfg:80
retained_contact_service_attribute_mask=0
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:7
interval_length=60
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:15
sleep_time=0.25
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:33
service_inter_check_delay_method=s
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:49
service_interleave_factor=s
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:65
host_inter_check_delay_method=s
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:77
max_concurrent_checks=0
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:91
cached_host_check_horizon=15
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:103
cached_service_check_horizon=15
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:123
auto_reschedule_checks=0
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:135
auto_rescheduling_interval=30
# /omd/sites/cdn/etc/nagios/nagios.d/timing.cfg:149
auto_rescheduling_window=180
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:14
status_update_interval=30
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:24
check_external_commands=1
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:40
command_check_interval=-1
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:48
external_command_buffer_slots=32768
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:55
max_service_check_spread=5
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:62
max_host_check_spread=5
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:68
check_result_reaper_frequency=1
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:76
max_check_result_reaper_time=30
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:83
max_check_result_file_age=3600
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:93
service_check_timeout=60
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:94
host_check_timeout=30
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:95
event_handler_timeout=30
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:96
notification_timeout=30
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:97
ocsp_timeout=5
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:98
perfdata_timeout=5
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:108
use_large_installation_tweaks=1
# /omd/sites/cdn/etc/nagios/nagios.d/tuning.cfg:120
enable_environment_macros=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment