Done
Details
Priority
MediumAssignee
Nabil Ben YoussefNabil Ben YoussefReporter
Sébastien DuthilSébastien DuthilApprovers
Pascal CadottePair
Sébastien DuthilFix versions
Sprint
None
Details
Details
Priority
Assignee
Nabil Ben Youssef
Nabil Ben YoussefReporter
Sébastien Duthil
Sébastien DuthilApprovers
Pascal Cadotte
Pair
Sébastien Duthil
Fix versions
Sprint
None
Zendesk Support
Zendesk Support
Zendesk Support
Created May 26, 2022 at 2:34 PM
Updated July 13, 2022 at 9:12 PM
Resolved July 8, 2022 at 12:23 PM
As a monitoring service, I want to know the status of wazo-amid in order to alert people if something goes wrong.
API specification:
GET /status { "bus_publisher": { "status": "ok" }, "service_token": { "status": "ok" }, "ami_socket": { "status": "ok" } }
We must create an HTTP API endpoint that returns the current status of the service named
wazo-amid
.The AMI (Asterisk Manager Interface) sends Asterisk events to
wazo-amid
(TCP socket).These events are for example: “new call”, “call hung up”, …
wazo-amid
forwards these events to the Wazo system by using AMQP/RabbitMQ.We don’t need to update the events. We only needs to create an endpoint returning the current status of the service
wazo-amid
.The two only values for the status are “ok” and “fail”.