Results 1 to 5 of 5
  1. #1
    jerryen is offline Member
    Join Date
    Oct 2014
    Posts
    3
    Rep Power
    0

    Default java.io.IOException: Unsupported PDU type:-94

    I took snmp4j to monitor switch or host,but my agent encount this error :
    java.io.IOException: Unsupported PDU type:-94
    at org.snmp4j.PDU.decodeBER<PDU.java:555>
    at org.snmp4j.mp.MPv2c.prepareDateElements<MPv2c.java :201>
    at org.snmp4j.MessageDispatcherImpl.dispatchMessage<M essageDispatcherImpl.java:272>

    who encounted too?
    Please help me.Thanks!

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: java.io.IOException: Unsupported PDU type:-94

    Quote Originally Posted by jerryen View Post
    who encounted too?
    Other people who use this API - there are not many apparently. You might want to try asking here:

    https://oosnmp.net/mailman/listinfo/snmp4j

    If I check the source code that produces that error:

    GC: PDU - org.snmp4j.PDU (.java) - GrepCode Class Source

    I can only conclude that it basically means "snmp4j doesn't understand your hardware".
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    jerryen is offline Member
    Join Date
    Oct 2014
    Posts
    3
    Rep Power
    0

    Default Re: java.io.IOException: Unsupported PDU type:-94

    Thank you!

    In the beginning,it can run normally.But,about 2 hours later,it throws Exception:Unsupported PDU type:-94

    Can you tell how can I solve this problem?

    Thanks again!

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: java.io.IOException: Unsupported PDU type:-94

    No, I cannot. Notice that "might want to try asking here" link I gave you?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  5. #5
    jerryen is offline Member
    Join Date
    Oct 2014
    Posts
    3
    Rep Power
    0

    Default Re: java.io.IOException: Unsupported PDU type:-94

    OK!I will go there to ask questions.
    Anyway,thank you very much!

Similar Threads

  1. Replies: 2
    Last Post: 06-25-2012, 08:01 PM
  2. Replies: 4
    Last Post: 08-01-2011, 10:29 AM
  3. Replies: 8
    Last Post: 06-30-2011, 02:08 PM
  4. java.io.IOException: Premature EOF
    By CrazyVag in forum New To Java
    Replies: 5
    Last Post: 01-26-2010, 10:55 PM
  5. Replies: 0
    Last Post: 05-26-2008, 04:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •