Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102536

Re: snmpset

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Johannes Findeisen <mailman@hanez.org>
Newsgroups comp.lang.python
Subject Re: snmpset
Date Fri, 5 Feb 2016 18:20:27 +0100
Lines 40
Message-ID <mailman.3.1454693234.2317.python-list@python.org> (permalink)
References <CAAOM8FWHSa-kRZ9naaVK3L2g21oCcTXWj9iBua2mxwj+ENPqew@mail.gmail.com> <CAKJDb-PqJL5YZzojDpnxemKpZm4iGTQsP3hzYVUw5jOU7Cvong@mail.gmail.com> <CAPM-O+yQvv78w=Y5CiLaMPsX6_hJ-yae4df2S2ji6Dyusr1eSQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de zQqDDGHnZ5hhnT4Sjl3cWAFQ4skRoU7gFUWLxonZkEZA==
Return-Path <mailman@hanez.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'url:sourceforge': 0.03; '-0500': 0.07; 'api': 0.09; 'behavior,': 0.09; 'subclass': 0.09; 'url:)': 0.14; '2016': 0.16; 'all...': 0.16; 'pythonic': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'am,': 0.23; 'seems': 0.23; 'feb': 0.23; 'header :In-Reply-To:1': 0.24; 'example': 0.26; 'equivalent': 0.27; 'fri,': 0.27; 'too.': 0.30; 'url:mailman': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; 'skip:. 20': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset :us-ascii': 0.37; 'test': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'received:network': 0.61; 'success': 0.62; 'effective.': 0.66; 'received:195.42': 0.84; 'homepage': 0.91; 'joel': 0.91; 'ware': 0.91
In-Reply-To <CAPM-O+yQvv78w=Y5CiLaMPsX6_hJ-yae4df2S2ji6Dyusr1eSQ@mail.gmail.com>
X-Mailer Claws Mail 3.13.2 (GTK+ 2.24.29; x86_64-unknown-linux-gnu)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:102536

Show key headers only | View raw


On Fri, 5 Feb 2016 12:12:58 -0500
Joel Goldstick wrote:

> On Fri, Feb 5, 2016 at 11:10 AM, Zachary Ware <zachary.ware+pylist@gmail.com
> > wrote:  
> 
> > On Fri, Feb 5, 2016 at 9:16 AM, Matt <matt.mailinglists@gmail.com> wrote:  
> > > How do I do the equivalent of this in Python?
> > >
> > > snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.1.1.0 s test
> > >
> > > and
> > >
> > > snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.1.1.0 i 123
> > >
> > > and
> > >
> > > snmpbulkget -v2c -c $community -m ALL $ip .1.3.1.1.4.1.1.1.1.1.1.1.1
> > >
> > > and
> > >
> > > snmpget -v2c -c $community -m ALL $ip .1.3.1.1.4.1.1.1.1.1.1.1.2  
> >
> > I have had success with pysnmp (http://pysnmp.sourceforge.net/).  It
> > is far from a shining example of a Pythonic API and I don't envy you
> > if you should need to subclass something to change its behavior, but
> > it is effective.
> >
> > --
> > Zach
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >  
> 
> That page 404s for me

SourceForge seems to have problems at all... The Homepage is down too.

Johannes

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: snmpset Johannes Findeisen <mailman@hanez.org> - 2016-02-05 18:20 +0100

csiph-web