Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PSST] Review test_connection.sh #90

Open
bbockelm opened this issue Jun 21, 2017 · 6 comments
Open

[PSST] Review test_connection.sh #90

bbockelm opened this issue Jun 21, 2017 · 6 comments

Comments

@bbockelm
Copy link

  • We probably shouldn't try connection to http://cern.ch
  • nc to google is fine - they can probably handle the load.
  • Would be best to just test connection to MONIT.

@roksys @stlammel

@bbockelm
Copy link
Author

Maybe even want to switch to curl if nc is too basic?

We also should review the debugging levels.

@bbockelm
Copy link
Author

Another idea would be to test DNS functionality -- or just should be happy with the error message from nc?

@bbockelm bbockelm changed the title Review test_connection.sh [PSST] Review test_connection.sh Jun 21, 2017
@roksys
Copy link
Contributor

roksys commented Jun 26, 2017

Please take a look at connectivity test.

dashb-mb.cern.ch is messaging server that forwards documents to Elasticsearch, so should easilt handle the load. I will try to get a confirmation from CERN IT.

If dashb-mb.cern.ch is unreachable, google.com is used as an endpoint.

In case of DNS problem, nc output should look similar to this:

nc: getaddrinfo: Name or service not known

In case of closed port or other connectivity problem, nc output should look similar to this:

nc: connect to dashb-mb.cern.ch port 80 (tcp) timed out: Operation now in progress

Are 5 seconds for timeout okay?

@stlammel
Copy link

stlammel commented Jun 26, 2017 via email

@roksys
Copy link
Contributor

roksys commented Jun 26, 2017

Hi Stephan,

I set timeout to 15 sec. Should be okay now.

@roksys
Copy link
Contributor

roksys commented Jun 27, 2017

For me it looks as solved issue.
@bbockelm, @stlammel, can I close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants