<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to Project SNMP library for Python</title><link href="https://sourceforge.net/p/pysnmp/" rel="alternate"/><link href="https://sourceforge.net/p/pysnmp/feed.atom" rel="self"/><id>https://sourceforge.net/p/pysnmp/</id><updated>2024-08-15T07:17:25.084000Z</updated><subtitle>Recent changes to Project SNMP library for Python</subtitle><entry><title>Potential bug in pysnmp/carrier/asyncio/dispatch.py line 44</title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/2a7120cd10/?limit=25#c452" rel="alternate"/><published>2024-08-15T07:17:25.084000Z</published><updated>2024-08-15T07:17:25.084000Z</updated><author><name>Lex Li</name><uri>https://sourceforge.net/u/lextm/</uri></author><id>https://sourceforge.net71b90c36b786629671d8cc6ad58a9f635acda640</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You should read &lt;a href="https://github.com/etingof/pysnmp/issues/429" rel="nofollow"&gt;https://github.com/etingof/pysnmp/issues/429&lt;/a&gt; for details on which version of PySNMP you should use and why. The technical support also moved away from here for long.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>[ANN] Project moved to GitHub</title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/af6f17bcad/?limit=25#31e6" rel="alternate"/><published>2018-10-14T06:56:25.878000Z</published><updated>2018-10-14T06:56:25.878000Z</updated><author><name>Ilya Etingof</name><uri>https://sourceforge.net/u/elie/</uri></author><id>https://sourceforge.net8a4d5cf5d965a9ab203339ad4263383fccff0814</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please, open a &lt;a class="" href="https://github.com/etingof/pysnmp/issues" rel="nofollow"&gt;GitHub issue&lt;/a&gt; whenever you have any question concerning pysnmp.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Informs acknowledgement </title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/596e95da1b/?limit=25#25fb" rel="alternate"/><published>2018-10-14T06:52:45.309000Z</published><updated>2018-10-14T06:52:45.309000Z</updated><author><name>Ilya Etingof</name><uri>https://sourceforge.net/u/elie/</uri></author><id>https://sourceforge.netd943171ddc157eeac1e3d8a5af2b74da4b70b326</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I believe you need to call &lt;a class="" href="http://snmplabs.com/pysnmp/docs/api-reference.html#pysnmp.hlapi.UdpTransportTarget.setLocalAddress" rel="nofollow"&gt;.setLocalAddress&lt;/a&gt; on the pysnmp transport object to make pysnmp binding to specific interface when sending out packets.&lt;/p&gt;
&lt;p&gt;BTW, it is more reliable to &lt;a class="" href="https://github.com/etingof/pysnmp/issues" rel="nofollow"&gt;open a GitHub issue&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Informs acknowledgement </title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/596e95da1b/?limit=25#84be" rel="alternate"/><published>2018-10-14T01:39:50.738000Z</published><updated>2018-10-14T01:39:50.738000Z</updated><author><name>Sankar Piram</name><uri>https://sourceforge.net/u/sankara/</uri></author><id>https://sourceforge.netc3878489ff07cf813bc7d4f94e75219bf3e989a1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have a distributed application running as containers. I need some help to set  the source address for the acknowledment packet going out of pysnmp. &lt;/p&gt;
&lt;p&gt;So, this is our workflow:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Agent sends the informs to the application (running on server 1)&lt;/li&gt;
&lt;li&gt;Application forwards the udp packet to the informs processing app (running on server 2) --&amp;gt; Its for load balancing.&lt;/li&gt;
&lt;li&gt;Informs processing app on server 2, receives and process the informs,  sends the acknowledgement back to the Agent. This is done by the snmp engine  --&amp;gt; But the source ip is for the ack packet is set to the server 2 ip. And our agent drops the acknowledgment bcos the informs were sent to the server 1. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Is there any way i can set the source address for the ack packet?  Please let me know what you guys think.&lt;/p&gt;
&lt;p&gt;Sa.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Pysnmp Inform Support</title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/028e97aa/?limit=25#ad87" rel="alternate"/><published>2018-04-24T16:25:44.116000Z</published><updated>2018-04-24T16:25:44.116000Z</updated><author><name>Joshua Brown</name><uri>https://sourceforge.net/u/piedpyper/</uri></author><id>https://sourceforge.net7e1f9672adb44f34831f43015f7f50725b0dfb63</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am having the same issue. So I thought I would comment to show interest in an answer. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reading debug output for "no response received before timeout" error</title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/69ef8519/?limit=25#608d" rel="alternate"/><published>2018-03-09T22:27:27.482000Z</published><updated>2018-03-09T22:27:27.482000Z</updated><author><name>Prof Robert Ekblaw</name><uri>https://sourceforge.net/u/profekblaw/</uri></author><id>https://sourceforge.net88309229d4711d66f49d8bd5d4758f3f2000ae66</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I apologize for the generality of this message.  I am a new user to Pysnmp.  I am using it to read (and later update) MIB values, but nearly all of my commands are ending with the above message.  Based on older posts I read, I set the following in my code:&lt;br/&gt;
      debug.setLogger(debug.Debug('all'))&lt;br/&gt;
      sys.stderr = open('dataerr.log', 'a')&lt;/p&gt;
&lt;p&gt;I get output, but it is terribly unreadable, so I wondered if someone could help decipher it for me.  The output file is on my Google Drive, viewable using this link: &lt;span&gt;[https://drive.google.com/file/d/1jCwVORLVyvG8Pm769sIdwAZjEPRJ6kfS/view?usp=sharing]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The MIB call in the code is as follows:&lt;br/&gt;
        mibgen = cmdgen.CommandGenerator()&lt;br/&gt;
        #get phase value from the appropriate MIB address&lt;br/&gt;
        errorIndication, errorStatus, errorIndex, varBinds = mibgen.nextCmd(cmdgen.CommunityData('test','public',0),&lt;br/&gt;
    cmdgen.UdpTransportTarget(('172.18.0.11', 161),timeout=2),'.1.3.6.1.4.1.1206.4.2.1.1.4.1.4')&lt;br/&gt;
        if errorIndication: &lt;br/&gt;
            print("Failed to read MIB with error %s, index=%d\n" % (errorIndication, errorIndex))&lt;/p&gt;
&lt;p&gt;My import statements are as follows:&lt;br/&gt;
from pysnmp.entity.rfc3413.oneliner import cmdgen&lt;br/&gt;
from pysnmp.proto import rfc1902&lt;br/&gt;
from pysnmp import debug&lt;/p&gt;
&lt;p&gt;I'd just like to know what is actually causing the error, as I really can't figure it out due to the multitude of interlocked messages.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MAX Queue Size in PYSNMP </title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/fc90a095/?limit=25#6b17" rel="alternate"/><published>2018-01-29T11:29:53.552000Z</published><updated>2018-01-29T11:29:53.552000Z</updated><author><name>JIgar Shah</name><uri>https://sourceforge.net/u/jigarshahalef/</uri></author><id>https://sourceforge.netc25c1f90274b2260f4c95451a6e3b1bb832a474f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I found that queue contain only 267 trap.  How to increase this size ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MAX Queue Size in PYSNMP </title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/fc90a095/?limit=25#7329" rel="alternate"/><published>2018-01-29T09:47:03.127000Z</published><updated>2018-01-29T09:47:03.127000Z</updated><author><name>JIgar Shah</name><uri>https://sourceforge.net/u/jigarshahalef/</uri></author><id>https://sourceforge.netb9fb33290a1b24cf24cd7c783b997adb85b2f97c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey ,&lt;br/&gt;
I have a trap reciever which uses pysnmp module to recieve trap. But the amount of trap which i would receive concurrently is very high .  As i was tesing the pysnmp module i found out not more than 200 trap can be recived concurrently .&lt;br/&gt;
Any workaround to make this work for say 10K concurrent trap. I do have a alerternaive solution , but i need to check if pysnmp support this?.&lt;br/&gt;
I am using snmpEng = engine.SnmpEngine()  Default constructure.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Pysnmp Inform Support</title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/028e97aa/?limit=25#f069" rel="alternate"/><published>2017-12-28T11:24:15.557000Z</published><updated>2017-12-28T11:24:15.557000Z</updated><author><name>JIgar Shah</name><uri>https://sourceforge.net/u/jigarshahalef/</uri></author><id>https://sourceforge.nete6c318af74173db6e0ef00240ad37d9a05602132</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey ,&lt;br/&gt;
I want my application have a control over acknowledgment of trap .&lt;br/&gt;
My sender are using inform . &lt;br/&gt;
But i need my reciever to acknowledgment .&lt;/p&gt;
&lt;p&gt;Can someOne help iwith small snapshot of code how it can be done using pysnmp&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>snmp_v3 snmptrap working but pysnmp code doesn't</title><link href="https://sourceforge.net/p/pysnmp/discussion/46667/thread/b300e890/?limit=25#ee5a" rel="alternate"/><published>2017-11-14T18:04:22.183000Z</published><updated>2017-11-14T18:04:22.183000Z</updated><author><name>Karthika Krishnan</name><uri>https://sourceforge.net/u/ani0989/</uri></author><id>https://sourceforge.net93166062b31405bf10c928347300b7dbef2fa0fd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Excellent will do. Thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>