diff --git a/bindings/java/src/org/hyperic/sigar/jmx/SigarRegistry.java b/bindings/java/src/org/hyperic/sigar/jmx/SigarRegistry.java index 732d168b..1ad2f20f 100644 --- a/bindings/java/src/org/hyperic/sigar/jmx/SigarRegistry.java +++ b/bindings/java/src/org/hyperic/sigar/jmx/SigarRegistry.java @@ -273,6 +273,13 @@ public class SigarRegistry extends AbstractMBean { throw unexpectedError("NetInterfaceList", e); } + //network info bean + ReflectedMBean mbean = new ReflectedMBean(sigarImpl, "NetInfo"); + try { + mbean.putAttribute("FQDN", sigarImpl.getFQDN()); + } catch (SigarException e) { + } + registerMBean(mbean); //physical memory bean registerMBean(new ReflectedMBean(sigarImpl, "Mem")); //swap memory bean