CHECK_NRPE: Socket timeout after 20 seconds.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kakaluru
Posts: 30
Joined: Tue Sep 23, 2014 2:00 am

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Post by kakaluru »

Hi,

This is one of the challenges for me.

[root@BUGZILLABCK ~]# yum update avahi* -y
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Update Process
No Packages marked for Update
[root@BUGZILLABCK ~]# yum update avahi*
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Update Process
No Packages marked for Update

Let me know whether it is gateway issue. Kindly find is connection establishment between 10.174.16.X to 192.168.30.X. ?

[root@BUGZILLABCK ~]# route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
62.184.215.220 10.174.19.254 255.255.255.255 UGH 0 0 0 em4
172.25.0.21 10.174.16.4 255.255.255.255 UGH 0 0 0 em4
172.25.0.19 10.174.16.4 255.255.255.255 UGH 0 0 0 em4
172.25.0.18 10.174.16.4 255.255.255.255 UGH 0 0 0 em4
172.26.72.88 10.174.16.4 255.255.255.255 UGH 0 0 0 em4
172.25.13.0 10.174.16.4 255.255.255.224 UG 0 0 0 em4
172.28.60.0 10.174.16.2 255.255.255.0 UG 0 0 0 em4
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
10.174.16.0 0.0.0.0 255.255.252.0 U 0 0 0 em4
10.35.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
10.148.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
10.33.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
10.39.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
10.147.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
172.28.0.0 10.174.16.4 255.255.0.0 UG 0 0 0 em4
10.145.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
10.36.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
10.140.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
10.40.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
10.30.0.0 10.174.19.254 255.255.0.0 UG 0 0 0 em4
0.0.0.0 10.174.16.2 0.0.0.0 UG 0 0 0 em4
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Post by sreinhardt »

It certainly appears that either this is not a properly registered RHEL server per yum's check, that could certainly be due to satellite or other licensing methods that otherwise avoid the use of yum. How do you normally add, update, and remove packages? My guess is that it is not via yum. It's also very strange that there are no mentions in the yum update of the repos that it updated databases for.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
kakaluru
Posts: 30
Joined: Tue Sep 23, 2014 2:00 am

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Post by kakaluru »

Hi All,

I am very surprised bcz i have provided all info what ever u asked but my issue is not yet resolved. :o

Dear experts let me know how to resolve this.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Post by Box293 »

You have not answered the questions from the last poster.
sreinhardt wrote:How do you normally add, update, and remove packages?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kakaluru
Posts: 30
Joined: Tue Sep 23, 2014 2:00 am

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Post by kakaluru »

Hi Box,

Its already implemented. I hope they used .rpms or yum.

[root@son1840 ~]# cat /usr/local/nagios/var/objects.cache | sed -rn "/define host \{/{:a;N;/}/{/.host_name.localhost/p;d};ba}"
define host {
host_name localhost
alias localhost
address 127.0.0.1
check_period 24x7
check_command check-host-alive
contact_groups admins
notification_period workhours
initial_state o
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 10
active_checks_enabled 1
passive_checks_enabled 1
obsess_over_host 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options o,d,u
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 120.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Post by Box293 »

kakaluru wrote:cat /usr/local/nagios/var/objects.cache | sed -rn "/define host \{/{:a;N;/}/{/.host_name.localhost/p;d};ba}"
Sorry this was just something I had in my signature, nothing to do with your thread. Seeing as it confused you it might confuse others so I'll talk it out :oops: .
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kakaluru
Posts: 30
Joined: Tue Sep 23, 2014 2:00 am

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Post by kakaluru »

Hi Box

What need's to do next
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Post by Box293 »

I'm kinda all out of ideas.

At this point my only suggestion is to uninstall/delete everything and start from scratch. Document everything as you go.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked