1 22 package org.jboss.jmx.adaptor.snmp.system; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.mx.util.ObjectNameFactory; 27 import org.jboss.system.ServiceMBean; 28 import org.opennms.protocols.snmp.SnmpObjectId; 29 30 37 public interface MIB2SystemGroupServiceMBean extends ServiceMBean 38 { 39 40 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.jmx:name=SnmpAgent,service=MIB2SystemGroup"); 41 42 44 45 void setSnmpAgent(ObjectName agent); 46 ObjectName getSnmpAgent(); 47 48 49 void setSysDescr(String sysDescr); 50 String getSysDescr(); 51 52 53 SnmpObjectId getSysObjectId(); 54 55 56 long getSysUpTime(); 57 58 59 void setSysContact(String sysContact); 60 String getSysContact(); 61 62 63 void setSysName(String sysName); 64 String getSysName(); 65 66 67 void setSysLocation(String sysLocation); 68 String getSysLocation(); 69 70 71 int getSysServices(); 72 73 } | Popular Tags |