Use "mib2c.user-array.conf" if data is sorted and maintained in agent
code.

Use "mib2c.iterate_access.conf" if data is not sorted and not maintained
in agent code.

-JP

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Praveen2 K
Sent: Friday, August 31, 2007 4:07 PM
To: net-snmp-users
Subject: NET-SNMP - Table - which CONFIG file to be used for compilation

 


Hi All, 

I am new to NET-SNMP and I want to compile the tabular object given
below. Out of the entries in it, SwitchPortAdminStatus,
SwitchPortVlanState, SwitchPortVlanID are Read-Write, rest all are
read-only. 
I would like to know how to compile it, which CONFIG file to be used -
mib2c.mfd.conf / mib2c.user-array.conf / mib2c.iterate.conf /
mib2c.create-dataset.conf / mib2c.iterate_access.conf. 
Could you please help me out.. 

SwitchPortTable OBJECT-TYPE 
    SYNTAX        SEQUENCE OF SwitchPortEntry 
    MAX-ACCESS        not-accessible 
    STATUS        current 
    DESCRIPTION 
        "A table containing information of Ports of Ethernet switch " 
    ::= { Switch 4 } 

SwitchPortEntry OBJECT-TYPE 
    SYNTAX        SwitchPortEntry 
    MAX-ACCESS        not-accessible 
    STATUS        current 
    DESCRIPTION 
        "An entry containing a process  and its statistics." 
    INDEX        { SwitchPortIndex } 
    ::= { SwitchPortTable  1 } 

SwitchPortEntry  ::= SEQUENCE { 
    SwitchPortIndex        Integer32, 
    SwitchPortDescr        DisplayString, 
    SwitchPortDuplexity     Integer32, 
    SwitchPortSpeed         Gauge32, 
    SwitchPortAdminStatus   INTEGER, 
    SwitchPortOperStatus      INTEGER, 
    SwitchPortVlanState         INTEGER, 
    SwitchPortVlanID         Integer32, 
    SwitchPortInOctets      Counter32, 
    SwitchPortInErrors      Counter32, 
    SwitchPortOutOctets  Counter32 
   


Thanks-in-advance, 

Praveen. K
-----------------
"Once you start a working on something, don't be afraid of failure and
don't abandon it. People who work sincerely are the happiest."   -
Chanakya (350 BC - 275 BC) 



***********************  Aricent-Unclassified   *********************** 

"DISCLAIMER: This message is proprietary to Aricent and is intended
solely for the use of 
the individual to whom it is addressed. It may contain privileged or
confidential information and should not be 
circulated or used for any purpose other than for what it is intended.
If you have received this message in error, 
please notify the originator immediately. If you are not the intended
recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of
this message. Aricent accepts no responsibility for 
loss or damage arising from the use of the information transmitted by
this email including damage from virus."

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.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

Reply via email to