Page 4 of 4

Re: socket timeout after 30 seconds

Posted: Mon Sep 19, 2016 9:37 am
by rkennedy
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?

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
	}
It appears to be the same issue on the 22 machine -

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
	}

Re: socket timeout after 30 seconds

Posted: Mon Sep 19, 2016 12:18 pm
by iroy
thanks rkennedy.

pls see attached; it doesn't seem that i have multiple nagios processes running.

no i have not applied any configuration after making your changes.

Re: socket timeout after 30 seconds

Posted: Mon Sep 19, 2016 12:23 pm
by rkennedy
Please click Apply Configuration now that you've made the changes to the check_command, and this should update the system to use check_icmp. Whenever changes are made in the Core Config Manager, you need to apply configuration after making them to save the settings.

Re: socket timeout after 30 seconds

Posted: Mon Sep 19, 2016 1:06 pm
by iroy
thanks rkennedy.
always do that whenever i'm making a change to the settings.
all the information that i have sent you is after applying the configuration.

Re: socket timeout after 30 seconds

Posted: Mon Sep 19, 2016 5:02 pm
by tgriep
Can you PM me your latest profile?

Re: socket timeout after 30 seconds

Posted: Wed Sep 21, 2016 12:31 pm
by iroy
how do i get the latest profile?

Re: socket timeout after 30 seconds

Posted: Wed Sep 21, 2016 1:16 pm
by tgriep
To send us your system profile. login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and PM it back to me.