@@ -0,0 +1,381 @@
+package com.netflix.recipes.rss;%0A%0Aimport java.net.InetAddress;%0Aimport java.net.UnknownHostException;%0A%0Apublic class SystemInfo %7B%0A%0A%09public static String getHostname() %7B%0A%09%09InetAddress ip = null;%0A%09%09String hostname = %22%22;%0A%09%09try %7B%0A%09%09%09ip = InetAddress.getLocalHost();%0A%09%09%09hostname = ip.getHostName();%0A%09%09%7D catch (UnknownHostException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09return hostname;%0A%09%7D%0A%7D%0A

Add SystemInfo class to get machine hostname