On 20/02/2008, Vishal N <[EMAIL PROTECTED]> wrote:
> Can we define array in MIB file?

Yes.
They are called "tables".


> I have a requirement in which I have 15 ports which has value true/false
> i.e. active/inactive. I have to provide these values by agent to NMS. Is it
> possible to declare single array object?

Yes.
Something like:

   portTable
      portEntry
         portIndex
         portStatus   (active, inactive)



> Or do I have to use table?

A table *is* an array.

> What is correct way to define such objects?

As a table.

Dave

PS: Can you please send queries to the -users list *or*
       the -coders list.   Not both!   Thanks

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to