I've been having some issues with one of my Access Points so I "forked" a python script that will monitor connectivity continuously and write out when and for how long it drops.

Here's the gist