network monitoring in ruby