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 package for doing this? I'd rather
have something written in pure python, so that it is easily cross-platform.
Jeremy 4 3430
On Thu, 09 Dec 2004 11:15:27 +0000, 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 extremely low level. All I need is SNMPv1.
Does 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.
Hi, Jeremy
have you tested twistedsnmp? http://twistedsnmp.sourceforge.net/
Petri
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 I might do that. That's if I can work out how to
convert the random string it produces to a floating point number. Somehow
it manages to gain 3 bytes over a float...
Jeremy
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 extremely low level. All I need is SNMPv1.
Does 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://sourceforge.net/projects/pynms
There are few docs, sorry. If you want to use it and have any questions
then please let me know (I wrote it).
BTW, you can also read MIB files if you have libsmi installed. But the
pyNMS package contains a utility called mib2py that converts MIB objects
to Python, and the pyNMS package has most standard MIBS pre-compiled.
So, you don't really need libsmi to use the standard MIBs.
The name means Python Network Management System, and will become a
complete network management system with GUI and scriptability soon. ;-)
There is some support for creating XHTML reports, NMS web interface,
SNMP get/set, SNMP trap receiver, Ping/ICMP module, process management,
MIB browser, CLI construction kit, web protocols, easy email interface,
and asyncio framework. Works well with Linux or FreeBSD.
(PS. It can also answer your phone and take a message)
--
\/ \/
(O O)
-- --------------------oOOo~(_)~oOOo----------------------------------------
Keith Dart <kd***@kdart.co m>
vcard: <http://www.kdart.com/~kdart/kdart.vcf>
public key: ID: F3D288E4 URL: <http://www.kdart.com/~kdart/public.key>
=============== =============== =============== =============== =============== =
Jeremy Sanders <je************ *@jeremysanders .net> wrote: On Thu, 09 Dec 2004 15:34:14 +0200, Petri Laakso wrote:
[skipped]
The old versions of PySNMP (version 2.XX), seem to be a lot simpler to use than later ones, so I might do that. That's if I can work out how to
Recent versions 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 SNMP types don't seem to include floating point numbers. Maybe you're
decoding something defined by a TEXTUAL-CONVENTION at a MIB? The protocol
(for packing floating point value into some native SNMP type) might be
specified by the TC then.
If you provide more details I'm willing to help.
-ilya This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jp Calderone |
last post by:
Does anyone know of a high-level interface (something approximately on par
with the level of the other common GUI toolkits) for python-xlib?
Is anyone working on one?
Jp
--
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340
|
by: Stefan |
last post by:
I'm looking for some sort of tool that will allow me to present high
level pseudocode in a way that looks similar to the way XML is
presented in the browser. I would like to be able to collapse and
expand blocks of code (IFs, LOOPs, Functions, etc...). It must be
relatively easy to use as it will be used by people who have
relatively minimal technical knowledge.
Is there something like this out there?
Thanks,
|
by: Keith A. Rowe |
last post by:
Please direct me to unbiased resources that discuss the benefits of
implementing .NET in the enterprise. Some MS materials are okay, but I need
to quote nuetral third parties. I am a developer and appreciate the
improvements in productivity and performance, but I must now sell the
concept to a CIO.
I need this to be fairly high level and I need something other than "It's
the latest from Microsoft, therefore we must move to it."
I...
|
by: Montrose... |
last post by:
After working in c# for a year, the only conclusion I can come to is
that I wish I knew c.
All I need is Linux, the gnu c compiler and I can do anything.
Web services are just open sockets hooked up to interfaces.
The Gtk is more than enough gui.
|
by: York |
last post by:
Hi,
R language has very high-level IO functions, its read.table can read a
total .csv file and recogonize the types of each column. write.table can
do the reverse.
R's MySQL interface has high-level functions, too, e.g. dbWriteTable can
automatically build a MySQL table and write a table of R data
into it.
| |
by: Robert Ludewig |
last post by:
Hello,
I recently started to develop my own little high level, easy to use 3D API
on top of managed directx for .net. The idea behind it is having a generic
API that lets me create (simpler) 3D-applications in the shortest possible
time in .net.
It involves implementing things like a node structure for the scenegraph, a
console, device configuration manager etc. Just like we know it from other
APIs, like java3d or openinventor or from...
|
by: Support |
last post by:
Hello:
I am trying to learn about Aactive Directory in VB.NET and NT security, so
if you have any good resources/references, please let me know.
At a high level ... in VB.NET
If I am a member of a domain user group - what do I need to do in order to
assign read only rights to a file I created, to that group (effectively
shutting me out from being able to edit the file of course..)
|
by: Gleb Rybkin |
last post by:
I searched online, but couldn't really find a standard package for
working with Python and XML -- everybody seems to suggest different
ones.
Is there a standard xml package for Python? Preferably high-level, fast
and that can parse in-file, not in-memory since I have to deal with
potentially MBs of data.
Thanks.
|
by: George Sakkis |
last post by:
It occured to me that most times I read a csv file, I'm often doing
from scratch things like assigning labels to columns, mapping fields to
the appropriate type, ignoring some fields, changing their order, etc.
Before I go on and reinvent the wheel, is there a generic high level
wrapper around csv.reader that does all this ?
Thanks,
George
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |