Re: Segmentation fault
François Dumont <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
In fact I used "i" option to set the paramater. But I tried with "=" and it's the same (Error in packet. Reason: undoFailed), and also with "u", it tells me that it is an INTEGER and not Unsigned32. In addition, I have these error messages while trying to set the parameter to 0, 2 or 3. When I try with 1, it succeeds because it is already its value. When I try with a number higher than 3, it fails (because it's not defined int the MIB) with "Error in Packet. Reason: (genError) a general failure occured". I thought my problem was in my python script or in the python library my script uses, but I think this is a general problem (because it also happens with a simple snmpset in command shell). Thank you for helping. 2009/7/16 Vincent Bernat <[email protected]> > OoO Lors de la soirée naissante du mercredi 15 juillet 2009, vers 17:34, > François Dumont <[email protected]> disait : > > > You say (Vincent Bernat) that it is a problem with my MIB module, and I > believe > > you. But I have installed an SNMP-based GUI (Loriot Pro), just to verify, > and I > > can modify these parameters... And the MIBs are the same. So, I am > wondering > > why ? > > Maybe the MIB module is very restrictive with the accepted input. If you > use "=" as type, you can try "i" or "u" instead : > snmpset -v 2c -c XXXXXX yourhost rvYYYYY i 5 > -- > No fortunes found > ------------------------------------------------------------------------------ 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