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


Groups > comp.lang.python > #102528 > unrolled thread

Re: snmpset

Started byZachary Ware <zachary.ware+pylist@gmail.com>
First post2016-02-05 10:10 -0600
Last post2016-02-05 10:10 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: snmpset Zachary Ware <zachary.ware+pylist@gmail.com> - 2016-02-05 10:10 -0600

#102528 — Re: snmpset

FromZachary Ware <zachary.ware+pylist@gmail.com>
Date2016-02-05 10:10 -0600
SubjectRe: snmpset
Message-ID<mailman.13.1454688679.19407.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web