请问谁用过snmp4j,能给个例子么,谢谢!!

解决方案 »

  1.   

    google下:
    以下有个:
    http://bbs.zndev.com/htm_data/21/0509/98990.html
      

  2.   

    static {
    try {
    // 构造snmp
    trasport = new DefaultUdpTransportMapping();
    snmp = new Snmp(trasport);
    trasport.listen(); } catch (Exception e) {
    logger.error("初始化SnmpCheck时发生异常。", e);
    }
    }
      

  3.   

    奶奶个熊,csdn不让我发布我的代码。
      

  4.   

    哈哈 不是吧 发不了
    baidu goole
    上都有