Need To add Cpacket support for Mib support

CPACKET-SNMP-MIB-REF2 DEFINITIONS ::= BEGIN

– cPacket MIB objects

IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, enterprises, TimeTicks, Integer32, Counter64, NOTIFICATION-TYPE FROM SNMPv2-SMI
MODULE-COMPLIANCE, NOTIFICATION-GROUP, OBJECT-GROUP FROM SNMPv2-CONF
ifIndex FROM IF-MIB
DisplayString FROM SNMPv2-TC;
cpacketSnmp MODULE-IDENTITY
LAST-UPDATED “201610030000Z”
ORGANIZATION “www.cpacket.com
CONTACT-INFO
“Postal:cPacket Networks
2130 Gold Street
suite 200
San Jose, CA 95002
email: [email protected]
DESCRIPTION
“cPacket Networks proprietary MIB module”
REVISION “201610030000Z”
DESCRIPTION “Added portdisplayid”
REVISION “201607190000Z”
DESCRIPTION “Updated Cpacket Address”
REVISION “201501120000Z”
DESCRIPTION “Added Counters Table”
REVISION “201409220000Z”
DESCRIPTION “Added Lost Packets and link up/down Notifications.”
REVISION “201401130000Z”
DESCRIPTION “Added Notifications.”
REVISION “201209131200Z”
DESCRIPTION “First draft”
::= { cpacket 1}

– top level structure and definitions

cpacket OBJECT IDENTIFIER ::= { enterprises 37220 }
cpacketCVU OBJECT IDENTIFIER ::= { cpacketSnmp 1 }
cpacketProducts OBJECT IDENTIFIER ::= { cpacketSnmp 2 }
cpacketNotifications OBJECT IDENTIFIER ::= { cpacketCVU 0 }
cpacketSysInfo OBJECT IDENTIFIER ::= { cpacketCVU 1 }
cpacketMIBConformances OBJECT IDENTIFIER ::= { cpacketCVU 2 }
cpacketSysCounters OBJECT IDENTIFIER ::= { cpacketCVU 3 }
cpacketNotificationObjects OBJECT IDENTIFIER ::= { cpacketNotifications 1 }
cpacketMIBConformance MODULE-COMPLIANCE
STATUS current
DESCRIPTION “Compliance statement for this MIB”
MODULE – Module CPACKET_SNMP_MIB
MANDATORY-GROUPS {
cpacketGetOrSetObjectsGroup,
cpacketNotificationObjectsGroup,
cpacketNotificationGroup
}
::= { cpacketMIBConformances 1 }
cpacketSysDescr OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION “The system description”
::= { cpacketSysInfo 1}
cpacketSysUpTime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION “The time since last re-initialized”
::= { cpacketSysInfo 2}
cpacketSysContact OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION “The contact information for this system”
::= { cpacketSysInfo 3}
cpacketSysName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION “The assigned name of this system”
::= { cpacketSysInfo 4}
cpacketSysLocation OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION “The physical location of this system”
::= { cpacketSysInfo 5}
cpacketSysSerialNumber OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION “The serial number of this system”
::= { cpacketSysInfo 6}
cpacketSysDeviceType OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION “The device type of this system”
::= { cpacketSysInfo 7}
cVu120G OBJECT IDENTIFIER
::= { cpacketProducts 1 }
cVu160G OBJECT IDENTIFIER
::= { cpacketProducts 2 }
cVu240G OBJECT IDENTIFIER
::= { cpacketProducts 3 }
cVu320G OBJECT IDENTIFIER
::= { cpacketProducts 4 }
cVu160NG OBJECT IDENTIFIER
::= { cpacketProducts 5 }
cVu240NG OBJECT IDENTIFIER
::= { cpacketProducts 6 }
cVu400NG OBJECT IDENTIFIER
::= { cpacketProducts 7 }
cVu560NG OBJECT IDENTIFIER
::= { cpacketProducts 8 }
cVu64G OBJECT IDENTIFIER
::= { cpacketProducts 9 }
cVu2440NG OBJECT IDENTIFIER
::= { cpacketProducts 10 }
cVu3240NG OBJECT IDENTIFIER
::= { cpacketProducts 11 }

— Objects associated with counters

cpacketSysCountersTable OBJECT-TYPE
SYNTAX SEQUENCE OF CpacketSysCountersTableEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
“The counters for all ports. Available only on cVuG, cVuNG and cVu64G_agg devices only”
::= { cpacketSysCounters 1 }
cpacketSysCountersTableEntry OBJECT-TYPE
SYNTAX CpacketSysCountersTableEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION “cpacketSysCountersTable available only on cVuG, cVuNG and cVu64G_agg devices only”
INDEX { ifIndex }
::= { cpacketSysCountersTable 1 }
CpacketSysCountersTableEntry ::= SEQUENCE {
cpacketPortID Integer32,
cpacketPortIO INTEGER,
cpacketPortDescr DisplayString,
cpacketPortRate DisplayString,
cpacketPortRxBytes Counter64,
cpacketPortRxPackets Counter64,
cpacketPortTxBytes Counter64,
cpacketPortTxPackets Counter64,
cpacketPortDroppedBytes Counter64,
cpacketPortDroppedPackets Counter64,
cpacketPortDedupBytes Counter64,
cpacketPortDedupPackets Counter64,
cpacketPortCRCErrors Counter64,
cpacketPortFrameErrors Counter64,
cpacketPortOverSubscribedPackets Counter64,
cpacketPortInputBufferingDroppedPackets Counter64,
cpacketPortCountersTimeSinceLastCleared TimeTicks,
cpacketDisplayedPortID DisplayString
}
cpacketSysCountersTablePollInterval OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Identifies the interval for cpacketSysCountersTable refresh.
Available only on cVuG, cVuNG and cVu64G_agg devices only
"
::= { cpacketSysCounters 2 }
cpacketSysCountersTableSinceLastUpdated OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Identifies the last refresh time of cpacketSysCountersTable.
Available only on cVuG, cVuNG and cVu64G_agg devices only
"
::= { cpacketSysCounters 3 }
cpacketPortID OBJECT-TYPE
SYNTAX Integer32(1…128)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The port number.”
::= { cpacketSysCountersTableEntry 2 }
cpacketPortIO OBJECT-TYPE
SYNTAX INTEGER {
input(0),
output(1),
stacked(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The port io”
::= { cpacketSysCountersTableEntry 3 }
cpacketPortDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0…255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“A textual string containing the name of the port”
::= { cpacketSysCountersTableEntry 4 }
cpacketPortRate OBJECT-TYPE
SYNTAX DisplayString (SIZE (0…25))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“A textual string containing the rate of the port”
::= { cpacketSysCountersTableEntry 5 }
cpacketPortRxBytes OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The Rx bytes”
::= { cpacketSysCountersTableEntry 6 }
cpacketPortRxPackets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The Rx Packets”
::= { cpacketSysCountersTableEntry 7 }
cpacketPortTxBytes OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The Tx bytes”
::= { cpacketSysCountersTableEntry 8 }
cpacketPortTxPackets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The Tx Packets”
::= { cpacketSysCountersTableEntry 9 }
cpacketPortDroppedBytes OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The number of bytes dropped”
::= { cpacketSysCountersTableEntry 10 }
cpacketPortDroppedPackets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The number of packets dropped”
::= { cpacketSysCountersTableEntry 11 }
cpacketPortDedupBytes OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The deduplication bytes”
::= { cpacketSysCountersTableEntry 12 }
cpacketPortDedupPackets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The deduplication Packets”
::= { cpacketSysCountersTableEntry 13 }
cpacketPortCRCErrors OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The crc errors”
::= { cpacketSysCountersTableEntry 14 }
cpacketPortFrameErrors OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The crc errors”
::= { cpacketSysCountersTableEntry 15 }
cpacketPortOverSubscribedPackets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The number of Tx packets oversubscribed”
::= { cpacketSysCountersTableEntry 16 }
cpacketPortInputBufferingDroppedPackets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The number of input buffer dropped packets”
::= { cpacketSysCountersTableEntry 17 }
cpacketPortCountersTimeSinceLastCleared OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“Time since counters for the port were cleared in hundredths”
::= { cpacketSysCountersTableEntry 18 }
cpacketDisplayedPortID OBJECT-TYPE
SYNTAX DisplayString (SIZE (0…255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
“The dispalyed port id”
::= { cpacketSysCountersTableEntry 19 }

— Objects associated with notifications only

cpacketNotificationLevel OBJECT-TYPE
SYNTAX INTEGER {
information(1),
minor(2),
major(3),
critical(4)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
“Severity level of cPacket’s Notifications.”
::= { cpacketNotificationObjects 1 }
cpacketNotificationDescription OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
“Description of cPacket’s Notifications. Describes the reason for the notification.”
::= { cpacketNotificationObjects 2 }
cpacketPowerSupplyNumber OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
“Power supply unit number. Optional field available for cVuNG devices only.”
::= { cpacketNotificationObjects 3 }
cpacketFanNumber OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
“Power supply unit number. Optional field available for cVuNG devices only.”
::= { cpacketNotificationObjects 4 }
cpacketPortNumber OBJECT-TYPE
SYNTAX Integer32(1…128)
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
“The port number. Optional field available for cVuNG devices only.”
::= { cpacketNotificationObjects 5 }
cpacketLinkState OBJECT-TYPE
SYNTAX INTEGER {
down(1),
up(2)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
“New port link state.”
::= { cpacketNotificationObjects 6 }

— Notifications

cpacketPowerSupplyNotification NOTIFICATION-TYPE
OBJECTS {
cpacketPowerSupplyNumber,
cpacketNotificationLevel,
cpacketNotificationDescription
}
STATUS current
DESCRIPTION
"One of the power supply has stopped working or is off. cpacketPowerSupplyNumber is available for cVuNG devices only.
This notification is available only on cVuG and cVuNG devices only,
Not availbale on cVu120G and cVu160G
Not avilable on cVu3240NG nad cVu2440 devices
"
::= { cpacketNotifications 2}
cpacketFanNotification NOTIFICATION-TYPE
OBJECTS {
cpacketFanNumber,
cpacketNotificationLevel,
cpacketNotificationDescription
}
STATUS current
DESCRIPTION
“One of the fan has stopped working or is off. capacketFanNumber is available for cVuNG devices only
This notification is available only on cVuG and cVuNG devices only,
Not availbale on cVu120G, cVu160G and cVu240G
Not avilable on cVu3240NG nad cVu2440 devices”
::= { cpacketNotifications 3}
cpacketPortFailedNotification NOTIFICATION-TYPE
OBJECTS {
cpacketPortNumber,
cpacketNotificationLevel,
cpacketNotificationDescription,
cpacketDisplayedPortID
}
STATUS current
DESCRIPTION
“Port Failed.”
::= { cpacketNotifications 4}
cpacketLostPacketsNotification NOTIFICATION-TYPE
OBJECTS {
cpacketPortNumber,
cpacketNotificationLevel,
cpacketNotificationDescription,
cpacketDisplayedPortID
}
STATUS current
DESCRIPTION
"One or more packets were lost, because of port oversubscription, packet with incorrect CRC, or other reason.
This notification is available only on cVuG and cVuNG devices only, Not availbale on cVu120G, cVu160G and cVu240G
"
::= { cpacketNotifications 5}
cpacketLinkUpDownNotification NOTIFICATION-TYPE
OBJECTS {
cpacketPortNumber,
cpacketLinkState,
cpacketNotificationLevel,
cpacketNotificationDescription,
cpacketDisplayedPortID
}
STATUS current
DESCRIPTION
"Port link state has changed (up or down).
This notification is available only on cVuG and cVuNG devices only, Not availbale on cVu120G, cVu160G and cVu240G
"
::= { cpacketNotifications 6}

— Groups

cpacketGetOrSetObjectsGroup OBJECT-GROUP
OBJECTS {
cpacketSysDescr,
cpacketSysUpTime,
cpacketSysContact,
cpacketSysName,
cpacketSysLocation,
cpacketSysSerialNumber,
cpacketSysDeviceType,
cpacketPortID,
cpacketPortIO,
cpacketPortDescr,
cpacketPortRate,
cpacketPortRxBytes,
cpacketPortRxPackets,
cpacketPortTxBytes,
cpacketPortTxPackets,
cpacketPortDroppedBytes,
cpacketPortDroppedPackets,
cpacketPortDedupBytes,
cpacketPortDedupPackets,
cpacketPortCRCErrors,
cpacketPortFrameErrors,
cpacketPortOverSubscribedPackets,
cpacketPortInputBufferingDroppedPackets,
cpacketPortCountersTimeSinceLastCleared,
cpacketSysCountersTablePollInterval,
cpacketSysCountersTableSinceLastUpdated
}
STATUS current
DESCRIPTION “Objects associated with get and/or set operations”
::= { cpacketMIBConformances 2 }
cpacketNotificationObjectsGroup OBJECT-GROUP
OBJECTS {
cpacketNotificationLevel,
cpacketNotificationDescription,
cpacketPowerSupplyNumber,
cpacketDisplayedPortID,
cpacketFanNumber,
cpacketPortNumber,
cpacketLinkState
}
STATUS current
DESCRIPTION “Objects associated with notifications”
::= { cpacketMIBConformances 3 }
cpacketNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS {
cpacketPowerSupplyNotification,
cpacketFanNotification,
cpacketPortFailedNotification,
cpacketLostPacketsNotification,
cpacketLinkUpDownNotification
}
STATUS current
DESCRIPTION “Notifications group”
::= { cpacketMIBConformances 4 }
END
This snippet was truncated for display: see it in full.
Wrap • Today at 3:09 AM • 17 kB Plain Text snippet • shared with you

Add Comment

I have already asked you numerous times to stop doing this please read my post on this thread.