Event-Observer for whenever the stock status of product changes
Youcanusecatalog_product_save_after,checkout_submit_all_after,cataloginventory_stock_revert_products_sale,sales_order_item_cancel(Depending)andgetthestockstatus.Youcanevencheckforthatproductattributev