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


Groups > comp.lang.python > #102534

Re: snmpset

From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Subject Re: snmpset
Date 2016-02-05 12:14 -0500
Message-ID <mailman.1.1454692843.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>

Show all headers | View raw


On Fri, Feb 5, 2016 at 12:12 PM, Joel Goldstick <joel.goldstick@gmail.com>
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.
>

Pardon me, looks like sourceforge is down

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



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

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


Thread

Re: snmpset Joel Goldstick <joel.goldstick@gmail.com> - 2016-02-05 12:14 -0500

csiph-web