|
[Nagios-checkins] nagios/t-tap/smallconfig minimal.cfg, NONE,
1.1 nagios.cfg, NONE, 1.1 objects.cache, NONE,
1.1 resource.cfg, NONE, 1.1
From: Ton Voon <tonvoon@us...> - 2009-10-26 18:15
|
Update of /cvsroot/nagios/nagios/t-tap/smallconfig
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv862/t-tap/smallconfig
Added Files:
minimal.cfg nagios.cfg objects.cache resource.cfg
Log Message:
Fix for incorrect scheduling when clocks go back an hour in certain timezones
--- NEW FILE: resource.cfg ---
#Empty file
--- NEW FILE: objects.cache ---
########################################
# NAGIOS OBJECT CACHE FILE
#
# THIS FILE IS AUTOMATICALLY GENERATED
# BY NAGIOS. DO NOT MODIFY THIS FILE!
#
# Created: Mon Oct 26 18:02:50 2009
########################################
define timeperiod {
timeperiod_name 24x7
alias 24x7 base on weekdays
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
define timeperiod {
timeperiod_name none
alias Nothing
}
define command {
command_name check_me
command_line /usr/local/nagios/libexec/check_me
}
define command {
command_name multiple_continuation_lines_with_spaces_intermingled
command_line check_nrpe_arg!30!check_fs_ping!/mnt/account-p,/mnt/prepro-p,/mnt/webapp-ssl,/mnt/rollout-p
}
define command {
command_name notify-none
command_line /usr/local/nagios/notifications/notify-none
}
define command {
command_name set_to_stale
command_line /usr/local/nagios/libexec/set_to_stale
}
define command {
command_name with_continuation_lines
command_line $USER1$/check_foo onetwo
}
define contactgroup {
contactgroup_name causetestfailure
alias This causes a test failure by having a comma separated list before the empty contactgroup
members second,nagiosadmin
}
define contactgroup {
contactgroup_name empty
alias No members defined - this should pass validation
}
define hostgroup {
hostgroup_name hostgroup1
members host1
}
define hostgroup {
hostgroup_name hostgroup2
}
define contact {
contact_name nagiosadmin
service_notification_period none
host_notification_period none
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands notify-none
host_notification_commands notify-none
host_notifications_enabled 0
service_notifications_enabled 0
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
}
define contact {
contact_name second
service_notification_period none
host_notification_period none
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands notify-none
host_notification_commands notify-none
host_notifications_enabled 0
service_notifications_enabled 0
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
}
define host {
host_name host1
alias host1 test
address 192.168.1.1
check_period none
contacts nagiosadmin
notification_period none
initial_state o
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 2
active_checks_enabled 1
passive_checks_enabled 1
obsess_over_host 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options o,d,u
freshness_threshold 0
check_freshness 0
notification_options d,u,r,f,s
notifications_enabled 1
notification_interval 60.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name host1
service_description Dummy service
check_period none
check_command check_me
contacts nagiosadmin
notification_period none
initial_state o
check_interval 32.000000
retry_interval 1.000000
max_check_attempts 3
is_volatile 0
parallelize_check 1
active_checks_enabled 1
passive_checks_enabled 1
obsess_over_service 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options o,w,u,c
freshness_threshold 0
check_freshness 0
notification_options u,w,c,r,f,s
notifications_enabled 1
notification_interval 60.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name host1
service_description Uses important check command
check_period none
check_command set_to_stale
contacts nagiosadmin
notification_period none
initial_state o
check_interval 15.000000
retry_interval 1.000000
max_check_attempts 5
is_volatile 0
parallelize_check 1
active_checks_enabled 1
passive_checks_enabled 1
obsess_over_service 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options o,w,u,c
freshness_threshold 0
check_freshness 0
notification_options u,w,c,r,f,s
notifications_enabled 1
notification_interval 65.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
--- NEW FILE: minimal.cfg ---
define host {
host_name host1
alias host1 test
address 192.168.1.1
max_check_attempts 2
check_period none
contacts nagiosadmin
notification_interval 60
notification_period none
hostgroups hostgroup1
}
define hostgroup {
hostgroup_name hostgroup1
}
define hostgroup {
hostgroup_name hostgroup2
}
define service {
host_name host1
service_description Dummy service
check_command check_me
max_check_attempts 3
check_interval 32
retry_interval 1
check_period none
notification_interval 60
notification_period none
contacts nagiosadmin
}
define service {
host_name host1
service_description Uses important check command
check_command check_me!with some parameters
max_check_attempts 5
check_interval 15
retry_interval 1
check_period none
notification_interval 65
notification_period none
contacts nagiosadmin
use service-distributed
}
define service {
name service-distributed
check_command !set_to_stale
register 0
}
define command {
command_name set_to_stale
command_line /usr/local/nagios/libexec/set_to_stale
}
define command {
command_name check_me
command_line /usr/local/nagios/libexec/check_me
}
define command {
command_name with_continuation_lines
command_line $USER1$/check_foo one\
two
}
define command {
command_name multiple_continuation_lines_with_spaces_intermingled
command_line \
check_nrpe_arg!30!\
check_fs_ping!/mnt/account-p,/mnt/prepro-p,/mnt/webapp-ssl,/mnt/rollout-p
}
define timeperiod {
timeperiod_name none
alias Nothing
}
define timeperiod {
timeperiod_name 24x7
alias 24x7 base on weekdays
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
sunday 00:00-24:00
}
define contact {
contact_name nagiosadmin
host_notifications_enabled 0
service_notifications_enabled 0
host_notification_period none
service_notification_period none
host_notification_options d,u,f,r,s
service_notification_options w,u,c,r,f,s
host_notification_commands notify-none
service_notification_commands notify-none
}
define command {
command_name notify-none
command_line /usr/local/nagios/notifications/notify-none
}
define contact {
contact_name second
host_notifications_enabled 0
service_notifications_enabled 0
host_notification_period none
service_notification_period none
host_notification_options d,u,f,r,s
service_notification_options w,u,c,r,f,s
host_notification_commands notify-none
service_notification_commands notify-none
}
define contactgroup {
contactgroup_name causetestfailure
alias This causes a test failure by having a comma separated list before the empty contactgroup
members nagiosadmin,second
}
define contactgroup {
contactgroup_name empty
alias No members defined - this should pass validation
}
--- NEW FILE: nagios.cfg ---
##############################################################################
#
# NAGIOS.CFG - Sample Main Config File for Nagios 3.1.0
#
# Read the documentation for more information on this configuration
# file. I've provided some comments here, but things may not be so
# clear without further explanation.
#
# Last Modified: 12-14-2008
#
##############################################################################
# LOG FILE
# This is the main log file where service and host events are logged
# for historical purposes. This should be the first option specified
# in the config file!!!
log_file=smallconfig/nagios.log
[...1268 lines suppressed...]
# DEBUG FILE
# This option determines where Nagios should write debugging information.
debug_file=smallconfig/nagios.debug
# MAX DEBUG FILE SIZE
# This option determines the maximum size (in bytes) of the debug file. If
# the file grows larger than this size, it will be renamed with a .old
# extension. If a file already exists with a .old extension it will
# automatically be deleted. This helps ensure your disk space usage doesn't
# get out of control when debugging Nagios.
max_debug_file_size=1000000
|
| Thread | Author | Date |
|---|---|---|
| [Nagios-checkins] nagios/t-tap/smallconfig minimal.cfg, NONE, 1.1 nagios.cfg, NONE, 1.1 objects.cache, NONE, 1.1 resource.cfg, NONE, 1.1 | Ton Voon <tonvoon@us...> |