Page 7 of 7

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Posted: Thu Nov 20, 2014 12:09 am
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

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Posted: Thu Nov 20, 2014 5:15 pm
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.

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Posted: Fri Nov 28, 2014 1:34 am
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.

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Posted: Fri Nov 28, 2014 7:10 pm
by Box293
You have not answered the questions from the last poster.
sreinhardt wrote:How do you normally add, update, and remove packages?

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Posted: Fri Dec 05, 2014 6:21 am
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
}

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Posted: Fri Dec 05, 2014 6:56 pm
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: .

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Posted: Wed Dec 10, 2014 5:30 am
by kakaluru
Hi Box

What need's to do next

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Posted: Wed Dec 10, 2014 3:53 pm
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.