Skip to main content

Generate SNS alerts from any command.

Project description

alert_from_script

Generate SNS alerts from any command.

Installation

$ sudo python setup.py install

Usage

usage: alert-from-script [-h] sns_topic sns_subject script

Runs a script and sends the stdout and stderr to SNS in case exit != 0.

positional arguments:
  sns_topic    ARN of SNS topic to publish to.
  sns_subject  Subject used for SNS messages.
  script       The script to run. Includes all args to run.

optional arguments:
  -h, --help   show this help message and exit

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

alert-from-script-0.1.2.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file alert-from-script-0.1.2.tar.gz.

File metadata

File hashes

Hashes for alert-from-script-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dd30f7eda4e4cf6b4c1466ff895513706f276a6c168967cf5007bf2cba9b2fd4
MD5 77e2f0f2418d9b53b164990a306b4f59
BLAKE2b-256 d23e578c750ba1b1330474635734c8ecd1104a140c5c35fbdd83674a6d5f7915

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page