php server monitoring class