'Service is not scheduled to be checked...' & 'Host is not scheduled to be checked...'
Doug Eubanks
admin at dougware.net
Mon Feb 8 05:36:03 CET 2010
I've used Nagios for a few years, but my new installation is really racking
my brain.
I was testing with my first host and first service, but they are never
checked or scheduled to be checked. I want both active and passive checks,
because I'm experimenting with my own distributed monitoring system (which
is a first for me). I'm including the important parts of my config files.
# cat /etc/nagios/nagios.cfg
# Written by NagiosMainExporter from Lilac Configurator 1.0.3 on February 7,
2010, 3:19 pm
log_file=/var/log/nagios/nagios.log
temp_file=/var/nagios/nagios.tmp
status_file=/var/nagios/status.dat
status_update_interval=10
nagios_user=nagios
nagios_group=nagios
enable_notifications=1
execute_service_checks=1
accept_passive_service_checks=1
enable_event_handlers=1
log_rotation_method=d
log_archive_path=/var/log/nagios/archives
check_external_commands=1
command_check_interval=-1
command_file=/var/nagios/rw/nagios.cmd
lock_file=/var/run/nagios.pid
retain_state_information=1
state_retention_file=/var/nagios/retention.dat
retention_update_interval=60
use_retained_program_state=1
use_syslog=1
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_external_commands=1
log_passive_checks=1
external_command_buffer_slots=4096
sleep_time=0.25
service_interleave_factor=s
max_concurrent_checks=0
service_reaper_frequency=10
interval_length=60
use_aggressive_host_checking=1
enable_flap_detection=1
low_service_flap_threshold=5
high_service_flap_threshold=20
low_host_flap_threshold=5
high_host_flap_threshold=20
soft_state_dependencies=0
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
obsess_over_services=1
process_performance_data=0
check_for_orphaned_services=1
check_service_freshness=1
date_format=us
illegal_object_name_chars=()=
illegal_macro_output_chars=`~$&|'
admin_email=admin at dougware.net
admin_pager=pagenagios at localhost
execute_host_checks=1
service_inter_check_delay_method=s
use_retained_scheduling_info=1
accept_passive_host_checks=1
max_service_check_spread=30
host_inter_check_delay_method=s
max_host_check_spread=30
auto_reschedule_checks=1
auto_rescheduling_interval=30
auto_rescheduling_window=180
obsess_over_hosts=1
check_host_freshness=1
host_freshness_check_interval=60
service_freshness_check_interval=60
use_regexp_matching=0
use_true_regexp_matching=0
event_broker_options=-1
daemon_dumps_core=0
object_cache_file=/var/nagios/objects.cache
precached_object_file=/var/nagios/objects.precache
retained_host_attribute_mask=0
retained_service_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
check_result_reaper_frequency=2
max_check_result_reaper_time=30
check_result_path=/var/nagios/spool/checkresults
max_check_result_file_age=3600
translate_passive_host_checks=1
passive_host_checks_are_soft=1
enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
cached_host_check_horizon=15
cached_service_check_horizon=15
use_large_installation_tweaks=1
enable_environment_macros=1
additional_freshness_latency=15
enable_embedded_perl=1
use_embedded_perl_implicitly=1
p1_file=/usr/bin/p1.pl
debug_file=/var/log/nagios/nagios.debug
debug_level=0
debug_verbosity=1
max_debug_file_size=1000000
resource_file=/etc/nagios/resource.cfg
cfg_dir=/etc/nagios/objects
cat /etc/nagios/objects/services.cfg
# Written by NagiosServiceExporter from Lilac Configurator 1.0.3 on February
7, 2010, 3:19 pm
define service {
host_name Server1
service_description SSH
initial_state o
check_command check_ssh
max_check_attempts 3
normal_check_interval 2
retry_interval 1
first_notification_delay 5
active_checks_enabled 1
passive_checks_enabled 1
check_period 24x7
parallelize_check 1
obsess_over_service 1
check_freshness 1
freshness_threshold 120
notification_interval 15
notification_period 24x7
notifications_enabled 1
display_name SSH
notification_options w,c,r,s
}
cat /etc/nagios/objects/hosts.cfg
# Written by NagiosHostExporter from Lilac Configurator 1.0.3 on February 7,
2010, 3:19 pm
define host {
host_name Server1
initial_state o
check_command check_ping
retry_interval 1
first_notification_delay 15
max_check_attempts 3
check_interval 2
passive_checks_enabled 1
check_period 24x7
obsess_over_host 1
check_freshness 1
freshness_threshold 120
active_checks_enabled 1
event_handler_enabled 0
notification_interval 15
notification_period 24x7
notifications_enabled 1
failure_prediction_enabled 0
alias server1.dougware.net
display_name Server1
address server1.dougware.net
notification_options d,u,r,s
contact_groups DougWare
hostgroups DougWare
}
I'm sure that I have a really simple issue, but I just can't put my finger
on it. Thanks for the help!
Sincerely,
Doug Eubanks
admin at dougware.net
(919) 201-8750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100207/44206fa4/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list