can't you just use
Meteor.status()
in the meteor API? docs.meteor.com/#/full/meteor_status