alerta-contrib/integrations/supervisor/README.md

44 lines
996 B
Markdown
Raw Permalink Normal View History

2016-12-10 16:51:58 +00:00
Supervisor Integration
======================
2014-10-14 12:51:26 +01:00
2016-12-10 16:51:58 +00:00
Trigger alerts and heartbeats based on process `supervisor` [events][1].
2020-11-20 22:39:32 +01:00
For help, join [![Slack chat](https://img.shields.io/badge/chat-on%20slack-blue?logo=slack)](https://slack.alerta.dev)
2014-10-14 12:51:26 +01:00
Installation
------------
2016-12-10 16:51:58 +00:00
Clone the GitHub repo and run:
$ python setup.py install
2014-10-14 12:51:26 +01:00
2016-12-10 16:51:58 +00:00
Or, to install remotely from GitHub run:
$ pip install git+https://github.com/alerta/alerta-contrib.git#subdirectory=integrations/supervisor
2014-10-14 12:51:26 +01:00
Configuration
-------------
2016-12-10 16:51:58 +00:00
Copy the example configuration file `supervisord.conf.example` to `/etc`
and modify for your environment:
2014-10-14 12:51:26 +01:00
$ sudo cp supervisord.conf.example /etc/supervisord.conf
$ sudo vi /etc/supervisord.conf
$ sudo supervisord
2016-12-10 16:51:58 +00:00
Troubleshooting
---------------
2014-10-14 12:51:26 +01:00
$ sudo supervisord -c supervisord.conf.example -n
2016-12-10 16:51:58 +00:00
References
----------
* supervisord Events: http://supervisord.org/events.html
License
-------
2014-10-14 12:51:26 +01:00
2016-12-10 16:51:58 +00:00
Copyright (c) 2015-2016 Nick Satterly. Available under the MIT License.