Bot for CSM jobs notifications in telegram and alerta


Keywords
alerta, awx, telegram-bot
License
Apache-2.0
Install
pip install delatore==0.5.1

Documentation

Delatore

Build Status codecov PyPI version GitHub

Monitor and report status of customer service monitoring scenarios

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 called Scenario 1.5