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.

Source Distribution

edw.recipe.responsecheck-1.0.zip (10.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page