Examples of SNMPObjectIdentifier


Examples of com.jitlogic.contrib.libsnmp.SNMPObjectIdentifier

    @Test
    public void testSendSimpleTrap() throws Exception {
        SnmpTrapper trapper = snmpLib.trapper("test", "127.0.0.1", "public", "127.0.0.1", SnmpLib.SNMP_V1);

        SNMPObjectIdentifier oid = snmpLib.oid("1.3.6.1.4.1.3.1.1");

        trapper.trap(1, 1, oid);

        Thread.sleep(100);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.