a basic ping reporter script