Package com.jitlogic.contrib.libsnmp

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

Related Classes of com.jitlogic.contrib.libsnmp.SNMPObjectIdentifier

Copyright © 2018 www.massapicom. 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.