Detect notebook starts and ends events

Hi All,

What is the best way to detect when a particular notebook server starts and ends? For the notebook start event, we can instrument it in pre_spawn_start method. Is there a callback event to detect when the notebook shutdown? We want to call a web service to track the start and end events. Is post_spawn_stop right method to use?

Thanks
Mohan

post_spawn_stop sounds reasonable