com.sun.jmx.snmp.agent.SnmpStandardObjectServer Java Examples

The following examples show how to use com.sun.jmx.snmp.agent.SnmpStandardObjectServer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JvmThreadInstanceEntryMeta.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmThreadInstanceEntry".
 */
public JvmThreadInstanceEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[10];
    varList[0] = 9;
    varList[1] = 8;
    varList[2] = 7;
    varList[3] = 6;
    varList[4] = 5;
    varList[5] = 4;
    varList[6] = 3;
    varList[7] = 11;
    varList[8] = 2;
    varList[9] = 10;
    SnmpMibNode.sort(varList);
}
 
Example #2
Source File: JvmThreadInstanceEntryMeta.java    From dragonwell8_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmThreadInstanceEntry".
 */
public JvmThreadInstanceEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[10];
    varList[0] = 9;
    varList[1] = 8;
    varList[2] = 7;
    varList[3] = 6;
    varList[4] = 5;
    varList[5] = 4;
    varList[6] = 3;
    varList[7] = 11;
    varList[8] = 2;
    varList[9] = 10;
    SnmpMibNode.sort(varList);
}
 
Example #3
Source File: JvmThreadingMeta.java    From dragonwell8_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmThreading".
 */
public JvmThreadingMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(6);
        registerObject(5);
        registerObject(4);
        registerObject(3);
        registerObject(2);
        registerObject(1);
        registerObject(10);
        registerObject(7);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #4
Source File: JvmMemPoolEntryMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemPoolEntry".
 */
public JvmMemPoolEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[20];
    varList[0] = 33;
    varList[1] = 32;
    varList[2] = 31;
    varList[3] = 133;
    varList[4] = 132;
    varList[5] = 131;
    varList[6] = 13;
    varList[7] = 12;
    varList[8] = 11;
    varList[9] = 10;
    varList[10] = 112;
    varList[11] = 111;
    varList[12] = 110;
    varList[13] = 5;
    varList[14] = 4;
    varList[15] = 3;
    varList[16] = 2;
    varList[17] = 23;
    varList[18] = 22;
    varList[19] = 21;
    SnmpMibNode.sort(varList);
}
 
Example #5
Source File: JvmRuntimeMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmRuntime".
 */
public JvmRuntimeMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(23);
        registerObject(22);
        registerObject(21);
        registerObject(9);
        registerObject(20);
        registerObject(8);
        registerObject(7);
        registerObject(6);
        registerObject(5);
        registerObject(4);
        registerObject(3);
        registerObject(12);
        registerObject(11);
        registerObject(2);
        registerObject(1);
        registerObject(10);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #6
Source File: JvmThreadingMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmThreading".
 */
public JvmThreadingMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(6);
        registerObject(5);
        registerObject(4);
        registerObject(3);
        registerObject(2);
        registerObject(1);
        registerObject(10);
        registerObject(7);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #7
Source File: JvmMemoryMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemory".
 */
public JvmMemoryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(120);
        registerObject(23);
        registerObject(22);
        registerObject(21);
        registerObject(110);
        registerObject(20);
        registerObject(13);
        registerObject(12);
        registerObject(3);
        registerObject(11);
        registerObject(2);
        registerObject(101);
        registerObject(10);
        registerObject(1);
        registerObject(100);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #8
Source File: JvmThreadingMeta.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmThreading".
 */
public JvmThreadingMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(6);
        registerObject(5);
        registerObject(4);
        registerObject(3);
        registerObject(2);
        registerObject(1);
        registerObject(10);
        registerObject(7);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #9
Source File: JvmMemPoolEntryMeta.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemPoolEntry".
 */
public JvmMemPoolEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[20];
    varList[0] = 33;
    varList[1] = 32;
    varList[2] = 31;
    varList[3] = 133;
    varList[4] = 132;
    varList[5] = 131;
    varList[6] = 13;
    varList[7] = 12;
    varList[8] = 11;
    varList[9] = 10;
    varList[10] = 112;
    varList[11] = 111;
    varList[12] = 110;
    varList[13] = 5;
    varList[14] = 4;
    varList[15] = 3;
    varList[16] = 2;
    varList[17] = 23;
    varList[18] = 22;
    varList[19] = 21;
    SnmpMibNode.sort(varList);
}
 
Example #10
Source File: JvmThreadInstanceEntryMeta.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmThreadInstanceEntry".
 */
public JvmThreadInstanceEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[10];
    varList[0] = 9;
    varList[1] = 8;
    varList[2] = 7;
    varList[3] = 6;
    varList[4] = 5;
    varList[5] = 4;
    varList[6] = 3;
    varList[7] = 11;
    varList[8] = 2;
    varList[9] = 10;
    SnmpMibNode.sort(varList);
}
 
Example #11
Source File: JvmMemoryMeta.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemory".
 */
public JvmMemoryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(120);
        registerObject(23);
        registerObject(22);
        registerObject(21);
        registerObject(110);
        registerObject(20);
        registerObject(13);
        registerObject(12);
        registerObject(3);
        registerObject(11);
        registerObject(2);
        registerObject(101);
        registerObject(10);
        registerObject(1);
        registerObject(100);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #12
Source File: JvmMemoryMeta.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemory".
 */
public JvmMemoryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(120);
        registerObject(23);
        registerObject(22);
        registerObject(21);
        registerObject(110);
        registerObject(20);
        registerObject(13);
        registerObject(12);
        registerObject(3);
        registerObject(11);
        registerObject(2);
        registerObject(101);
        registerObject(10);
        registerObject(1);
        registerObject(100);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #13
Source File: JvmThreadInstanceEntryMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmThreadInstanceEntry".
 */
public JvmThreadInstanceEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[10];
    varList[0] = 9;
    varList[1] = 8;
    varList[2] = 7;
    varList[3] = 6;
    varList[4] = 5;
    varList[5] = 4;
    varList[6] = 3;
    varList[7] = 11;
    varList[8] = 2;
    varList[9] = 10;
    SnmpMibNode.sort(varList);
}
 
Example #14
Source File: JvmOSMeta.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmOS".
 */
public JvmOSMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(4);
        registerObject(3);
        registerObject(2);
        registerObject(1);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #15
Source File: JvmRTInputArgsEntryMeta.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmRTInputArgsEntry".
 */
public JvmRTInputArgsEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[1];
    varList[0] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #16
Source File: JvmOSMeta.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmOS".
 */
public JvmOSMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(4);
        registerObject(3);
        registerObject(2);
        registerObject(1);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #17
Source File: JvmMemPoolTableMetaImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the table.
 * Initialize metadata for "JvmMemPoolTableMeta".
 */
public JvmMemPoolTableMetaImpl(SnmpMib myMib,
                               SnmpStandardObjectServer objserv) {
    super(myMib,objserv);
    this.cache = new
        JvmMemPoolTableCache(((JVM_MANAGEMENT_MIB_IMPL)myMib).
                                validity()*30);
}
 
Example #18
Source File: JvmMemPoolTableMetaImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the table.
 * Initialize metadata for "JvmMemPoolTableMeta".
 */
public JvmMemPoolTableMetaImpl(SnmpMib myMib,
                               SnmpStandardObjectServer objserv) {
    super(myMib,objserv);
    this.cache = new
        JvmMemPoolTableCache(((JVM_MANAGEMENT_MIB_IMPL)myMib).
                                validity()*30);
}
 
Example #19
Source File: JvmMemMgrPoolRelEntryMeta.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemMgrPoolRelEntry".
 */
public JvmMemMgrPoolRelEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[2];
    varList[0] = 3;
    varList[1] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #20
Source File: JvmRTInputArgsEntryMeta.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmRTInputArgsEntry".
 */
public JvmRTInputArgsEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[1];
    varList[0] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #21
Source File: JvmMemGCEntryMeta.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemGCEntry".
 */
public JvmMemGCEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[2];
    varList[0] = 3;
    varList[1] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #22
Source File: JvmCompilationMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmCompilation".
 */
public JvmCompilationMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(3);
        registerObject(2);
        registerObject(1);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #23
Source File: JvmRTBootClassPathEntryMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmRTBootClassPathEntry".
 */
public JvmRTBootClassPathEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[1];
    varList[0] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #24
Source File: JvmRTBootClassPathEntryMeta.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmRTBootClassPathEntry".
 */
public JvmRTBootClassPathEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[1];
    varList[0] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #25
Source File: JvmMemGCEntryMeta.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemGCEntry".
 */
public JvmMemGCEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[2];
    varList[0] = 3;
    varList[1] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #26
Source File: JvmOSMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmOS".
 */
public JvmOSMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(4);
        registerObject(3);
        registerObject(2);
        registerObject(1);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
Example #27
Source File: JvmMemMgrPoolRelEntryMeta.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemMgrPoolRelEntry".
 */
public JvmMemMgrPoolRelEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[2];
    varList[0] = 3;
    varList[1] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #28
Source File: JvmRTBootClassPathEntryMeta.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmRTBootClassPathEntry".
 */
public JvmRTBootClassPathEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[1];
    varList[0] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #29
Source File: JvmMemMgrPoolRelEntryMeta.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the metadata associated to "JvmMemMgrPoolRelEntry".
 */
public JvmMemMgrPoolRelEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[2];
    varList[0] = 3;
    varList[1] = 2;
    SnmpMibNode.sort(varList);
}
 
Example #30
Source File: JvmMemManagerTableMetaImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructor for the table. Initialize metadata for
 * "JvmMemManagerTableMeta".
 * The reference on the MBean server is updated so the entries
 * created through an SNMP SET will be AUTOMATICALLY REGISTERED
 * in Java DMK.
 */
public JvmMemManagerTableMetaImpl(SnmpMib myMib,
                                  SnmpStandardObjectServer objserv) {
    super(myMib,objserv);
    this.cache = new
        JvmMemManagerTableCache(((JVM_MANAGEMENT_MIB_IMPL)myMib).
                                validity());
}