I have created Nagios virtual Instance on Amazon Ec2 Cloud enviorment according to steps given below URL:
https://assets.nagios.com/downloads/nag ... -Cloud.pdf
After that I have Installed NSClient++ on windows Server the one which I have to monitor using Nagios EC2 Instance but its showing Socket Time out error for all monitored services in NagiosXI dashboard[ Note: Firewall turned off on windows server so there is no chance to block ports]
Socket Time Out error in the Amazon Ec2 Cloud Instance.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
In the Amazon management interface you need to open the network ports for it to work.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
Following two ports already opened on AWS but still its giving socket timeout error:
Custom TCP Rule TCP 12489 0.0.0.0/0
Custom TCP Rule TCP 5666 0.0.0.0/0
Custom TCP Rule TCP 12489 0.0.0.0/0
Custom TCP Rule TCP 5666 0.0.0.0/0
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
Is this on the windows server in the EC2 instance?rahul5028 wrote:Following two ports already opened on AWS but still its giving socket timeout error:
Custom TCP Rule TCP 12489 0.0.0.0/0
Custom TCP Rule TCP 5666 0.0.0.0/0
Can you provide your nsclient.ini file from the Windows server.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
Hi,
Just to give more info, I have open TCP ports on Nagios EC2 Instance to communicate with our local windows server(Note:This windows server is running locally in my company and only Nagios Instance running on Amazon AWS)
Also please find attached nsclient.ini file from the Windows server.
Just to give more info, I have open TCP ports on Nagios EC2 Instance to communicate with our local windows server(Note:This windows server is running locally in my company and only Nagios Instance running on Amazon AWS)
Also please find attached nsclient.ini file from the Windows server.
You do not have the required permissions to view the files attached to this post.
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
I don't see any listening ports in your config, what is the output of netstat -an | findstr "5666" on the windows machine?
Also - have you enabled the rules through Windows firewall?
Also - have you enabled the rules through Windows firewall?
Former Nagios Employee
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
Here is the output of netstat -an | findstr "5666"(Refer attached screenshot).
Also my windows firewall turned-off , Do we still require to enable the rule through windows firewall.
Also my windows firewall turned-off , Do we still require to enable the rule through windows firewall.
You do not have the required permissions to view the files attached to this post.
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
Can you also run netstat -an | findstr "12489"?
Are your services attempting to use check_nrpe or check_nt?
Are your services attempting to use check_nrpe or check_nt?
Former Nagios Employee
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
Here is the output of netstat -an | findstr "12489".
I'm not sure which one(check_nrpe,check_nt) my service attempting to use, Can you give some steps to check this?
I'm not sure which one(check_nrpe,check_nt) my service attempting to use, Can you give some steps to check this?
You do not have the required permissions to view the files attached to this post.
Re: Socket Time Out error in the Amazon Ec2 Cloud Instance.
Looks good regarding listening, I don't think your nsclient configuration is an issue.
To figure out what service you're using navigate to Configure -> Core Config Manager -> Click 'Services' on the left side, and search for the service in question.
You should see a page similar to this - One more thing to check, from the nagios machine, on the CLI can you run nmap windowsip? (replace windowsip with the IP for the windows machine we're trying to check)
To figure out what service you're using navigate to Configure -> Core Config Manager -> Click 'Services' on the left side, and search for the service in question.
You should see a page similar to this - One more thing to check, from the nagios machine, on the CLI can you run nmap windowsip? (replace windowsip with the IP for the windows machine we're trying to check)
You do not have the required permissions to view the files attached to this post.
Former Nagios Employee