socket timeout after 30 seconds

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: socket timeout after 30 seconds

Post 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
	}
Former Nagios Employee
iroy
Posts: 53
Joined: Tue Jul 26, 2016 4:46 pm

Re: socket timeout after 30 seconds

Post 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.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: socket timeout after 30 seconds

Post 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.
Former Nagios Employee
iroy
Posts: 53
Joined: Tue Jul 26, 2016 4:46 pm

Re: socket timeout after 30 seconds

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: socket timeout after 30 seconds

Post by tgriep »

Can you PM me your latest profile?
Be sure to check out our Knowledgebase for helpful articles and solutions!
iroy
Posts: 53
Joined: Tue Jul 26, 2016 4:46 pm

Re: socket timeout after 30 seconds

Post by iroy »

how do i get the latest profile?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: socket timeout after 30 seconds

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked