Re: snmpset -z option

2009-07-08 Thread Wes Hardaker
> On Tue, 7 Jul 2009 17:43:06 -0600, chinmaya said: c> It seem like somewhere in between version 5.2.1.2 and 5.4.2.1 c> snmp_sess_init was updated to disable engine id probe (session->flags c> |= SNMP_FLAGS_DONT_PROBE;), as a result of snmpv3_engineID_probe does c> nothing, just returns The

Problem initializing table create with create-dataset

2009-07-08 Thread niepa inter
Hi, I have the following MIB and I am trying to populate some of the variables(prtGeneralCurrentLocalization) let say with some values (30). I have used mib2c and create-data-set to generate the code's skeleton. Before compiling and running the subagent: if I do a snmpwalk on prtGeneralTable as

mib2c.raw-table.conf

2009-07-08 Thread May The Dog
can anyone tell me where I can find mib2c.raw-table.conf? Regards, May -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applic

Re: Segmentation fault

2009-07-08 Thread Vincent Bernat
OoO Lors de la soirée naissante du mercredi 08 juillet 2009, vers 18:50, François Dumont disait : > Two information to add to my problem : > First, I didn't notice that, but the problem appears only with enumerated > types. > Secondly, I have debugged the script with pdb and it shows that it cra

Re: Segmentation fault

2009-07-08 Thread François Dumont
Two information to add to my problem : First, I didn't notice that, but the problem appears only with enumerated types. Secondly, I have debugged the script with pdb and it shows that it crashes in the file client.py when putting the type (INTEGER) into a list called self.__dict__ (line 60 of thi

Re: Segmentation fault

2009-07-08 Thread François Dumont
So, first this shell command : snmpget -v 2c -c private 10.0.0.1 rbQoSProfileType.25 and the result : RAINBOW-SERVICES-MIB::rbQoSProfileType.25 = INTEGER: rbRT(1) Then : snmpget -v 2c -c private 10.0.0.1 rbQoSProfileType.24 and the result : Error in packet > Reason: (genError) A general f

Re: Segmentation fault

2009-07-08 Thread Dave Shield
2009/7/8 François Dumont : > I confirm that with this script (there is nothing else in the script except > this) : > >>    import netsnmp >> >>    profileNb = "25" >>    qosType = "0" >>    value = "rbQoSProfileType" >> >>    oid = netsnmp.Varbind(value, profileNb, qosType) >>    result = netsnmp.s

Re: Segmentation fault

2009-07-08 Thread François Dumont
I confirm that with this script (there is nothing else in the script except this) : import netsnmp > >profileNb = "25" >qosType = "0" >value = "rbQoSProfileType" > >oid = netsnmp.Varbind(value, profileNb, qosType) >result = netsnmp.snmpget(oid, DestHost = "10.0.0.1", Communi

Re: Segmentation fault

2009-07-08 Thread Dave Shield
2009/7/8 François Dumont : > This is the initial GET that crashes. OK - it sounds as if a trivial script with *just* a single GET request should still crash. Nothing else - no prompting, no SET requests, nothing. Just something like: import netsnmp profileNb = "25" qosType = "0"

Re: Segmentation fault

2009-07-08 Thread François Dumont
This is the initial GET that crashes. In fact, I noticed that before, but I used snmpwalk instead with the following line : print("Type = %s") %(result, ) and it printed : rbQoSProfileType 25 = None ( None ) I am wondering why a GET crashes while a WALK doesn't (but doesn't give the correct ans

Re: Segmentation fault

2009-07-08 Thread Dave Shield
2009/7/8 François Dumont : > I reduced the python script to this : > >> qosType = raw_input("Enter the new type (0 = rbCG, 1 = rbRT, 2 = rbNRT, 3 >> = rbBE) :\n") >> value = "rbQoSProfileType" >> oid = netsnmp.Varbind(value, profileNb, qosType) >> resultSet = netsnmp.snmpset(oid, DestHost = "10.0.0

Re: Segmentation fault

2009-07-08 Thread François Dumont
2009/7/8 Dave Shield >[ First - *please* don't mail me privately, without copying > any responses to the mailing list. I don't have the time > or inclination to offer private, unpaid, SNMP consultancy. > Keep discussions to the list, where others can both learn > and offer ad

Fixed OID indexes? How to configure net-snmp fo it?

2009-07-08 Thread Marek VANCO
Hello to all, I get my informations about disk (.1.3.6.1.4.1.2021.13.15.1.1) from net-snmp v5.4.1. But I have a problem with MIB indexes! After some time, a new MIB index of diskIODevice.x (new volume) was discovered in MIB disk Table (.1.3.6.1.4.1.2021.13.15.1.1.2.x) (and they shift some inde

RE: DisMan doesn't trigger a event.

2009-07-08 Thread 김은영
Thank you! I've got what I wanted. Catherine -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, July 03, 2009 5:17 PM To: 김은영 Cc: net-snmp-users@lists.sourceforge.net Subject: Re: DisMan doesn't trigger a event.

RE: error msg: No support for requested transport domain "tcp"

2009-07-08 Thread XIANG Lei
thanks for your help. And please see my answer below. -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: 2009年7月8日 15:36 To: XIANG Lei Cc: net-snmp-users@lists.sourceforge.net; net-snmp-cod...@lists.sourceforge.net Subj

Re: my FreeBSD SNMP IP-MIB(4293) problem

2009-07-08 Thread Dave Shield
2009/7/7 Mike Ayers >> I am SJ Chen and I have installed net-snmp-5.4.2.1 on my >> FreeBSD plaftform. >> >> But what I have found for IP-MIB is the old 2465 not 4293 >        Try rebuilding with '--with-mib-modules="ip-mib/ipv6InterfaceTable"'. Better would be to rebuild using: --with-out-m

Re: Unknown user name

2009-07-08 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2009/7/

Re: error msg: No support for requested transport domain "tcp"

2009-07-08 Thread Dave Shield
2009/7/7 XIANG Lei : >    I met a problem in the recent use of net-snmp, the version is 5.2.0. Is this a version you compiled yourself, or a vendor-supplied one? In either case - more details would be useful. Also note that 5.2.0 is a relatively old version, and is not even the most recent (or

Re: Segmentation fault

2009-07-08 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2009/7/