Skip to content

[PSST] Review test_connection.sh #90

Open

Description

@bbockelm
  • 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

Activity

  1. bbockelm commented on Jun 21, 2017

    @bbockelm
    Author

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

    We also should review the debugging levels.

  2. bbockelm commented on Jun 21, 2017

    @bbockelm
    Author

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

  3. changed the title [-]Review test_connection.sh[/-] [+][PSST] Review test_connection.sh[/+] on Jun 21, 2017
  4. roksys commented on Jun 26, 2017

    @roksys
    Contributor

    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?

  5. stlammel commented on Jun 26, 2017

    @stlammel
  6. roksys commented on Jun 26, 2017

    @roksys
    Contributor

    Hi Stephan,

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

  7. roksys commented on Jun 27, 2017

    @roksys
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions