afunms

          My Software,My Dream—Forge a more perfect NMS product.

          snmp4j FAQ


          • Why is SNMP4J free?
            Currently there is a lack of an affordable well object
            oriented designed SNMP implementation for Java. SNMP4J tries to fill this gap.
            It is free to get the best support and feedback from the Internet community. In
            addition it is a small compensation for the help we got from other open source
            projects.
            Nevertheless you are welcome to support the development of SNMP4J
            by purchasing commercial e-mail support.
             
          • Where can I find examples for SNMP4J API usage?
            Simple examples are provided by
            the JavaDoc of the SNMP class which can be viewed here.
            A (nearly) complete example for the SNMP4J API usage
            is the console tool. It can be found in the org.snmp4j.tools.console.SnmpRequest
            class.
             
          • Is SNMP4J thread-safe?
            Yes, SNMP4J is designed for multi-threaded
            environments. Nevertheless, objects put into a PDU must not be modified while
            the corresponding SNMP request is being processed.
             
          • Why do I get sometimes a time-out (response == null) on a request although I see log
            messages like “Received response that cannot be matched to any outstanding
            request...”?

            The response of the agent has been received after the
            request had been timed out. To solve this, increase the time-out value for the
            target.
             
          • Why am I always getting a time-out (response == null) when sending a request?
            Probably you have forgotten to call the listen() method of the
            TransportMapping (once) or the Snmp class before sending the
            request.
             
          • Can I use a single Snmp instance to request data from multiple SNMP agents at the same time?
            Yes, of course! You can either use asynchronous requests and
            collect their responses in a one or more callback listeners or you can use
            synchronous requests that are send from several threads concurrently.

          • Can SNMP4J be used with Java EE?
            Yes, the SNMP4JSettings class provides the
            option to replace the default thread and timer factories by custom ones that use
            Java EE resources instead of Java SE threads (timers).

          posted on 2012-05-03 16:09 afunms 閱讀(405) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          My Links

          News

          留言簿(18)

          隨筆檔案

          相冊

          搜索

          最新評論

          閱讀排行榜

          主站蜘蛛池模板: 阿拉善左旗| 黄大仙区| 长沙县| 桑植县| 桓台县| 娱乐| 郴州市| 突泉县| 墨竹工卡县| 璧山县| 松原市| 厦门市| 民权县| 甘孜县| 潞城市| 舒兰市| 岳西县| 偃师市| 博爱县| 崇仁县| 逊克县| 黄骅市| 泊头市| 贵德县| 象州县| 武陟县| 兴安盟| 读书| 通江县| 新余市| 翼城县| 防城港市| 定西市| 大足县| 锡林浩特市| 墨江| 南丰县| 三台县| 喀喇| 竹溪县| 于田县|