CRITICAL - Socket timeout after 10 seconds

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Dharan
Posts: 15
Joined: Tue Feb 20, 2018 1:33 pm

Re: CRITICAL - Socket timeout after 10 seconds

Post by Dharan »

yes, I do see errors, please find the attachment
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CRITICAL - Socket timeout after 10 seconds

Post by scottwilkerson »

it must still be erroneously running and binding to socket

Lets run the following

Code: Select all

service ndo2db stop
killall -9 ndo2db
service ndo2db start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Dharan
Posts: 15
Joined: Tue Feb 20, 2018 1:33 pm

Re: CRITICAL - Socket timeout after 10 seconds

Post by Dharan »

still the same
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CRITICAL - Socket timeout after 10 seconds

Post by scottwilkerson »

did some digging and it could be a lock file

Run

Code: Select all

rm -f /usr/local/nagios/var/ndo2db.*
rm -f /usr/local/nagios/var/ndo.sock
rm -f /usr/local/nagiosxi/var/subsys/ndo2db
Then

Code: Select all

service ndo2db restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Dharan
Posts: 15
Joined: Tue Feb 20, 2018 1:33 pm

Re: CRITICAL - Socket timeout after 10 seconds

Post by Dharan »

Thank you so much , that worked. ndo2db is now running .


But, the test server critical socket time out errors still remain. Please suggest
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CRITICAL - Socket timeout after 10 seconds

Post by scottwilkerson »

Ok, where we left off before, you had just added the IP to the nsclient.ini Can you verify the port 12489 is open on the Windows server and that the NSClient service is running.


Once you do that, can you run this?

Code: Select all

/usr/local/nagios/libexec/check_nt -H IP_ADDRESS -s "YOUR_PASSWORD" -p 12489 -v UPTIME  
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Dharan
Posts: 15
Joined: Tue Feb 20, 2018 1:33 pm

Re: CRITICAL - Socket timeout after 10 seconds

Post by Dharan »

Thank you for the reply. I telnet the nagios server from with in the windows server on port 12489 and the connect failed.

The nsclient service is running fine and is set to automatic.

NSCP agent install created the inbound rules on port 12489 for Nagios montioring . Please find the attachments
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CRITICAL - Socket timeout after 10 seconds

Post by scottwilkerson »

The firewall images look correct but this is backwards
Dharan wrote:I telnet the nagios server from with in the windows server on port 12489 and the connect failed.
the connection you are making is FROM nagios TO windows

What do you get running this on the nagios server (changing IP_ADDRESS and YOUR_PASSWORD)?

Code: Select all

/usr/local/nagios/libexec/check_nt -H IP_ADDRESS -s "YOUR_PASSWORD" -p 12489 -v UPTIME  
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked