I decided to leave this in the helper since there wasn't a simple way to move that into `Opsicle::Monitor`. The changes it would have required are outside of the scope of these changes. As it is, some duplication was removed, but there is room for more refactoring in the future.