--> Smurphy has joined #net-snmp
--> pignon has joined #net-snmp
--> Smurphy has joined #net-snmp
--> hardaker has joined #net-snmp
[2009/07/03 07:42:58] #net-snmp <pignon> Hi everybody :)
[2009/07/03 07:44:02] #net-snmp <pignon> I'm trying to do a snmpset with a python script but it gives me a segmentation fault :/ with snmpwalk, I have myvariable = None (None)
[2009/07/03 07:44:10] #net-snmp <pignon> can someone help me please ?
[2009/07/03 07:44:15] #net-snmp <pignon> thanks a lot
[2009/07/03 07:49:03] #net-snmp <pignon> here is the thing : http://pastebin.ca/1483052
[2009/07/03 07:50:51] #net-snmp <rstory> pignon: can you set the same object ok using snmpset?
[2009/07/03 07:51:36] #net-snmp <pignon> no
[2009/07/03 07:52:07] #net-snmp <pignon> but other variables that are not turple (like integer or string) can be get and set
[2009/07/03 07:52:19] #net-snmp <pignon> this problem happen only with turple
[2009/07/03 07:53:00] #net-snmp <pignon> I can't get and set these objects
[2009/07/03 07:53:13] #net-snmp <pignon> and I don't understand why :/
[2009/07/03 07:55:41] #net-snmp <pignon> any other idea ?
[2009/07/03 07:57:51] #net-snmp <rstory> well, the underlying type is an integer.. so if it's a bug in dealing with parsing the mib, you could try not loading the mib and using numeric oids and see if that helps..
[2009/07/03 07:58:49] #net-snmp <rstory> but if get/set works from the command line, then it's a bug in the python bindings... and the coders list is probably your best resource.. i don't think we've got any python users hanging out here..
[2009/07/03 07:59:08] #net-snmp <pignon> yes it works in command line
[2009/07/03 07:59:57] #net-snmp <pignon> I have sent an email to the net-snmp-users list this morning
[2009/07/03 08:06:45] #net-snmp <pignon> with the numeric oid it's the same :/
[2009/07/03 08:07:59] #net-snmp <rstory> but did you disable mib loading
[2009/07/03 08:08:00] #net-snmp <pignon> and I know this object can be get/set because I have tried with a SNMP-based GUI and it works
[2009/07/03 08:08:03] #net-snmp <pignon> yes
[2009/07/03 08:08:19] #net-snmp <pignon> if # comment the line, then yes
[2009/07/03 08:09:37] #net-snmp <pignon> the configuration file for mibs is empty and it's the same, doesn't works
[2009/07/03 08:09:41] #net-snmp <pignon> work*
[2009/07/03 08:19:40] #net-snmp <pignon> I have tried to look if my variable was "None" but it's not
[2009/07/03 08:20:07] #net-snmp <pignon> even if I get myvariable = None (None)
--> kisielk has joined #net-snmp
--> Hobart has joined #net-snmp
--> hardaker2 has joined #net-snmp
--> hardaker has joined #net-snmp
--> snmpbot has joined #net-snmp