Skip to main content

A recipe that generates bash script for testing connectivity to application servers

Project description

This recipe can be used to generate a bash script that can test connectivity to application servers.

Example of usage

A simple buildout.cfg:

[buildout]
parts = checker

[checker]
recipe = edw.recipe.responsecheck
start-port = 8000
end-port = 9000
step = 2
backends = backend1 ... backend2
path = ${buildout:directory}/bin

Recipe options

Explanation:

start-port = Port to start the check.
end-port   = Port to end the check.
step       = The numeric value that the count is increased by each loop.
backends   = List of backend names separated by space character.
path       = Path to a folder where the bash script will be saved.

Note: All options must be specified.

Final result

This recipe will generate a bash script that for each specified backend will test connectivity to every port from start-port to end-port with the specified step.

Changelog

1.0 - (released)

  • Stable version

0.9.3-dev - (12.08.2014)

  • Added version.txt

0.9.1-dev - (12.08.2014)

  • Fix egg release

0.9-dev - (12.08.2014)

  • Verification of a port range
  • Verification for multiple backends

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
edw.recipe.responsecheck-1.0.zip (10.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page