⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printer-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtGeneralEntry 4 }prtGeneralServicePerson OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..127))    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The name of the person responsible for servicing this        printer.  It is suggested that this string include        information that would enable other humans to reach the        service person, such as a phone number.  As a convention        to facilitate automatic notification of the operator by        the agent or network management station, the phone        number, fax number or email address should be indicated        by the URL schemes 'tel:', 'fax:' and 'mailto:',        respectively.  If either the phone, fax, or email        information is not available, then a line should not        be included for this information.        NOTE: For interoperability purposes, it is advisable to use        email addresses formatted per [RFC2822] requirements.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtGeneralEntry 5 }-- Default indexes section---- The following four objects are used to specify the indexes of-- certain subunits used as defaults during the printing process.prtInputDefaultIndex OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The value of prtInputIndex corresponding to the default input        sub-unit: that is, this object selects the default source of        input media."::= { prtGeneralEntry 6 }prtOutputDefaultIndex OBJECT-TYPE    --  A range has been added to the SYNTAX clause that was not in    --  RFC 1759.  Although this violates SNMP compatibility rules,    --  it provides a more reasonable guide for SNMP managers.    SYNTAX     Integer32 (1..65535)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The value of prtOutputIndex corresponding to the default        output sub-unit; that is, this object selects the default        output destination."::= { prtGeneralEntry 7 }prtMarkerDefaultIndex OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The value of prtMarkerIndex corresponding to the        default marker sub-unit; that is, this object selects the        default marker."    ::= { prtGeneralEntry 8 }prtMediaPathDefaultIndex OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The value of prtMediaPathIndex corresponding to        the default media path; that is, the selection of the        default media path."    ::= { prtGeneralEntry 9 }-- Console general section---- The following four objects describe overall parameters of the-- printer console subsystem.prtConsoleLocalization OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The value of the prtLocalizationIndex corresponding to        the language, country, and character set to be used for the        console.  This localization applies both to the actual display        on the console as well as the encoding of these console objects        in management operations.  When an object's 'charset' is        controlled by the value of prtConsoleLocalization, it MUST        specify PrtConsoleDescriptionStringTC as its syntax.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtGeneralEntry 10 }prtConsoleNumberOfDisplayLines OBJECT-TYPE    SYNTAX     Integer32 (0..65535)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The number of lines on the printer's physical        display.  This value is 0 if there are no lines on the        physical display or if there is no physical display"    ::= { prtGeneralEntry 11 }prtConsoleNumberOfDisplayChars OBJECT-TYPE    SYNTAX     Integer32 (0..65535)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The number of characters per line displayed on the physical        display.  This value is 0 if there are no lines on the physical        display or if there is no physical display"    ::= { prtGeneralEntry 12 }prtConsoleDisable OBJECT-TYPE    -- In RFC 1759, the enumeration values were implicitly defined    -- by this object.    SYNTAX     PrtConsoleDisableTC    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "This value indicates how input is (or is not) accepted from        the operator console.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtGeneralEntry 13 }-- The Auxiliary Sheet Group---- The auxiliary sheet group allows the administrator to control-- the production of auxiliary sheets by the printer.  This group-- contains only the "prtAuxiliarySheetStartupPage" and-- "prtAuxiliarySheetBannerPage" objects.prtAuxiliarySheetStartupPage OBJECT-TYPE    SYNTAX     PresentOnOff    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "Used to enable or disable printing a startup page.  If enabled,        a startup page will be printed shortly after power-up, when the        device is ready.  Typical startup pages include test patterns        and/or printer configuration information."    ::= { prtGeneralEntry 14 }prtAuxiliarySheetBannerPage OBJECT-TYPE    SYNTAX     PresentOnOff    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "Used to enable or disable printing banner pages at the        beginning of jobs.  This is a master switch which applies to all        jobs, regardless of interpreter."     ::= { prtGeneralEntry 15 }-- Administrative section  (The General V2 Group)---- The following two objects are used to specify administrative-- information assigned to the printer.prtGeneralPrinterName OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE (0..127))    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "An administrator-specified name for this printer.  Depending        upon implementation of this printer, the value of this object        may or may not be same as the value for the MIB-II 'SysName'        object."     ::= { prtGeneralEntry 16 }prtGeneralSerialNumber OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE (0..255))    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "A recorded serial number for this device that indexes some        type device catalog or inventory.  This value is usually set by        the device manufacturer but the MIB supports the option of        writing for this object for site-specific administration of        device inventory or tracking."    ::= { prtGeneralEntry 17 }-- General alert table section  (Alert Table V2 Group)---- The following two objects are used to specify counters-- associated with the Alert Table.prtAlertCriticalEvents OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "A running counter of the number of critical alert events that        have been recorded in the alert table.  The value of this object        is RESET in the event of a power cycle operation (i.e., the        value is not persistent."    ::= { prtGeneralEntry 18 }prtAlertAllEvents OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "A running counter of the total number of alert event entries        (critical and non-critical) that have been recorded in the        alert table"    ::= { prtGeneralEntry 19 }-- The Cover Table---- The cover portion of the General print sub-unit describes the-- covers and interlocks of the printer.  The Cover Table has an-- entry for each cover and interlock.prtCover OBJECT IDENTIFIER ::= { printmib 6 }prtCoverTable OBJECT-TYPE    SYNTAX     SEQUENCE OF PrtCoverEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "A table of the covers and interlocks of the printer."    ::= { prtCover 1 }prtCoverEntry OBJECT-TYPE    SYNTAX     PrtCoverEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "Information about a cover or interlock.        Entries may exist in the table for each device        index with a device type of 'printer'.        NOTE: The above description has been modified from RFC 1759        for clarification."    INDEX  { hrDeviceIndex, prtCoverIndex }    ::= { prtCoverTable 1 }PrtCoverEntry ::= SEQUENCE {    prtCoverIndex            Integer32,    prtCoverDescription      PrtLocalizedDescriptionStringTC,    prtCoverStatus           PrtCoverStatusTC    }prtCoverIndex OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "A unique value used by the printer to identify this Cover sub        unit.  Although these values may change due to a major        reconfiguration of the device (e.g., the addition of new cover        sub-units to the printer), values SHOULD remain stable across        successive printer power cycles.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtCoverEntry 1 }prtCoverDescription OBJECT-TYPE    -- In RFC 1759, the SYNTAX was OCTET STRING.  This has been changed    -- to a TC to better support localization of the object.    SYNTAX     PrtLocalizedDescriptionStringTC    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The manufacturer provided cover sub-mechanism name in the        localization specified by prtGeneralCurrentLocalization."    ::= { prtCoverEntry 2 }prtCoverStatus  OBJECT-TYPE    -- NOTE: In RFC 1759, the enumeration values were implicitly defined    -- by this object and are now defined in the IANA-PRINTER-MIB.  The    -- new TC has defined "coverOpen" and "coverClosed" to replace    -- "doorOpen" and "doorClosed" in RFC 1759.  A name change is not    -- formally allowed per SMI rules, but was agreed to by the WG group    -- since a door has a more restrictive meaning than a cover and    -- Cover group is intended to support doors as a subset of covers.   SYNTAX     PrtCoverStatusTC    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The status of this cover sub-unit."    ::= { prtCoverEntry 3 }-- The Localization Table---- The localization portion of the General printer sub-unit is-- responsible for identifying the natural language, country, and-- character set in which character strings are expressed.  There-- may be one or more localizations supported per printer.  The-- available localizations are represented by the Localization-- table.prtLocalization  OBJECT IDENTIFIER ::= { printmib 7 }prtLocalizationTable OBJECT-TYPE    SYNTAX     SEQUENCE OF PrtLocalizationEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "The available localizations in this printer."    ::= { prtLocalization 1 }prtLocalizationEntry OBJECT-TYPE    SYNTAX     PrtLocalizationEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "A description of a localization.        Entries may exist in the table for each device        index with a device type of 'printer'.        NOTE: The above description has been modified from RFC 1759        for clarification."    INDEX  { hrDeviceIndex, prtLocalizationIndex }    ::= { prtLocalizationTable 1 }PrtLocalizationEntry ::= SEQUENCE {    prtLocalizationIndex          Integer32,    prtLocalizationLanguage       OCTET STRING,    prtLocalizationCountry        OCTET STRING,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -