I've used Nagios for a few years, but my new installation is really racking my brain.<br><br>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.<br>
<br># cat /etc/nagios/nagios.cfg<br># Written by NagiosMainExporter from Lilac Configurator 1.0.3 on February 7, 2010, 3:19 pm<br><br>log_file=/var/log/nagios/nagios.log<br>temp_file=/var/nagios/nagios.tmp<br>status_file=/var/nagios/status.dat<br>
status_update_interval=10<br>nagios_user=nagios<br>nagios_group=nagios<br>enable_notifications=1<br>execute_service_checks=1<br>accept_passive_service_checks=1<br>enable_event_handlers=1<br>log_rotation_method=d<br>log_archive_path=/var/log/nagios/archives<br>
check_external_commands=1<br>command_check_interval=-1<br>command_file=/var/nagios/rw/nagios.cmd<br>lock_file=/var/run/nagios.pid<br>retain_state_information=1<br>state_retention_file=/var/nagios/retention.dat<br>retention_update_interval=60<br>
use_retained_program_state=1<br>use_syslog=1<br>log_notifications=1<br>log_service_retries=1<br>log_host_retries=1<br>log_event_handlers=1<br>log_initial_states=0<br>log_external_commands=1<br>log_passive_checks=1<br>external_command_buffer_slots=4096<br>
sleep_time=0.25<br>service_interleave_factor=s<br>max_concurrent_checks=0<br>service_reaper_frequency=10<br>interval_length=60<br>use_aggressive_host_checking=1<br>enable_flap_detection=1<br>low_service_flap_threshold=5<br>
high_service_flap_threshold=20<br>low_host_flap_threshold=5<br>high_host_flap_threshold=20<br>soft_state_dependencies=0<br>service_check_timeout=60<br>host_check_timeout=30<br>event_handler_timeout=30<br>notification_timeout=30<br>
ocsp_timeout=5<br>perfdata_timeout=5<br>obsess_over_services=1<br>process_performance_data=0<br>check_for_orphaned_services=1<br>check_service_freshness=1<br>date_format=us<br>illegal_object_name_chars=()=<br>illegal_macro_output_chars=`~$&|'<br>
admin_email=<a href="mailto:admin@dougware.net">admin@dougware.net</a><br>admin_pager=pagenagios@localhost<br>execute_host_checks=1<br>service_inter_check_delay_method=s<br>use_retained_scheduling_info=1<br>accept_passive_host_checks=1<br>
max_service_check_spread=30<br>host_inter_check_delay_method=s<br>max_host_check_spread=30<br>auto_reschedule_checks=1<br>auto_rescheduling_interval=30<br>auto_rescheduling_window=180<br>obsess_over_hosts=1<br>check_host_freshness=1<br>
host_freshness_check_interval=60<br>service_freshness_check_interval=60<br>use_regexp_matching=0<br>use_true_regexp_matching=0<br>event_broker_options=-1<br>daemon_dumps_core=0<br>object_cache_file=/var/nagios/objects.cache<br>
precached_object_file=/var/nagios/objects.precache<br>retained_host_attribute_mask=0<br>retained_service_attribute_mask=0<br>retained_process_host_attribute_mask=0<br>retained_process_service_attribute_mask=0<br>retained_contact_host_attribute_mask=0<br>
retained_contact_service_attribute_mask=0<br>check_result_reaper_frequency=2<br>max_check_result_reaper_time=30<br>check_result_path=/var/nagios/spool/checkresults<br>max_check_result_file_age=3600<br>translate_passive_host_checks=1<br>
passive_host_checks_are_soft=1<br>enable_predictive_host_dependency_checks=1<br>enable_predictive_service_dependency_checks=1<br>cached_host_check_horizon=15<br>cached_service_check_horizon=15<br>use_large_installation_tweaks=1<br>
enable_environment_macros=1<br>additional_freshness_latency=15<br>enable_embedded_perl=1<br>use_embedded_perl_implicitly=1<br>p1_file=/usr/bin/<a href="http://p1.pl">p1.pl</a><br>debug_file=/var/log/nagios/nagios.debug<br>
debug_level=0<br>debug_verbosity=1<br>max_debug_file_size=1000000<br>resource_file=/etc/nagios/resource.cfg<br>cfg_dir=/etc/nagios/objects<br><br>cat /etc/nagios/objects/services.cfg<br># Written by NagiosServiceExporter from Lilac Configurator 1.0.3 on February 7, 2010, 3:19 pm<br>
<br>define service {<br>        host_name       Server1<br>        service_description     SSH<br>        initial_state   o<br>        check_command   check_ssh<br>        max_check_attempts      3<br>        normal_check_interval   2<br>
        retry_interval  1<br>        first_notification_delay        5<br>        active_checks_enabled   1<br>        passive_checks_enabled  1<br>        check_period    24x7<br>        parallelize_check       1<br>        obsess_over_service     1<br>
        check_freshness 1<br>        freshness_threshold     120<br>        notification_interval   15<br>        notification_period     24x7<br>        notifications_enabled   1<br>        display_name    SSH<br>        notification_options    w,c,r,s<br>
}<br><br>cat /etc/nagios/objects/hosts.cfg<br># Written by NagiosHostExporter from Lilac Configurator 1.0.3 on February 7, 2010, 3:19 pm<br><br>define host {<br>        host_name       Server1<br>        initial_state   o<br>
        check_command   check_ping<br>        retry_interval  1<br>        first_notification_delay        15<br>        max_check_attempts      3<br>        check_interval  2<br>        passive_checks_enabled  1<br>        check_period    24x7<br>
        obsess_over_host        1<br>        check_freshness 1<br>        freshness_threshold     120<br>        active_checks_enabled   1<br>        event_handler_enabled   0<br>        notification_interval   15<br>        notification_period     24x7<br>
        notifications_enabled   1<br>        failure_prediction_enabled      0<br>        alias   <a href="http://server1.dougware.net">server1.dougware.net</a><br>        display_name    Server1<br>        address <a href="http://server1.dougware.net">server1.dougware.net</a><br>
        notification_options    d,u,r,s<br>        contact_groups  DougWare<br>        hostgroups      DougWare<br>}<br><br>I'm sure that I have a really simple issue, but I just can't put my finger on it.  Thanks for the help!<br>
<br clear="all">Sincerely,<br>Doug Eubanks<br><a href="mailto:admin@dougware.net">admin@dougware.net</a><br>(919) 201-8750<br>