Telegram bot for CSM jobs notifications
Project description
Delatore
Monitor and report status of customer service monitoring scenarios
State
Given project is just a concept
Architecture
Gather events (CSM)
- AWX (web hooks)
- Test scripts (direct http API calls)
- Telegraf (http output)
Process reports (server)
- Unify input (telegraf reports in fixed format)
- Running on
test_host
, created by kapellmeister - Running in dedicated container
- No storage
Report (Telegram)
- Configured telegram chanel
- Direct messages to configured users
- Control target user/channel by severity map
Bot commands
Telegram bot accepts following commands:
/status
Bot reply to the message with last status(-es) retrieved from given source
Status has following syntax:
/status <source> [detailed_source] [history_depth]
If some argument contains spaces, it should be surrounded by quotes, either '...'
or "..."
AWX Source
Status command for AWX source has following syntax:
/status awx [template_name] [history_depth]
Examples:
/status awx
— return last job status for all scenarios/status awx 'Buld test host'
— return last job status for AWX template which called 'Buld test host'/status awx 'Scenario 1.5' 3
— return status of last 3 jobs for AWX template which calledScenario 1.5
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
delatore-0.2.0.tar.gz
(14.7 kB
view hashes)
Built Distribution
delatore-0.2.0-py3-none-any.whl
(18.3 kB
view hashes)