Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102534
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: snmpset |
| Date | Fri, 5 Feb 2016 12:14:16 -0500 |
| Lines | 53 |
| 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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de POcviE4Pyp2S3/fnAzbZFgr84ewN9dQWKWV7lTFZYBBw== |
| Return-Path | <joel.goldstick@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'url:sourceforge': 0.03; 'api': 0.09; 'behavior,': 0.09; 'subclass': 0.09; 'url:)': 0.14; '2016': 0.16; 'pythonic': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; '>': 0.18; 'email addr:gmail.com>': 0.18; 'python?': 0.18; 'to:name:python- list@python.org': 0.20; 'am,': 0.23; 'feb': 0.23; 'header:In- Reply-To:1': 0.24; 'example': 0.26; 'equivalent': 0.27; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'looks': 0.29; 'url:mailman': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; 'received:google.com': 0.35; 'skip:. 20': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'test': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'success': 0.62; 'effective.': 0.66; 'pardon': 0.84; 'joel': 0.91; 'ware': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UD6U9kkjuv6WsvjtLfH6n+J1DLdDp09twCeHmvUgF3Q=; b=ch1DrQBt7O8Q2J+gibt/SAcQY/JKxOXUi1nTbw1j0IkD9pKD03UkPwFOehmnIbbi5k aogydryvRohkQpiMPDV0HYzd42rSSpkODoMh8BDPcTg93qdyx1XH2G/yP2Yk65lj8fsk 952trQ7aRc1MmiDZPF58m1Z/EpAoj63tssKtGipa2RgHRkfxqVcf7uGiMJTGmkhIlNca JGqJ1zda+yR+/02pcJe78XhCbrK3vsECVLe2Ht8/E+t5zq4aRhU3PWz06uvQ/iF8Kq3a DcLPCzzw8vh0Lhx6T7/jNWq5ZM9tCbytDOom2F9Zhp14Iu7DeBPcXMX1v+HV5WwIchsq eOJQ== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=UD6U9kkjuv6WsvjtLfH6n+J1DLdDp09twCeHmvUgF3Q=; b=E6xvSlinOsuoGwa3fGoOb8fUPJdGcr6muUTWN/nwwddoCOXWtcqDCPmQblHdfpY2Sm lbpUYg11PVzOeuGWvDHci+qTOXmVk6pj5MtKgl1ruN5mpBwvtn7SsM/3cMkaf4xSzs9z W/HbDp4oSR1N3NRO3axWjeET/NvTopVCP1SiH4SrPt33p2qnntbZ6uzSdIPIfQCDVRFO ZDwPdkdvHcfpElj4yOvtcm6DcfC2wN/4WbGiHALhbWfWR1+/gOubTVV9KmOMf3Dk49qW IhRDWe6Gl+aMoGyGyL9tCCqd1kLlLxuw6aTkdIor0YEf629t5VxK7QjcyXv+be/afBi2 oJfA== |
| X-Gm-Message-State | AG10YOSoLh1d/4/WK4bJfgkL0JrBSUAMSUvUjT7lAutUo53GSxXhOJKH1SV+vCSe3lSDaTfnpRGpsnuS4dGCeg== |
| X-Received | by 10.50.142.40 with SMTP id rt8mr16488465igb.28.1454692456719; Fri, 05 Feb 2016 09:14:16 -0800 (PST) |
| In-Reply-To | <CAPM-O+yQvv78w=Y5CiLaMPsX6_hJ-yae4df2S2ji6Dyusr1eSQ@mail.gmail.com> |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.21rc2 |
| 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:102534 |
Show key headers only | 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
Re: snmpset Joel Goldstick <joel.goldstick@gmail.com> - 2016-02-05 12:14 -0500
csiph-web