i want to know what is the conf file i should use to
generate the code using mib2c for the following table?
I tried using dataset.conf , it did not generate much.
i have to iniliaze manually all the entries.


---------------------------------------------------------------------------
-- Clusters Table
-- A view of Clusters and their interfaces
---------------------------------------------------------------------------
prominenceMibDataClusterTable OBJECT-TYPE
SYNTAX SEQUENCE OF ClusterEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"table of all MediaIP Clusters"
::= { prominenceMibData 2 }

ClusterEntry OBJECT-TYPE
SYNTAX ClusterEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
" A Server is a media director, media
controller, or
any other Server introduced into the network
by
prominence networks. A Cluster is a redundant
pair
of Servers"
INDEX { ClusterIPAddress }
::= { prominenceMibDataClusterTable 1 }

ClusterEntry ::=
SEQUENCE {
ClusterIPAddress
IpAddress
ClusterName
DisplayString,
ClusterType
INTEGER,
ClusterState
INTEGER,
}

ClusterIPAddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Cluster ip address"
::= { ClusterEntry 1 }

ClusterName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..50))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Name of Cluster"
::= { ClusterEntry 2 }

ClusterType OBJECT-TYPE
SYNTAX INTEGER {
MD(1) ,
MC(2)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates type of Cluster. MD is Media Director
MC is media Controller"
::= { ClusterEntry 3 }

ClusterState OBJECT-TYPE
SYNTAX INTEGER {
INITIALIZING(0),
UPPENDING(1),
DOWNPENDING(2),
UP(3),
DOWN(4),
HALTED(5),
UNDERMAINTENANCE(6),
UNREGISTERING(7)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Cluster state"
::= { ClusterEntry 4 }


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders