Re: Translating pysnmp oids to human readable strings

2009-03-07 Thread SpamMePlease PleasePlease
On Sat, Mar 7, 2009 at 8:33 PM, wrote: > SpamMePlease PleasePlease wrote: >> On Fri, Mar 6, 2009 at 2:14 PM, Shantanu Joshi >> wrote: >> > >> > SpamMePlease PleasePlease writes: >> > >> >> I actually tried to load the new file wit

Re: Translating pysnmp oids to human readable strings

2009-03-07 Thread SpamMePlease PleasePlease
On Fri, Mar 6, 2009 at 2:14 PM, Shantanu Joshi wrote: > > SpamMePlease PleasePlease writes: > >> >> I actually tried to load the new file with following code: >> >> print builder.MibBuilder().getMibPath() >> mibBuilder = builder.MibBuilder().loadModules(&#x

Re: Translating pysnmp oids to human readable strings

2009-03-06 Thread SpamMePlease PleasePlease
On Fri, Mar 6, 2009 at 11:37 AM, SpamMePlease PleasePlease wrote: > On Fri, Mar 6, 2009 at 9:03 AM, Shantanu Joshi wrote: >> >> SpamMePlease PleasePlease writes: >> >>> On Fri, Mar 6, 2009 at 6:56 AM, Shantanu Joshi >>> wrote: >>>> You n

Re: Translating pysnmp oids to human readable strings

2009-03-06 Thread SpamMePlease PleasePlease
On Fri, Mar 6, 2009 at 9:03 AM, Shantanu Joshi wrote: > > SpamMePlease PleasePlease writes: > >> On Fri, Mar 6, 2009 at 6:56 AM, Shantanu Joshi >> wrote: >>> You need to parse the MIB file to get the human-readable names >>> corresponding to the OIDs. T

Re: Translating pysnmp oids to human readable strings

2009-03-05 Thread SpamMePlease PleasePlease
On Fri, Mar 6, 2009 at 1:10 AM, birdsong wrote: > On Mar 5, 2:30 pm, SpamMePlease PleasePlease > wrote: >> On Thu, Mar 5, 2009 at 10:12 PM, birdsong wrote: >> > On Mar 5, 1:05 pm, birdsong wrote: >> >> On Mar 5, 12:32 pm, SpamMePlease PleasePlease

Re: Translating pysnmp oids to human readable strings

2009-03-05 Thread SpamMePlease PleasePlease
On Fri, Mar 6, 2009 at 6:56 AM, Shantanu Joshi wrote: > You need to parse the MIB file to get the human-readable names > corresponding to the OIDs. The pysnmp library already provides this > functionality. I haven't used this feature myself (I mainly use pysnmp > to automate SNMP walk requests, li

Re: Can Python do shopping cart?

2009-03-05 Thread SpamMePlease PleasePlease
On Thu, Mar 5, 2009 at 11:30 PM, Muddy Coder wrote: > Hi Folks, > > I know PHP can do shopping cart, such as Zen Cart. I wonder can Python > do such a thing? Thanks! > > > > Muddy Coder > -- > http://mail.python.org/mailman/listinfo/python-list > Python can do that and a lot more! For this purpos

Re: Translating pysnmp oids to human readable strings

2009-03-05 Thread SpamMePlease PleasePlease
On Thu, Mar 5, 2009 at 10:12 PM, birdsong wrote: > On Mar 5, 1:05 pm, birdsong wrote: >> On Mar 5, 12:32 pm, SpamMePlease PleasePlease >> >> >> >> wrote: >> > Hey list, >> >> > I was given a task, to reproduce functionality of command s

Translating pysnmp oids to human readable strings

2009-03-05 Thread SpamMePlease PleasePlease
Hey list, I was given a task, to reproduce functionality of command specified below by writing proper python functions to reuse in some monitoring script: rivendell# snmpwalk -Os -mALL -v1 -cgabilgathol 10.0.6.66 .1.3.6.1.4.1.2636.5.1.1.2 jnxBgpM2PeerIdentifier.0.ipv4."".unknown."".0.1.38.101.87.