Re-work monitoring file

Since Puppet resource can only be exported and collected by Puppet agents which
share the same Puppet master, then a Puppet agent running in standalone,
agentless, configuration cannot export resources. This re-work fixes this, and
includes class parameters to look up the FQDN and hostname from Hiera.