Updates sensors and curl commands to use localhost instead of getHostname() (required for Docker)

Have only been able to test with single-node cluster due to outstanding issues with Clocker