CNelson: Exactly! In the case of SNMP however, the NMS has to know which OID to use to get or set some item of data. The NMS must know the name (OID) of that data. You are not allowed to use an OID to refer to two (or more) different data items. There is a one-to-one correspondence between OID and data. There may, however, be a one to many relationship between data and OID's.
So, to reverse the question you asked, "Can you tell me where is William Buckley?" can never have a proper result if you are thereafter directed to speak with someone other than me. This is the point. So, I expect that Dave is suggesting that you write another MIB, and tie its OID's to the data item for which you desire to have different names. Of course, this means that you will need to provide a new MIB to the NMS, and the NMS user will need to use the OID of the new MIB to get the suggested data. Hence, the agent is not able to receive a varbind for OID .8.7.56.45.4 and return the data item corresponding to OID .2.6.5.7.9, and more to the point, this is not the way that SNMP is designed to work. Sure, you could corrupt the agent, rewriting the service routines for get/set operations on OID .2.6.5.7.9 such that it accesses the data item corresponding to OID .8.7.56.45.4 but, then the agent would not support the MIB. William R. Buckley > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 01, 2004 10:17 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: RE: Redirection? > > > > Basically, there is no requirement that an object have a unique > > OID, while > > there is a requirement that each OID correspond uniquely to one > > object. > > Analogously, you can be known by several names, while you are just one > > person. Some people call me William, some call me Bill, and some call > > me by names not so flatering but, I am still the same person. > > > > This is Dave's point. > > I'm not sure I follow. Let me try to strain this analogy to the braking point: if I > went to a party where you and some > of your friends were hanging out, I might ask one of them, "Can you tell me where > William Buckley is?" and they might > say, "Bill is over there." They know that Bill and William are the same person but > I don't have to know that to find you. > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ 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
