Skip to main content

Super Simple Process Monitoring Tool

Project description

Super Simple Process Monitoring Tool.

License 'Stories in Ready'

Features

  • Monitors the number of the running processes, then send notifications.

Dependencies

  • Python >= 2.6

  • pyyaml

  • /bin/ps

Installation

(todo)

Just install via pip! (may need sudo):

pip install easy-alert

Then, write your configuration to the file /etc/easy-alert/easy-alert.yml. See an example below.

Configuration Example

/etc/easy-alert/easy-alert.yml:

---
watchers:
  process:
    - { name: syslogd, error: "=1", regexp: "^/usr/sbin/syslogd" }
    - { name: awesome batch, error: "<=3", warn: "<=2", regexp: "^/usr/local/bin/awesome arg1 arg2" }

notifiers:
  email:
    group_id: awesome
    from_address: foo@example.com
    to_address_list: bar@example.com,baz@example.com
    smtp_server: mail.example.com
    smtp_port: 587

Quickstart Guide

(todo)

easy-alert process --check

Upgrading

pip install --upgrade easy-alert
easy-alert --version

Uninstallation

pip uninstall easy-alert

(may need sudo)

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

easy-alert-0.0.3.tar.gz (8.5 kB view hashes)

Uploaded Source

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