RE: Supporting ROW CREATION
Vinod Nanjaiah <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <174230991E95D743B0C91DF471EF44E843606EFD2A@MTW02MSG02.mindtree.com> |
Hi Dave,
Actually I have made some progress and am stuck with a different problem now.
After adding a RowStatus variable to my table in the MIB file, I see that ROW CREATION is supported.
But I am unable to add new rows to the table through snmpset.
When I try snmpset for a new row, it fails and gives an error.
snmpset -v2c -cdemo localhost vpnIndex.2 i 2 vpnName.2 s 'admin' vpnPIN.2 i 1111 vpnGroup.2 i 1 vpnDefaultUser.2 i 1 vpnGrpStatus.2 i 4
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: DVR-SYS-GRP::dvrUserIndex.2
I have defined the following variables in MIB file.
VpnGrpEntry ::= SEQUENCE {
vpnIndex InterfaceIndex,
vpnName DisplayString,
vpnPIN Integer32,
vpnGroup Integer32,
vpnDefaultUser Integer32,
vpnUserDel Integer32 -- (MAX-ACCESS not-accessible)
vpnGrpStatus RowStatus
}
Regards,
Vinod
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield
Sent: Tuesday, April 14, 2009 1:09 PM
To: Vinod Nanjaiah
Cc: [email protected]
Subject: Re: Supporting ROW CREATION
2009/4/13 Vinod Nanjaiah <[email protected]>:
> I am using mib2c to generate code based on MFD conf file (mib2c.mfd.conf).
> The README file mentions "This table does not support ROW CREATION".
What is the MIB definition of the table?
The MfD mib2c template will automatically generate code for row creation
if the MIB definitions allow this. The fact that the README file contains
the text above implies that the MIB table probably doesn't allow the
creation of new rows.
Dave
http://www.mindtree.com/email/disclaimer.html
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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