Tricky problem, and I don't have any answers.

I know for a fact that a single SNMP set request can have multiple varbinds, I've done this when configuring ATM circuits using Cisco WAN Manager using Net::SNMP for years.

One question is what version of SNMP are you using? I'm suspecting v3 because of the authentication malarkey..

Article SNMP Error using Net::SNMP - Transport endpoint is not connected doesn't appear to shed any light on the problem. For the most part SNMP is UDP, however I suspect v3 (because of security and encryption) could use TCP (in which case being connected to a Transport Endpoint actually has some meaning).

Hunting through the internet I found Re: Samba, Howto eliminate the getpeername failed error message, which could have some meaning if you are using Windows XP. Looking through the source of Net::SNMP I could find no reference to the error message "Transport endpoint is not connected" so I'm guessing it is a system error related to the getpeername() function.


In reply to Re: Net::SNMP Problem by monarch
in thread Net::SNMP Problem by NolanPL

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.