473,411 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

SNMPV3

Do you have any experience with Python in SNMPv3 area?
I just realized that pySNMP we are using supports only v1 and v2c,
development version probably supports SNMPv3 but I am unable to find any
v3-specific documentation, could you help me?
Is there any other solution than pySNMP?
Dec 6 '05 #1
2 3801
py
the most recent version of PySNMP (like 4.1.x) has SNMP v3 support.
(not sure if its 100% or not...check with developer).

Anyhow I think the documentation explains how to use PySNMP
(http://pysnmp.sourceforge.net/docs/4.1.x/index.html) ....i think the
"interface" is common amongst the different SNMP versions that are
supported by PySNMP. So i think if you use the
CommandGenerator.nextCmd method...its the same format for snmp v2 and
v3, etc.

It took me a little bit to grasp the API but once I did it works well
(although I am not using SNMP v3)

Dec 6 '05 #2

"Jacek Popławski" <jp***@interia.pl> wrote in message
news:dn**********@atlantis.news.tpi.pl...
Do you have any experience with Python in SNMPv3 area?
SNMP suck per design and SNMPv3 suck even more by adding complexity to that
design IMO.

SNMPv2 sort of works well within the limits of the design of SNMP, so that
is what I would use.

The main difference between SNMPv2 and SNMPv3 is that v3 comes with a
self-contained security system with it's own rules/tools &
yet-another-set-of-credencials-to-control. If you do not need the security,
SNMPv2 will work fine, and you don't need it because you will not change
anything via SNMP anyway.
I just realized that pySNMP we are using supports only v1 and v2c,
development version probably supports SNMPv3 but I am unable to find any
v3-specific documentation, could you help me?
Not really - I have deployed SNMPv3 in a demo network and gotten a
management system based on SNMPv2 & SNMPv3 to work. This was a long lesson
in how things that are broken by design will remain broken forever.

So, I would not worry about it; informs, polling and probing can be done
adequately with SNMPv2. Most tools do not bother with SNMPv3 either.

Changing configurations by "setting" parameters cannot be made reliable with
SNMP so there is no need for SNMPv3's security features (which are
complicated in themselves and a real pain to manage, probably impossibly so
for more than a few access levels on very few nodes).

SNMPv3 Informs are the worst part: They must be authenticated, which means
that the Username and engineID the trap is sent from must be registered with
the Informsink or the Inform cannot be received. I.O.W: A SMURF attack on
the configuration of the management station (and the manager, who has to
collect/create engineID's manually).

Is there any other solution than pySNMP?


Well, netconf is working it's way through IETF:
http://www.ietf.org/html.charters/netconf-charter.html ;-) Netconf on top of
XML-RPC would be very Pythonic.

It looks like they got most things right this time - especially the parts
about netconf NOT being self-contained so one can build on already-deployed
and debugged protocols and standards!!
Dec 7 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jeremy Sanders | last post by:
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)....
10
by: Bennett F. Dill | last post by:
Hi I'd like help writing a c# console app that can send an SNMP trap. I've seen some documents on writng an SNMP server, but I don't want to receive traps, I only want to send them. Thanks Ben
2
by: acrux14 | last post by:
Hi, I need to poll SNMP variables from Cisco routers using SNMPv3 (security reasons). I'm trying to use the little-documented SNMPv3 functions (see http://us3.php.net/manual/en/ref.snmp.php,...
1
by: Schroeder, AJ | last post by:
Hello group, I performed binary installs of Net-SNMP and PHP 4.4.4 on my Windows XP laptop so that I can do some offline development/testing away from my Linux server. Anyway, I attempted to do...
1
by: chinnakanna | last post by:
hi all, can anyone help me, when i am connecting agent (OS vxworks) and trying to get values from agent it is giving as Unknown user (through MGSOFT mib browser and SNMPc Manager for SNMPv3). Can...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.