>
> 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 wrote:
> What is easiest way to read and write SNMP values with Python?
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
What is easiest way to read and write SNMP values with Python?
--
https://mail.python.org/mailman/listinfo/python-list
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 if
On 18 Apr, 22:38, Daniel Kluev 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
--
http://mail.python.org/mailma
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
On Tue, Apr 19, 2011 at 1:23 AM, Aldo Ceccarelli
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 further processing to get
On Apr 15, 11:00 am, 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 pa
gt; there is also a module called pysnmp and you can look into it to see if
> > it meets your need.
>
> > frank
>
> Thanks Frank! I've browsed pysnmp as you kindly adviced, now looking
> also intohttp://pynetsnmp.sourceforge.net/
> KR Aldo
This is 6-7 year old stale mem
On Fri, Apr 15, 2011 at 5:00 AM, 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 a
On 15 Apr, 11:54, frankcui 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 with "Thi
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
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 / forwar
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 t
Shabbir Ahmed 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 perl code to it b
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
. 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
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
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.
--
http://mail.python.org/ma
[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.sou
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 Pythonee
ut the agent functionality is somewhat
> >primitive. I need something 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
&
n-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 sev
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
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
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 ?
o replace
> VBScript (not a big fan).
>
> I 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 t
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
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
: (-2147221020, 'Syntaxe incorrecte',
None
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'
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 finish
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 finish
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).
>
&
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).
>
...also I am looking to work with windows, as well as linux.
--
http://mail.python.org/mailman/listinfo/python-list
>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.
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
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
ions tend to be more complex 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 S
oes anyone 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://sourcefor
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,
On Thu, 09 Dec 2004 11:15:27 +, Jeremy Sanders wrote:
> Hi -
>
> I'd like to write a program which basically does a few snmpgets. I haven't
> been able to find a python package which gives you a nice high-level and
> simple way of doing this (like PHP has). Everything appears to be
> extremel
Hi -
I'd like to write a program which basically does a few snmpgets. I haven't
been able to find a python package which gives you a nice high-level and
simple way of doing this (like PHP has). Everything appears to be
extremely low level. All I need is SNMPv1.
Does anyone know of a simple python
46 matches
Mail list logo