Fix incorrect resmon host vars

Sorry! Hadn't tested the original PR properly. When I did test it it failed, as host doesn't exist, should have been uri.host.

I've tested this one and it seems to work fine :)