MOBA-COMMON DEFINITIONS ::= BEGIN -- ----------------------------------------------------------------- -- -- Imports -- ----------------------------------------------------------------- -- IMPORTS OBJECT-TYPE, MODULE-IDENTITY, enterprises, Unsigned32 FROM SNMPv2-SMI OBJECT-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF TEXTUAL-CONVENTION, DisplayString FROM SNMPv2-TC; -- ----------------------------------------------------------------- -- -- MODULE definition -- ----------------------------------------------------------------- -- mobaCommonMIB MODULE-IDENTITY LAST-UPDATED "201301300000Z" ORGANIZATION "Moser-Baer AG" CONTACT-INFO "M. Micic support@mobatime.com" DESCRIPTION "This MIB definition is the same for all types of MOBATime network time serves / master clocks. It is used to identify the type of contacted device." REVISION "201301300000Z" DESCRIPTION "First version of this module" ::= { mobatime 10 } -- ----------------------------------------------------------------- -- -- Textual conventions -- ----------------------------------------------------------------- -- MobaAlarm64 ::= TEXTUAL-CONVENTION DISPLAY-HINT "1x1x1x1x.1x1x1x1x" STATUS current DESCRIPTION "The alarm mask is an array of bytes. The first byte defines the mask for the alarm bits 0..7. The last byte defines the mask for the alarm bits 56..63. Every byte has the range 0 ... 255 (binary)." SYNTAX OCTET STRING (SIZE(8)) MobaFlags32 ::= TEXTUAL-CONVENTION DISPLAY-HINT "x" STATUS current DESCRIPTION "The Flags is an array of 4 bytes. The first byte defines the flag bits 31..25. The last byte defines the flag bits 7..0. Every byte has the range 0 ... 255 (binary)." SYNTAX Unsigned32 MobaNetworkName ::= TEXTUAL-CONVENTION DISPLAY-HINT "255a" STATUS current DESCRIPTION "Fully qualified domain names or IP addresses." SYNTAX OCTET STRING (SIZE(0..64)) MobaHexByteArray ::= TEXTUAL-CONVENTION DISPLAY-HINT "1x1x" STATUS current DESCRIPTION "Byte array Len=1..255 Display Hexadecimal" SYNTAX OCTET STRING EnabledDisabled ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Boolean value for disabled (0) and enabled (1)" SYNTAX INTEGER { disabled(0), enabled(1) } -- ----------------------------------------------------------------- -- -- Mobatime enterprise identifier -- ----------------------------------------------------------------- -- mobatime OBJECT IDENTIFIER ::= { enterprises 13842 } -- ----------------------------------------------------------------- -- -- Device type groups -- ----------------------------------------------------------------- -- mobaNTPServer OBJECT IDENTIFIER ::= { mobatime 5 } -- ----------------------------------------------------------------- -- -- Common system information -- ----------------------------------------------------------------- -- mobaCommonSystemInfo OBJECT IDENTIFIER ::= { mobaCommonMIB 1 } mobaCommonStatus OBJECT-TYPE SYNTAX MobaFlags32 MAX-ACCESS read-only STATUS current DESCRIPTION "System status (32bit). Internal state of the device software. Used for maintenance only." REFERENCE "OFS_NTS_STATE, 4, VARTYPE_DWORD" ::= { mobaCommonSystemInfo 1 } mobaCommonAlarms OBJECT-TYPE SYNTAX MobaAlarm64 MAX-ACCESS read-only STATUS current DESCRIPTION "Device alarm state flags. More details are available in the according device manual." REFERENCE "OFS_ALSTATE_ALARMS, 8, VARTYPE_BYTEARR" ::= { mobaCommonSystemInfo 2 } mobaCommonAlarmMask OBJECT-TYPE SYNTAX MobaAlarm64 (SIZE(8)) MAX-ACCESS read-only STATUS current DESCRIPTION "Alarm bit mask. Device alarm = (Alarms & AlarmMask) > 0" REFERENCE "OFS_AL_RELAY_MASK, 8, VARTYPE_BYTEARR" ::= { mobaCommonSystemInfo 3 } mobaCommonNTPStratum OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "Stratum of the NTP service." REFERENCE "OFS_TINFO_NTS_STRATUM, 1, VARTYPE_BYTE" ::= { mobaCommonSystemInfo 4 } mobaCommonLanguage OBJECT-TYPE SYNTAX INTEGER { english (0), german (1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Configured device language (menu text). 0: English 1: German" REFERENCE "OFS_GEN_LANG, 1, VARTYPE_BYTE" ::= { mobaCommonSystemInfo 5 } mobaCommonTimezone OBJECT-TYPE SYNTAX Unsigned32 (0..99) MAX-ACCESS read-only STATUS current DESCRIPTION "Configured device time zone for the display / menu and the alarm messages. 0: UTC 1-99: See user manual 800870, time zone table" REFERENCE "OFS_GEN_LOC_TZ, 1, VARTYPE_BYTE" ::= { mobaCommonSystemInfo 6 } mobaCommonTelnetMode OBJECT-TYPE SYNTAX EnabledDisabled MAX-ACCESS read-only STATUS current DESCRIPTION "Telnet service mode. 0: disabled, 1: enabled" REFERENCE "OFS_SERVICE_TELNET, 1, VARTYPE_BYTE" ::= { mobaCommonSystemInfo 7 } mobaCommonFTPMode OBJECT-TYPE SYNTAX EnabledDisabled MAX-ACCESS read-only STATUS current DESCRIPTION "FTP service mode. 0: disabled, 1: enabled" REFERENCE "OFS_SERVICE_FTP, 1, VARTYPE_BYTE" ::= { mobaCommonSystemInfo 8 } mobaCommonSSHMode OBJECT-TYPE SYNTAX EnabledDisabled MAX-ACCESS read-only STATUS current DESCRIPTION "SSH service mode. 0: disabled, 1: enabled" REFERENCE "OFS_SERVICE_SSH, 1, VARTYPE_BYTE" ::= { mobaCommonSystemInfo 9 } mobaCommonDomain OBJECT-TYPE SYNTAX DisplayString (SIZE(63)) MAX-ACCESS read-only STATUS current DESCRIPTION "Domain name of the device." REFERENCE "OFS_NW_DOMAIN, 64, VARTYPE_STRING" ::= { mobaCommonSystemInfo 10 } mobaCommonPassword OBJECT-TYPE SYNTAX DisplayString (SIZE(0..14)) MAX-ACCESS read-write STATUS current DESCRIPTION "Password for menu, FTP and SSH access." REFERENCE "OFS_GEN_PASSWORD, 15, VARTYPE_STRING" ::= { mobaCommonSystemInfo 11 } -- ----------------------------------------------------------------- -- -- Common product information -- ----------------------------------------------------------------- -- mobaCommonProdInfo OBJECT IDENTIFIER ::= { mobaCommonMIB 2 } mobaCommonProdInfoHWCode OBJECT-TYPE SYNTAX OCTET STRING (SIZE(8)) MAX-ACCESS read-only STATUS current DESCRIPTION "Device type code. 1.Byte = w (device main group, 8 = Software) 2.Byte = x (device sub group) 3.Byte = y (device function) 4.Byte = z (device variants) 5.-8.Byte = reserved Example: DTS4130 -> 4.1.3.0 w=4, x=1, y=3, z=0" REFERENCE "OFS_PROD_HW_CODE, 8, VARTYPE_BYTEARR" ::= { mobaCommonProdInfo 1 } mobaCommonProdInfoHWName OBJECT-TYPE SYNTAX DisplayString (SIZE(1..59)) MAX-ACCESS read-only STATUS current DESCRIPTION "Name of device (type)." REFERENCE "OFS_PROD_HW_NAME, 59, VARTYPE_STRING" ::= { mobaCommonProdInfo 2 } mobaCommonProdInfoHWRevision OBJECT-TYPE SYNTAX DisplayString (SIZE(1..59)) MAX-ACCESS read-only STATUS current DESCRIPTION "Hardware revision of the device." REFERENCE "OFS_PROD_HW_VER, 19, VARTYPE_STRING" ::= { mobaCommonProdInfo 3 } mobaCommonProdInfoProdNo OBJECT-TYPE SYNTAX DisplayString (SIZE(1..59)) MAX-ACCESS read-only STATUS current DESCRIPTION "Product number (serial number) of the device." REFERENCE "OFS_PROD_PROD_NR, 19, VARTYPE_STRING" ::= { mobaCommonProdInfo 4 } mobaCommonProdInfoArticleNo OBJECT-TYPE SYNTAX DisplayString (SIZE(1..59)) MAX-ACCESS read-only STATUS current DESCRIPTION "Article number of the device." REFERENCE "OFS_PROD_ART_NR, 7, VARTYPE_STRING" ::= { mobaCommonProdInfo 5 } mobaCommonProdInfoFirmwareVer OBJECT-TYPE SYNTAX DisplayString (SIZE(1..59)) MAX-ACCESS read-only STATUS current DESCRIPTION "Firmware version of the device." REFERENCE "OFS_PROD_FIRMW_VER, 39, VARTYPE_STRING" ::= { mobaCommonProdInfo 6 } -- ----------------------------------------------------------------- -- -- MIB conformance -- ----------------------------------------------------------------- -- mobaCommonConformance OBJECT IDENTIFIER ::= { mobaCommonMIB 100 } mobaCommonCompliances OBJECT IDENTIFIER ::= { mobaCommonConformance 1 } mobaCommonGroups OBJECT IDENTIFIER ::= { mobaCommonConformance 2 } mobaCommonCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for all devices." MODULE -- this module MANDATORY-GROUPS { mobaCommonAllObjects } ::= { mobaCommonCompliances 1 } mobaCommonAllObjects OBJECT-GROUP OBJECTS { mobaCommonStatus, mobaCommonAlarms, mobaCommonAlarmMask, mobaCommonNTPStratum, mobaCommonLanguage, mobaCommonTimezone, mobaCommonTelnetMode, mobaCommonFTPMode, mobaCommonSSHMode, mobaCommonDomain, mobaCommonPassword, mobaCommonProdInfoHWCode, mobaCommonProdInfoHWName, mobaCommonProdInfoHWRevision, mobaCommonProdInfoProdNo, mobaCommonProdInfoArticleNo, mobaCommonProdInfoFirmwareVer } STATUS current DESCRIPTION "Group with all objects." ::= { mobaCommonGroups 1 } END