Problem starting Nagios 2.0b2

Veiko Kukk veiko at parnumaa.ee
Wed Feb 23 15:02:47 CET 2005


Hi!
What should I do to make it work?
OS is Suse 9.1

  # /etc/init.d/nagios start
Starting network monitor: nagios
reset_variables() start
init_macrox_names() start
init_macrox_names() end
reset_variables() end
read_main_config_file() start
         Config file: /usr/local/nagios/etc/nagios.cfg
         Line 19 = 'log_file=/usr/local/nagios/var/nagios.log'
                 log_file set to '/usr/local/nagios/var/nagios.log'
         Line 64 = 'cfg_dir=/usr/local/nagios/etc'
         Line 78 = 'object_cache_file=/usr/local/nagios/var/objects.cache'
         Line 91 = 'resource_file=/usr/local/nagios/etc/resource.cfg'
                 processing resource file 
'/usr/local/nagios/etc/resource.cfg'
read_resource_file() start
processing resource file '/usr/local/nagios/etc/resource.cfg'
                 $USER1$ set to '/usr/local/nagios/libexec'
read_resource_file() end
         Line 101 = 'status_file=/usr/local/nagios/var/status.dat'
         Line 109 = 'nagios_user=daemon'
                 nagios_user set to 'daemon'
         Line 117 = 'nagios_group=daemon'
                 nagios_group set to 'daemon'
         Line 129 = 'check_external_commands=0'
                 check_external_commands set to FALSE
         Line 148 = 'command_check_interval=-1'
                 command_check_interval set to -1
         Line 160 = 'command_file=/usr/local/nagios/var/rw/nagios.cmd'
                 command_file set to '/usr/local/nagios/var/rw/nagios.cmd'
         Line 168 = 'comment_file=/usr/local/nagios/var/comments.dat'
         Line 176 = 'downtime_file=/usr/local/nagios/var/downtime.dat'
         Line 184 = 'lock_file=/usr/local/nagios/var/nagios.lock'
                 lock_file set to '/usr/local/nagios/var/nagios.lock'
         Line 194 = 'temp_file=/usr/local/nagios/var/nagios.tmp'
                 temp_file set to '/usr/local/nagios/var/nagios.tmp'
         Line 204 = 'event_broker_options=-1'
                 event_broker_options set to 8191
         Line 233 = 'log_rotation_method=d'
                 log_rotation_method set to 2
         Line 241 = 'log_archive_path=/usr/local/nagios/var/archives'
                 log_archive_path set to '/usr/local/nagios/var/archives'
         Line 249 = 'use_syslog=1'
                 use_syslog set to TRUE
         Line 257 = 'log_notifications=1'
                 log_notifications set to TRUE
         Line 265 = 'log_service_retries=1'
                 log_service_retries set to TRUE
         Line 273 = 'log_host_retries=1'
                 log_host_retries set to TRUE
         Line 282 = 'log_event_handlers=1'
                 log_event_handlers set to TRUE
         Line 294 = 'log_initial_states=0'
                 log_initial_states set to FALSE
         Line 305 = 'log_external_commands=1'
                 log_external_commands set to TRUE
         Line 314 = 'log_passive_checks=1'
                 log_passive_checks set to TRUE
         Line 346 = 'service_inter_check_delay_method=s'
                 service_inter_check_delay_method set to 2
         Line 355 = 'max_service_check_spread=30'
                 max_service_check_spread set to 30
         Line 371 = 'service_interleave_factor=s'
         Line 387 = 'host_inter_check_delay_method=s'
                 host_inter_check_delay_method set to 2
         Line 396 = 'max_host_check_spread=30'
                 max_host_check_spread set to 30
         Line 408 = 'max_concurrent_checks=0'
                 max_parallel_service_checks set to 0
         Line 416 = 'service_reaper_frequency=10'
                 service_check_reaper_interval set to 10
         Line 429 = 'auto_reschedule_checks=0'
                 auto_reschedule_checks set to FALSE
         Line 441 = 'auto_rescheduling_interval=30'
                 auto_rescheduling_interval set to 30
         Line 456 = 'auto_rescheduling_window=180'
                 auto_rescheduling_window set to 180
         Line 464 = 'sleep_time=0.25'
                 sleep_time set to 0.250000
         Line 476 = 'service_check_timeout=60'
                 service_check_timeout set to 60
         Line 477 = 'host_check_timeout=30'
                 host_check_timeout set to 30
         Line 478 = 'event_handler_timeout=30'
                 event_handler_timeout set to 30
         Line 479 = 'notification_timeout=30'
                 notification_timeout set to 30
         Line 480 = 'ocsp_timeout=5'
                 ocsp_timeout set to 5
         Line 481 = 'perfdata_timeout=5'
         Line 495 = 'retain_state_information=1'
                 retain_state_information set to TRUE
         Line 507 = 
'state_retention_file=/usr/local/nagios/var/retention.dat'
         Line 519 = 'retention_update_interval=60'
                 retention_update_interval set to 60
         Line 530 = 'use_retained_program_state=1'
                 use_retained_program_state set to TRUE
         Line 541 = 'use_retained_scheduling_info=0'
                 use_retained_scheduling_info set to FALSE
         Line 551 = 'interval_length=60'
                 interval_length set to 60
         Line 562 = 'use_aggressive_host_checking=0'
                 use_aggressive_host_checking set to FALSE
         Line 575 = 'execute_service_checks=1'
                 execute_service_checks set to TRUE
         Line 584 = 'accept_passive_service_checks=1'
                 accept_passive_service_checks set to TRUE
         Line 597 = 'execute_host_checks=1'
                 execute_host_checks set to TRUE
         Line 606 = 'accept_passive_host_checks=1'
                 accept_passive_host_checks set to TRUE
         Line 615 = 'enable_notifications=1'
                 enable_notifications set to TRUE
         Line 625 = 'enable_event_handlers=1'
                 enable_event_handlers set to TRUE
         Line 639 = 'process_performance_data=1'
                 process_performance_data set to TRUE
         Line 651 = 'host_perfdata_command=process-host-perfdata'
         Line 652 = 'service_perfdata_command=process-service-perfdata'
         Line 720 = 'obsess_over_services=0'
                 obsess_over_services set to FALSE
         Line 747 = 'check_for_orphaned_services=0'
                 check_orphaned_services set to FALSE
         Line 758 = 'check_service_freshness=1'
                 check_service_freshness set to TRUE
         Line 767 = 'service_freshness_check_interval=60'
                 service_freshness_check_interval set to 60
         Line 778 = 'check_host_freshness=0'
                 check_host_freshness set to FALSE
         Line 787 = 'host_freshness_check_interval=60'
                 host_freshness_check_interval set to 60
         Line 801 = 'aggregate_status_updates=1'
                 aggregate_status_updates to TRUE
         Line 812 = 'status_update_interval=15'
                 status_update_interval set to 15
         Line 828 = 'enable_flap_detection=1'
                 enable_flap_detection set to TRUE
         Line 837 = 'low_service_flap_threshold=5.0'
                 low_service_flap_threshold set to 5.000000
         Line 838 = 'high_service_flap_threshold=20.0'
                 high_service_flap_threshold set to 20.000000
         Line 839 = 'low_host_flap_threshold=5.0'
                 low_host_flap_threshold set to 5.000000
         Line 840 = 'high_host_flap_threshold=20.0'
                 high_host_flap_threshold set to 20.000000
         Line 853 = 'date_format=euro'
                 date_format set to 1
         Line 862 = 'p1_file=/usr/local/nagios/bin/p1.pl'
                 p1_file set to '/usr/local/nagios/bin/p1.pl'
         Line 871 = 'illegal_object_name_chars=`~!$%^&*|'"<>?,()='
                 illegal_object_name_chars set to '`~!$%^&*|'"<>?,()='
         Line 890 = 'illegal_macro_output_chars=`~$&|'"<>'
                 illegal_macro_output_chars set to '`~$&|'"<>'
         Line 901 = 'use_regexp_matching=0'
                 use_regexp_matches to FALSE
         Line 915 = 'use_true_regexp_matching=0'
                 use_true_regexp_matching to FALSE
         Line 926 = 'admin_email=veiko at parnumaa.ee'
                 macro_admin_email set to 'veiko at parnumaa.ee'
         Line 936 = 'admin_pager=pagedaemon'
                 macro_admin_pager set to 'pagedaemon'
         Line 948 = 'daemon_dumps_core=0'
                 daemon_dumps_core set to FALSE
read_main_config_file() end
drop_privileges() start
Original UID/GID: 0/0
New UID/GID: 2/2
drop_privileges() end
write_to_logs_and_console() start
write_to_all_logs() start
write_to_syslog() start
write_to_syslog() end
write_to_log() start
write_to_log() end
write_to_all_logs() end
write_to_console() start
write_to_console() end
write_to_logs_and_console() end
write_log_file_info() start
write_to_all_logs_with_timestamp() start
write_to_syslog() start
write_to_syslog() end
write_to_log() start
write_to_log() end
write_to_all_logs_with_timestamp() end
write_log_file_info() end
read_all_config_data() start
read_object_config_data() start
xodtemplate_read_config_data() start
xodtemplate_process_config_dir() start
xodtemplate_process_config_file() start
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_begin_object_definition() start
xodtemplate_begin_object_definition() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_add_object_property() start
xodtemplate_add_object_property() end
xodtemplate_end_object_definition() start
xodtemplate_end_object_definition() end
xodtemplate_process_config_file() end
xodtemplate_process_config_file() start
write_to_logs_and_console() start
write_to_all_logs() start
write_to_syslog() start
write_to_syslog() end
write_to_log() start
write_to_log() end
write_to_all_logs() end
write_to_console() start
write_to_console() end
write_to_logs_and_console() end
xodtemplate_process_config_dir() end
xodtemplate_free_memory() start
xodtemplate_free_memory() end
xodtemplate_read_config_data() end
write_to_logs_and_console() start
write_to_all_logs() start
write_to_syslog() start
write_to_syslog() end
write_to_log() start
write_to_log() end
write_to_all_logs() end
write_to_console() start
write_to_console() end
write_to_logs_and_console() end
cleanup() start
free_memory() start
free_object_data() start
         timeperiod_list freed
         host_list freed
         hostgroup_list freed
         servicegroup_list freed
         contact_list freed
         contactgroup_list freed
         service_list freed
         command_list freed
         serviceescalation_list freed
         servicedependency_list freed
         hostdependency_list freed
free_extended_data() start
         hostextinfo_list freed
         serviceextinfo_list freed
free_extended_data() start
         hostescalation_list freed
free_object_data() end
         event lists freed
         my_strtok() buffers freed
         global event handlers freed
free_notification_list() start
free_notification_list() end
         notification_list freed
free_macrox_names() start
free_macrox_names() end
free_memory() end
cleanup() end
ERROR: List of process IDs must follow -p.
********* simple selection *********  ********* selection by list *********
-A all processes                      -C by command name
-N negate selection                   -G by real group ID (supports names)
-a all w/ tty except session leaders  -U by real user ID (supports names)
-d all except session leaders         -g by session leader OR by group name
-e all processes                      -p by process ID
T  all processes on this terminal     -s processes in the sessions given
a  all w/ tty, including other users  -t by tty
g  all, even group leaders!           -u by effective user ID (supports 
names)
r  only running processes             U  processes for specified users
x  processes w/o controlling ttys     t  by tty
*********** output format **********  *********** long options ***********
-o,o user-defined  -f full            --Group --User --pid --cols --ppid
-j,j job control   s  signal          --group --user --sid --rows --info
-O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-l,l long          u  user-oriented   --sort --tty --forest --version
-F   extra full    X  registers       --heading --no-heading --context
                     ********* misc options *********
-V,V  show version      L  list format codes  f  ASCII art forest
-m,m,-L,-T,H  threads   S  children in sum    -y change -l format
-M,Z  security data     c  true command name  -c scheduling class
-w,w  wide output       n  numeric WCHAN,UID  -H process hierarchy


-- 
Veiko Kukk


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click




More information about the Developers mailing list