fixes

Add compatibility with linux hosts and fixed use of snmp template