Sample monitoring module written in NodeJS