Server monitoring using Node.js