>
> Unsure why you mention C. Python has a solid and efficient
> implementation of SNMP with PySNMP, and except a misunderstanding about
> how SNMPv3 should work, it seems better to use it than relying on
> Net-SNMP which has many bugs and nobody really willing to correct them.
&
Python list users, this is a rather long message primarily addressed to
Vincent, but I am sending a copy to this list for those interested in SNMP
and/or "object mapping frameworks"...
Hello Vincent,
I have been using your snimpy in few small scripts. I like it for replacing
long dot/
Does anyone have an example of using netsnmp library to do a snmpset
on a snmp v2 device? I have gotten snmpget to work fine with python I
just cannot get snmpset to work. I know I have the snmp device
configured correctly with read/write access since I can use snmpset on
the linux(centos7
Have a look at https://snimpy.readthedocs.io/en/latest/
On Fri, Mar 24, 2017 at 12:07 AM, Matt <matt.mailingli...@gmail.com> wrote:
> What is easiest way to read and write SNMP values with Python?
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.
What is easiest way to read and write SNMP values with Python?
--
https://mail.python.org/mailman/listinfo/python-list
Eric V. Smith added the comment:
pysnmp is not part of the Python standard library. It looks like you should
report issues or search for help at at pysnmp.sourceforge.net.
--
components: -Build
nosy: +eric.smith
resolution: - third party
stage: - resolved
status: open - closed
type:
nivin added the comment:
I have fixed the issue that i reported by creating my mib file into py by the
command 'build-pysnmp-mib -o MY-MIB.py MY-MIB' and copy it into the path
'/usr/local/lib/python2.7/dist-packages/pysnmp/smi/mibs'
But my doubts are : Is there any other option to send snmp
Eric V. Smith added the comment:
Your question is not appropriate here, and you're unlikely to get an answer.
This tracker is for bugs in python and its standard library. It is not for
asking for help with third party packages. See my other comment for a pointer
to an appropriate venue for
New submission from nivin:
Hi ,
I have created one snmp mib , and tried to send a sample trap using a script
written in python using pysnmp. but i got error as follows
,'pysnmp.smi.error.SmiError: MIB file mymib.py[co] not found in search path'.
Can any one help me please? I'm attaching
Shinto Peter added the comment:
please attach MIB file also
--
nosy: +shinto
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23386
___
___
Changes by nivin nivinec...@gmail.com:
Added file: http://bugs.python.org/file38000/MY-MIB.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23386
___
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - snmp - mib error
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23385
New submission from nivin:
Hi ,
I have created one snmp mib , and tried to send a sample trap using a script
written in python using pysnmp. but i got error as follows
,'pysnmp.smi.error.SmiError: MIB file mymib.py[co] not found in search path'.
Can any one help me please? I'm attaching
nivin added the comment:
I have attached mib file also
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23386
___
___
Python-bugs-list mailing
I want to monitor printers for events such as the completion of printing.
If the printer initiates an SNMP trap event when the job has finished printing,
how can I capture this?
Presumably I need some sort of deamon to listen for these trap messages. I have
looked at pySNMP but am not sure
On 18 Apr, 22:38, Daniel Kluev dan.kl...@gmail.com wrote:
Isn't it better to use subprocess.Popen and read stdout/stderr
directly? Should be much more convenient than temporary files.
--
With best regards,
Daniel Kluev
Thanks Daniel, your solution is far better WKR! Aldo
--
On Apr 15, 11:00 am, Aldo Ceccarelli ceccarelli.a...@gmail.com
wrote:
Hello All,
in my specific problem I will be happy of a response where possible
to:
1. distinguish different operating systems of answering nodes
2. collect responses of Wyse thin-clients with Thin OS to get node
name and
On Tue, Apr 19, 2011 at 1:23 AM, Aldo Ceccarelli
ceccarelli.a...@gmail.com wrote:
Hello and thank you All!
I've solved my problem as follows:
1. installed nmap
2. wrote a python script calling nmap nmap -sP via os.system and
redirecting output to a file
3. read results file and made a
Isn't it better to use subprocess.Popen and read stdout/stderr
directly? Should be much more convenient than temporary files.
--
With best regards,
Daniel Kluev
--
http://mail.python.org/mailman/listinfo/python-list
as you kindly adviced, now looking
also intohttp://pynetsnmp.sourceforge.net/
KR Aldo
This is 6-7 year old stale memory (and dont want to start a flame war
but...)
Last I looked at the snmp modules in python I vaguely remember that
the perl modules were so much more feature complete that I had
Hello All,
in my specific problem I will be happy of a response where possible
to:
1. distinguish different operating systems of answering nodes
2. collect responses of Wyse thin-clients with Thin OS to get node
name and MAC address in particular
Thanks a lot in advance for any sharing / forward
On 04/15/2011 05:00 PM, Aldo Ceccarelli wrote:
Hello All,
in my specific problem I will be happy of a response where possible
to:
1. distinguish different operating systems of answering nodes
2. collect responses of Wyse thin-clients with Thin OS to get node
name and MAC address in particular
On 15 Apr, 11:54, frankcui frankcu...@gmail.com wrote:
On 04/15/2011 05:00 PM, Aldo Ceccarelli wrote: Hello All,
in my specific problem I will be happy of a response where possible
to:
1. distinguish different operating systems of answering nodes
2. collect responses of Wyse thin-clients
On Fri, Apr 15, 2011 at 5:00 AM, Aldo Ceccarelli
ceccarelli.a...@gmail.comwrote:
Hello All,
in my specific problem I will be happy of a response where possible
to:
1. distinguish different operating systems of answering nodes
2. collect responses of Wyse thin-clients with Thin OS to get
All:
I'm using Python 3.1.3 and need to incorporate sending SNMP traps from
my script. I've researched and I found pysnmp and net-snmp with python
bindings. The first appears to be only for Python 2.x. The second I'm not
certain about. Has anyone experience with this and able
. this class creates forks every snmp query and returns un ordered
result without any information that which oid returned which result,
where as in my code i query all only if a parent oid returns true, now
i dont know how to read specific oid.
algo of perl code,
read all the ips and communities from
to use it n convert my perl code to it but i have
some problem.
1. this class creates forks every snmp query and returns un ordered
result without any information that which oid returned which result,
where as in my code i query all only if a parent oid returns true, now
i dont know how to read
Shabbir Ahmed shabbir1...@gmail.com writes:
hi hope all are doing good, i have code written in perl which quries
too many devices and then stores the result in mysqldb, whiel shifting
to python and googling i heared of and studied google asynch python
code, now i wanted to use it n convert my
Hi,
While looking around for Python API's to do SNMP, found the following link
with a high level comparison --
http://urchin.earth.li/~twic/SNMP_in_Python.html
i.e. options seems to be: PySNMP (complete SNMP impl.), SNMPy, yapSNMP
(Net-SNMP bindings).
Of those, yapSNMP seems to be most
Consider taking a look at pysnmp-4 -- it has been designed with Agent
role in mind. Here's an example Agent script:
http://pysnmp.sourceforge.net/examples/4.x/v3arch/agent/cmdrsp.html
I have a Python app and i would like to add someSNMPagent
functionality to it.
--
In article [EMAIL PROTECTED],
alain [EMAIL PROTECTED] wrote:
.
.
.
I still find it strange that, in all these years of existence, no one
felt the need for a SNMP agent in Python.
Do Pythoneers only write test tools
[EMAIL PROTECTED] (Cameron Laird) wrote:
I understand the sentiment; in principle, it shouldn't be hard
to write a library which supports construction of SNMP agents
in Python. I'm aware of no one who has done so publicly, though.
I've used pysnmp (http://pysnmp.sourceforge.net/) in a test
; in principle, it shouldn't be hard
to write a library which supports construction of SNMP agents
in Python. I'm aware of no one who has done so publicly, though.
Myself, I like using the Tcl-based Scotty. For severely-constrained
performance, though, you'll likely have to go to C, in some form
production-ready.
Alain
'Doesn't exist.
I understand the sentiment; in principle, it shouldn't be hard
to write a library which supports construction of SNMP agents
in Python. I'm aware of no one who has done so publicly, though.
Myself, I like using the Tcl-based Scotty. For severely
Hi,
I have a Python app and i would like to add some SNMP agent
functionality to it.
I know it's possible to write a sub-agent with netsnmp but it is in C
and quite complicated.
I know of YAPSNMP (a wrapper around NETSNMP) but it doesn't seem to
support agent writing.
Any suggestion ?
Thanks
alain wrote:
Hi,
I have a Python app and i would like to add some SNMP agent
functionality to it.
I know it's possible to write a sub-agent with netsnmp but it is in C
and quite complicated.
I know of YAPSNMP (a wrapper around NETSNMP) but it doesn't seem to
support agent writing.
Any
On Apr 4, 1:30 pm, alf [EMAIL PROTECTED] wrote:
twistedmatrix.org?
I already took a look at it but the agent functionality is somewhat
primitive. I need something production-ready.
Alain
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am very new to Python and really just began studying and using it.
I read that it was relatively easy to interact with Windows machines
with Python and I am desperately looking for something to replace
VBScript (not a big fan).
I am currently deploying a Gentoo Linux SNMP server running
am currently deploying a Gentoo Linux SNMP server running Cacti in
my network and would like my XP machines to report traps to this box.
The SNMP service is not running by default on the machines in the
network and instead of going to each one at a time, I thought I could
write a script.
Does
Sorry for language, i wanted post in FR.comp.lang.python.
But...
hello with all, after having to create a Windows service with py2exe, I
have this problem when I launch the service: here what I find in the
eventLog:
The instance's SvcRun() method failed
Error getting traceback -
Hi all, I was just wondering if someone here had any experience with
some of these implementations of the snmp protocol?
pysnmp, libsnmp, snmpy.
Does anybody know of another implementation?
thanks in advance!!!
--
miya
--
http://mail.python.org/mailman/listinfo/python-list
Antal Rutz wrote:
...
I'd like to collect snmp data from varoius network devices parallel.
...
Could you give me some advice how can I make my script really parallel?
My options maybe:
1. pySNMP (as it's full in python)
2. subprocess (I'd like to make (find) a solution as threadpool.py
Hi all,
I'd like to collect snmp data from varoius network devices parallel.
First I tried with my own threadpool class then I gave a try
to Christopher Arndt's threadpool.py
(http://chrisarndt.de/en/software/python/threadpool.html).
I got the same result: with one thread it finished about 2
Hi all,
I'd like to collect snmp data from varoius network devices parallel.
First I tried with my own threadpool class then I gave a try
to Christopher Arndt's threadpool.py
(http://chrisarndt.de/en/software/python/threadpool.html).
I got the same result: with one thread it finished about 2
py wrote:
From what I have seen Python does not come with an snmp module built
in, can anyone suggest some other SNMP module (preferably one you have
used/experienced)..I have googled and seen yapsnmp and pysnmp (which
seem to be the two most active SNMP modules).
Thanks
I've used pysnmp
From what I have seen Python does not come with an snmp module built
in, can anyone suggest some other SNMP module (preferably one you have
used/experienced)..I have googled and seen yapsnmp and pysnmp (which
seem to be the two most active SNMP modules).
Thanks
--
http://mail.python.org/mailman
...also I am looking to work with windows, as well as linux.
--
http://mail.python.org/mailman/listinfo/python-list
py wrote:
From what I have seen Python does not come with an snmp module built
in, can anyone suggest some other SNMP module (preferably one you have
used/experienced)..I have googled and seen yapsnmp and pysnmp (which
seem to be the two most active SNMP modules).
Thanks
Google turns up
Hi,
I don't know very much at all about SNMP, but I have an application
where I need to use it. I won't be doing too much with it, just simple
queries for metric values and capturing traps.
I've searched on the net for information but haven't found anything
that recent as to what is the best
I used pySNMP successfully. I think it's the most active SNMP-related
Python project too.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
because they're following SNMPv3
model, which is complex. However, a simplistic high-level layer is
scheduled for implementation.
convert the random string it produces to a floating point number. Somehow
it manages to gain 3 bytes over a float...
Basic SNMP types don't seem to include floating
know of a simple python package for doing this? I'd rather
have something written in pure python, so that it is easily cross-platform.
Jeremy
The pyNMS package at sourceforge has a complete SNMP (v1, v2c)
implementation. In pure Python, and fairly self contained. See
http://sourceforge.net/projects
On Thu, 09 Dec 2004 15:34:14 +0200, Petri Laakso wrote:
have you tested twistedsnmp?
http://twistedsnmp.sourceforge.net/
I looked at it, but it needs Twisted compiled and installed, which is a
pain.
The old versions of PySNMP (version 2.XX), seem to be a lot simpler to
use than later ones, so
53 matches
Mail list logo