Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A system daemon makes periodic checks and actions to achieve a specified number of errors.

Project description

# DYATEL

A system daemon makes periodic checks and actions to achieve a specified number of errors.

Awailable resource:

- http

## Install

pip install dyatel

## Example config file


```
---
- task:
- check:
name: prodtest
type: http
url: https://microservice.net/api/1.1/
method: get
pause: 5
expectation:
status: 200
exception:
count: 3
action:
command: /usr/bin/supervisorctl restart app
pause: 30
```

## Systemd Unit

```
[Unit]
Description=Simplified simple zebra service
After=syslog.target

[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/usr/local
ExecStart=/usr/local/bin/dyatel.py
StandardOutput=syslog
StandardError=syslog

[Install]
WantedBy=multi-user.target
```

Project details


Release history Release notifications

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
dyatel-0.0.4.tar.gz (2.0 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