You can get events of running app using rest api. If you container gets
killed you will get ContainerStop event. You can keep looking for such
events.
Here is the reset api call:
http://host:port/ws/v2/applications/application_id/events
<http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9005%2Fws%2Fv2%2Fapplications%2Fapplication_1479211015219_0432%2Fevents%3Flimit%3D50&sa=D&sntz=1&usg=AFQjCNGnExHQURHVbhzzSuxFF8Czfw6bmw>

-Priyanka

On Fri, Nov 25, 2016 at 2:52 PM, chiranjeevi vasupilli <[email protected]>
wrote:

> yeah, we are using the DT console to monitor manually, Here we are facing
> an issue we should continue to monitor for killed containers till the job
> gets completed. I would like to automate it by any means.
>
> Please suggest the best approach and reference docs.
>
> Thanks
> Chiranjeevi V
>

Reply via email to