Re: Segmentation fault

François Dumont <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi everybody,

Now that I don"t have the library problem anymore, I have some trouble to
set 2 parameters in my table. Here is my python script :
http://pastebin.ca/1490519. I repeat all the parameters with their type :

rbQoSProfileName : OCTET_STRING
rbQoSProfileType : INTEGER
rbQoSProfileParam1 : INTEGER
rbQoSProfileParam2 : INTEGER
rbQoSProfileParamTime : INTEGER
rbAQoSProfileRowStatus : INTEGER

First of all, these types are given by the MIB, but when I print them in my
python script with :

value = "rbQoSProfileName"
> print(type(value))
>
> value = "rbQoSProfileType"
> print(type(value))
>
> value = "rbQoSProfileParam1"
> print(type(value))
>
> value = "rbQoSProfileParam2"
> print(type(value))
>
> value = "rbQoSProfileParamTime"
> print(type(value))
>
> value = "rbAQoSProfileRowStatus"
> print(type(value))
>

It returns for all :

<type 'str'>
>

So my first question is why ?

Secondly, for the parameters rbQoSProfileType and rbQoSProfileParamTime, the
value is always 0 and I can't change it. Why ? Here is the extraxt of the
MIB which deals with these parameters.

Thank you very much

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.