An ohai-like library for detecting and collecting system and platform attributes