snmpset

Joel Goldstick joel.goldstick at gmail.com
Fri Feb 5 12:12:58 EST 2016


On Fri, Feb 5, 2016 at 11:10 AM, Zachary Ware <zachary.ware+pylist at gmail.com
> wrote:

> On Fri, Feb 5, 2016 at 9:16 AM, Matt <matt.mailinglists at 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

-- 
Joel Goldstick
http://joelgoldstick.com/stats/birthdays


More information about the Python-list mailing list