Re: Help on IP-MIB to change IP address via SNMP set command
devel tech <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAFcNWF-TZ8npCcqEh52xPDVCuCSZ9hk41d=0KFdJ4jP6nU96fg@mail.gmail.com> |
Thanks for reply sir! sir! i was trying to change in IP-MIB.txt file of net-snmp mibs. i was trying to read-write in IP-MIB.txt file to change IP address via SNMPset command but that was not possible (I read your responses for the same issue on mailing list) and now i leave this task and now I am trying a very basic/ beginer level task. i followed net-snmp tutorial but unfortunately no success in the basic task. I will be very thankful to you if you guide me to start development in net-snmp. Let me to share what i want to do? 1. I installed snmpd and net-snmp agent in debian(ubuntu) and i want to load my own MIB (I change existing MIB of net-snmp and removed some objects like sysContct and sysLocation and change the name of MIB and save it at /usr/local/share/snmp/mibs and /root/.snmp/mibs paths), now i want to load it and how can i change in Agent of snmp so that it must use my-MIb file for objects like sysName . 2. 2nd thing that i want to after 1st task is to load a private MIB in net-snmp and what kind of code is required to inform Agent about chagnes or read new MIB? plz guide me.. i am new in development and sorry if i could not explain it properly. ------------------------------------------------------------------------------------------------------------------------------- On Wed, Aug 24, 2011 at 12:33 PM, Dave Shield <[email protected]>wrote: > On 24 August 2011 04:54, devel tech <[email protected]> wrote: > > I installed snmpd on my PC and net-snmp tool. i am using Debian(Ubuntu > 9.10) > > linux. > > I am able to read it but could not write because its Access is set to > > Read-only, > > First thing - what exactly are you trying to do? > And what exactly are you looking at? > Your comments so far have been somewhat vague: > "I am able to read it" - what is "it" here? > "its Access is set to read-only" - again, what is "it"? > Which particular MIB objects are you looking at? > > > The ipv4InterfaceTable (and the IPv6 equivalent) are mostly read-only, yes > (apart from the EnableStatus object, which is read-write, but not > read-create) > > But the ipAddressTable is specifically designed with the intention > of configuring > IP addresses for a given interface, and hence many of the objects are > read-create, > > > > as i searched and concluded that, no body can not change Standard/RFC MIB > > files which located at /usr/shares/snmp/mibs path. > > You shouldn't think of changing standard MIBs, no. > Possibly augment them, but don't change them, > But I'm not convinced that this is actually necessary. > > Dave > ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ 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