fetch monitoring outputs from remote hosts. copied from affinity-prod-supp
minor fix
parameters are not hard coded anymore, plus some refactoring