Re: socket timeout after 30 seconds
Posted: Mon Sep 19, 2016 9:37 am
Do you have multiple nagios processes running? ps -ef
Otherwise, it's clear what's failing as looking at your configuration, the reason it's failing is because the command check_xi_host_http is getting applied somewhere.
Have you applied configuration since making the changes?
It appears to be the same issue on the 22 machine -
Otherwise, it's clear what's failing as looking at your configuration, the reason it's failing is because the command check_xi_host_http is getting applied somewhere.
Have you applied configuration since making the changes?
Code: Select all
define host {
host_name 192.168.1.22
alias 192.168.1.22
address 192.168.1.22
check_period xi_timeperiod_24x7
check_command check_xi_host_http
contacts nagiosadmin
notification_period xi_timeperiod_24x7
initial_state o
importance 0
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 5
active_checks_enabled 1
passive_checks_enabled 1
obsess 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options a
freshness_threshold 0
check_freshness 0
notification_options a
notifications_enabled 1
notification_interval 60.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
icon_image www_server.png
statusmap_image www_server.png
retain_status_information 1
retain_nonstatus_information 1
_XIWIZARD websiteurl
}
Code: Select all
define host {
host_name 192.168.1.24
alias 192.168.1.24
address 192.168.1.24
check_period xi_timeperiod_24x7
check_command check_xi_host_http
contacts nagiosadmin
notification_period xi_timeperiod_24x7
initial_state o
importance 0
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 5
active_checks_enabled 1
passive_checks_enabled 1
obsess 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options a
freshness_threshold 0
check_freshness 0
notification_options a
notifications_enabled 1
notification_interval 60.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
icon_image www_server.png
statusmap_image www_server.png
retain_status_information 1
retain_nonstatus_information 1
_XIWIZARD websiteurl
}