- Newest
- Most votes
- Most comments
alexyap
This will have to be a 2 step process.
- Find the channels that are in a Running state, using the list-channel query
- For the channels in a running state look in the CloudWatch events to see which ones reported that they are not detecting input anymore.
In CW events you would setup a rule for Service Name "MediaLive", Event Type "MediaLive Channel Alert" and then set a target type you prefer.
There will be an event each time an alert is set, and one when the alert is cleared. In the Event detail, the "alarm_state" field would be set to either SET or CLEARED. You should then use an alert message that is applicable for your input type, e.g. for RTP inputs "Stopped receiving network data on [rtp://localhost:5000]"
The logic you will have to employ would be to look for channels in a RUNNING state, where the SET event for the alarm message you pick was received for X minutes (you decide how long this would be) and where a CLEARED event was not received. A channel that falls in this category would then be a channel that is in a RUNNING state, but not receiving input anymore.
See also https://forums.aws.amazon.com/thread.jspa?threadID=316374&tstart=0
Relevant content
- asked 4 months ago
- asked 2 years ago
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago