? Agent++ & MIB

Kumar, Vinay 2 Vinay____barco.com
Mon May 28 06:40:32 CEST 2001


Hi,

Thanks.

But i'm still not clear.

=>
i've added all the columns<COL> before creating the row<ROW> & my every row
contains all the columns.
the problem which i'm facing is that from the source code i acheive OID =
1.3.6.1.4.1.555.55.1.<COL>.<ROW>, 
for example:
	i've added 5 columns[0..4]	=> <COL>
	thereafter, i've added 2 rows[0,1]	=> <ROW>
	then add this MibTable to the Mib

the OID which is authenticating now when i'm sending request to the Agent is
[1.3.6.1.4.1.555.55.1.<COL>.<ROW>]
i think this is the only way by which we can access the columns <COL> in a
Table.

=>
if the above point is right
?????....then how do i acheive the same
structure[1.3.6.1.4.1.555.55.1.<COL>.<ROW>] through the MIB

i've design the MIB also, but when we write
	ifEntry	OBJECT-TYPE
		SYNTAX	IfEntry
		ACCESS	not-accessible
		STATUS	mandatory
		DESCRIPTION  "ROW"
		INDEX { col1 }	
		::= { ifTable 1 }	
-- when we write the above statement the structure of Table OID =
[1.3.6.1.4.1.555.55.1.<ROW>]
-- and since i've to add columns after that, the structure of OID =
[1.3.6.1.4.1.555.55.1.<ROW>.<COL>]
-- instead of [1.3.6.1.4.1.555.55.1.<COL>.<ROW>]
-- or this is the way we show the Table in the MIB

for example :

if i want to access the value of column5, of row0
then i've to give the OID = 1.3.6.1.4.1.555.55.1.5.0
[1.3.6.1.4.1.555.55.1.<COL>.<ROW>]
to validate it from the Agent & to access the value.

?????...am i able to see this OID in my MIB [OID = 1.3.6.1.4.1.555.55.1.5.0]

Pl. suggest.

Thanks & regards.

VINK


-----Original Message-----
From: Jochen Katz [mailto:katz____agentpp.com]
Sent: Saturday, May 26, 2001 4:29 PM
To: Kumar, Vinay 2
Cc: 'agentpp-dl____agentpp.com'
Subject: Re: ? Agent++ & MIB


Hi,


> 3. After adding all the columns, i've added the rows
> Statements: add_row (numRow) where numRow [0..255]

numRow is the index of the row and not limited to 0...255 if not
rescricted through the MIB.

> in my implementation,   OID = 1.3.6.1.4.1.555.55.1.<COL>.<ROW>  -- Agent
is
> accepting requests from this OID structure
> in my MIB,              OID = 1.3.6.1.4.1.555.55.1.<ROW>.<COL>  -- ???
> 
> how do i show the structure which i've implemented in my source in the MIB
> (SMIv1)

You have to see the difference between the definition of the MIB
(where you get the information which columns each row must have, but
no rows are actually created) and the API of agent++ (which needs to
know which columns do exist before rows can be created).

Best regards,
  Jochen



More information about the AGENTPP mailing list