using moka templates to pass the nodes and using an interator to create nagios hosts