Problem with mib2c.iterate.conf

"Sridhar Addagada" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I ran into few problems when compiling my mib using
mib2c.iterate.conf.  Mentioned below is the sample of the table.

1.  The data structure that got generated  "sensorTable_entry" had
problem.  The sensorIndex was repeted twice.
struct sensorTable_entry {
    /* Index values */
    long            sensorIndex;

    /* Column values */
    long            sensorIndex;
    long            sensorSdrVersion;
    .....
....
}

SensorEntry ::= SEQUENCE {
    sensorIndex                             INTEGER,        -- 01
    sensorSdrVersion                        INTEGER,        -- 02
    sensorRecordType                        INTEGER,        -- 03
    sensorOwnerId                           INTEGER,        -- 04
    sensorOwnerLun                          INTEGER,        -- 05
    sensorNumber                            INTEGER,        -- 06
    sensorEntityId                          INTEGER,        -- 07
    sensorEntityInstance                    INTEGER,        -- 08
    sensorInitialization                    INTEGER,        -- 09
    sensorCapabilities                      INTEGER,        -- 10
    sensorType                              INTEGER,        -- 11
    sensorEvent                             INTEGER,        -- 12
    sensorAssertionEventMask                INTEGER,        -- 13
    sensorDeassertionEventMask              INTEGER,        -- 14
    sensorMask                              INTEGER,        -- 15
    sensorUnits                             INTEGER,        -- 16
    sensorBaseUnit                          INTEGER,        -- 17
    sensorModifierUnit                      INTEGER,        -- 18
    sensorLinearization                     INTEGER,        -- 19
    sensorM                                 INTEGER,        -- 20
    sensorTolerance                         INTEGER,        -- 21
    sensorB                                 INTEGER,        -- 22
    sensorAccuracy                          INTEGER,        -- 23
    sensorAccuracyExp                       INTEGER,        -- 24
    sensorRExp                              INTEGER,        -- 25
    sensorBExp                              INTEGER,        -- 26
    sensorCharacteristicFlags               INTEGER,        -- 27
    sensorNominalReading                    INTEGER,        -- 28
    sensorNormalMaximum                     INTEGER,        -- 29
    sensorNormalMinimum                     INTEGER,        -- 30
    sensorMaximumReading                    INTEGER,        -- 31
    sensorMinimumReading                    INTEGER,        -- 32
    sensorUpperNonRecoverableThreshold      INTEGER,        -- 33
    sensorUpperCriticalThreshold            INTEGER,        -- 34
    sensorUpperNonCriticalThreshold         INTEGER,        -- 35
    sensorLowerNonRecoverableThreshold      INTEGER,        -- 36
    sensorLowerCriticalThreshold            INTEGER,        -- 37
    sensorLowerNonCriticalThreshold         INTEGER,        -- 38
    sensorPositiveGoingThresholdHysteresis  INTEGER,        -- 39
    sensorNegativeGoingThresholdHysteresis  INTEGER,        -- 40
    sensorOem                               INTEGER,        -- 41
    sensorIdStringType                      INTEGER,        -- 42
    sensorIdString                          DisplayString,  -- 43
}


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.