initial conversion to use pynag instead of pynagios