473,387 Members | 1,700 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,387 software developers and data experts.

SNMP agent

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 to all in advance

Alain

Apr 4 '07 #1
7 4393
alf
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 suggestion ?

Thanks to all in advance

Alain
twistedmatrix.org?
Apr 4 '07 #2
On Apr 4, 1:30 pm, alf <ask@mewrote:
twistedmatrix.org?
I already took a look at it but the agent functionality is somewhat
primitive. I need something production-ready.

Alain

Apr 4 '07 #3
In article <11**********************@b75g2000hsg.googlegroups .com>,
alain <al********@yahoo.frwrote:
>On Apr 4, 1:30 pm, alf <ask@mewrote:
>twistedmatrix.org?

I already took a look at it but 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
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.
Apr 5 '07 #4
On Apr 5, 6:50 pm, cla...@lairds.us (Cameron Laird) wrote:
In article <1175686451.614022.171...@b75g2000hsg.googlegroups .com>,

alain <alainpo...@yahoo.frwrote:
On Apr 4, 1:30 pm, alf <ask@mewrote:
twistedmatrix.org?
I already took a look at it but 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
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.
Hi Cameron,

Thanks for the information.
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 and not real apps?

Alain

Apr 6 '07 #5
In article <11**********************@p77g2000hsh.googlegroups .com>,
alain <al********@yahoo.frwrote:
Apr 6 '07 #6
cl****@lairds.us (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 environment for
a while. Only the manager side, never tried to implement an agent. It's
pure python, so it's very portable. In theory, that also means it's not
very fast, but for what I've ever wanted it for, it was plenty fast enough.

The latest NetSNMP release apparently now includes a python binding
(http://www.net-snmp.org/docs/NEWS.html). I have not had a chance to use
it, but it sounds good.
Apr 7 '07 #7
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/exampl...nt/cmdrsp.html
I have a Python app and i would like to add someSNMPagent
functionality to it.
Apr 9 '07 #8

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

Similar topics

1
by: Gionni | last post by:
Is it possible to send a snmp trap from vb6? Are there any free (or cheap) libreries? Specifically I have to send a trap to OpenView. Thanks and cheers, Gionni
1
by: Gionni | last post by:
Hello everyone, I have to send a snmp trap. I have a snmp manager (Openview) and I have started the Windows agent. Now I don't know what to do anymore. I believe I have to use the snmpapi.dll,...
2
by: TiToine | last post by:
Hi, I'am using the SnmpMgrOpen() api function. ####################################################################### LPSNMP_MGR_SESSION SnmpMgrOpen( LPSTR lpAgentAddress, // name and...
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
0
by: ramgce2003 | last post by:
Dear all... We have an NMS Software(Created by using GUI(Window) based application in VC++) already used to comminicate to our SNMP Agent Note::: 1. Consider NMS Software(actas a client)...
0
by: vanisathish | last post by:
Hi, I need to develop a web-based NetworkManagement Software on windows platform(planning to use ASP,HTML ). The Networking devices provide support for SNMP. Is there a way i can construct...
8
by: chinnakanna | last post by:
hi friends, i have a dought regarding snmp agent anf snmpc manager. environment for running an agent is Linux. ad snmpc manager is on Windows. i installed SNMPc manager in windows. and i am...
2
by: rahulmisra | last post by:
Hi, I am new to SNMP and am currently required to design an SNMP based NMS. SNMPv2 has a predefined number of messages that can be sent to an agent (like get,getnext,getbulk,set etc.). Is there a...
1
by: Dirk Van de moortel | last post by:
{ OOPS, posted this to moderated group perl.cpan.discuss as well, so it can take a while to get through, if it gets through at all Otherwise sorry for duplicate posting } We need to set up a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
marktang
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,...
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...

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.