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

📄 sysappl-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
  SYSAPPL-MIB DEFINITIONS ::= BEGIN  IMPORTS      MODULE-IDENTITY, OBJECT-TYPE,      Unsigned32, TimeTicks, Counter32, Gauge32          FROM SNMPv2-SMI      DateAndTime, TEXTUAL-CONVENTION          FROM SNMPv2-TC      MODULE-COMPLIANCE, OBJECT-GROUP          FROM SNMPv2-CONF      mib-2 FROM SNMPv2-SMI;  -- System Application MIB  sysApplMIB MODULE-IDENTITY      LAST-UPDATED "9710200000Z"      ORGANIZATION "IETF Applications MIB Working Group"      CONTACT-INFO            "Cheryl Krupczak (Editor, WG Advisor)             Postal: Empire Technologies, Inc.             541 Tenth Street NW             Suite 169             Atlanta, GA 30318             USA             Phone: (770) 384-0184             Email: cheryl@empiretech.com             Jon Saperia (WG Chair)             Postal:  BGS Systems, Inc.             One First Avenue             Waltham, MA 02254-9111             USA             Phone: (617) 891-0000             Email: saperia@networks.bgs.com"      DESCRIPTION          "The MIB module defines management objects that model          applications as collections of executables and files          installed and executing on a host system.  The MIB          presents a system-level view of applications; i.e.,          objects in this MIB are limited to those attributes          that can typically be obtained from the system itself          without adding special instrumentation to the applications."      ::= { mib-2 54  }  sysApplOBJ               OBJECT IDENTIFIER ::= { sysApplMIB 1 }  sysApplInstalled         OBJECT IDENTIFIER ::= { sysApplOBJ 1 }  sysApplRun               OBJECT IDENTIFIER ::= { sysApplOBJ 2 }  sysApplMap               OBJECT IDENTIFIER ::= { sysApplOBJ 3 }  sysApplNotifications     OBJECT IDENTIFIER ::= { sysApplMIB 2 }  sysApplConformance       OBJECT IDENTIFIER ::= { sysApplMIB 3 }  -- Textual Conventions  RunState ::= TEXTUAL-CONVENTION      STATUS      current      DESCRIPTION          "This TC describes the current execution state of          a running application or process.  The possible          values are:            running(1),            runnable(2),  - waiting for a resource (CPU, etc.)            waiting(3),   - waiting for an event            exiting(4),            other(5)      - other invalid state"      SYNTAX      INTEGER {                  running (1),                  runnable (2), -- waiting for resource (CPU, etc.)                  waiting (3),  -- waiting for event                  exiting (4),                  other (5)     -- other invalid state                  }LongUtf8String ::= TEXTUAL-CONVENTION        DISPLAY-HINT "1024a"        STATUS  current        DESCRIPTION                "To facilitate internationalization, this TC                 represents information taken from the ISO/IEC IS                 10646-1 character set, encoded as an octet string                 using the UTF-8 character encoding scheme described                 in RFC 2044 [10].  For strings in 7-bit US-ASCII,                 there is no impact since the UTF-8 representation                 is identical to the US-ASCII encoding."        SYNTAX  OCTET STRING (SIZE (0..1024))Utf8String ::= TEXTUAL-CONVENTION        DISPLAY-HINT "255a"        STATUS  current        DESCRIPTION                "To facilitate internationalization, this TC                 represents information taken from the ISO/IEC IS                 10646-1 character set, encoded as an octet string                 using the UTF-8 character encoding scheme described                 in RFC 2044 [10].  For strings in 7-bit US-ASCII,                 there is no impact since the UTF-8 representation                 is identical to the US-ASCII encoding."        SYNTAX  OCTET STRING (SIZE (0..255))  -- sysApplInstalled Group  -- This group provides information about application packages  -- that have been installed on the host computer.  The group  -- contains two tables.  The first, the sysApplInstallPkgTable,  -- describes the application packages, the second, the  -- sysApplInstallElmtTable, describes the constituent elements  -- (files and executables) which compose an application package.  --  -- In order to appear in this group, an application and its  -- component files must be discoverable by the system itself,  -- possibly through some type of software installation mechanism  -- or registry.  -- sysApplInstallPkgTable  -- The system installed application packages table provides  -- information on the software packages installed on a system.  -- These packages may consist of many different files including  -- executable and non-executable files.  sysApplInstallPkgTable OBJECT-TYPE      SYNTAX      SEQUENCE OF SysApplInstallPkgEntry      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "The table listing the software application packages          installed on a host computer. In order to appear in          this table, it may be necessary for the application          to be installed using some type of software          installation mechanism or global registry so that its          existence can be detected by the agent implementation."      ::= { sysApplInstalled 1 }  sysApplInstallPkgEntry OBJECT-TYPE      SYNTAX      SysApplInstallPkgEntry      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "The logical row describing an installed application          package."      INDEX    { sysApplInstallPkgIndex }      ::= { sysApplInstallPkgTable 1 }  SysApplInstallPkgEntry ::= SEQUENCE {      sysApplInstallPkgIndex               Unsigned32,      sysApplInstallPkgManufacturer        Utf8String,      sysApplInstallPkgProductName         Utf8String,      sysApplInstallPkgVersion             Utf8String,      sysApplInstallPkgSerialNumber        Utf8String,      sysApplInstallPkgDate                DateAndTime,      sysApplInstallPkgLocation            LongUtf8String  }  sysApplInstallPkgIndex OBJECT-TYPE      SYNTAX      Unsigned32 (1..'ffffffff'h)      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "An integer used only for indexing purposes.          Generally monotonically increasing from 1 as new          applications are installed.          The value for each installed application must          remain constant at least from one re-initialization of          the network management entity which implements this          MIB module to the next re-initialization.          The specific value is meaningful only within a given SNMP          entity. A sysApplInstallPkgIndex value must not be re-used          until the next agent entity restart in the event the          installed application entry is deleted."      ::= { sysApplInstallPkgEntry 1 }  sysApplInstallPkgManufacturer OBJECT-TYPE      SYNTAX      Utf8String      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The Manufacturer of the software application package."      ::= { sysApplInstallPkgEntry 2 }  sysApplInstallPkgProductName OBJECT-TYPE      SYNTAX      Utf8String      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The name assigned to the software application package          by the Manufacturer."      ::= { sysApplInstallPkgEntry 3 }  sysApplInstallPkgVersion OBJECT-TYPE      SYNTAX      Utf8String      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The version number assigned to the application package          by the manufacturer of the software."      ::= { sysApplInstallPkgEntry 4 }  sysApplInstallPkgSerialNumber OBJECT-TYPE      SYNTAX      Utf8String      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The serial number of the software assigned by the          manufacturer."      ::= { sysApplInstallPkgEntry 5 }  sysApplInstallPkgDate OBJECT-TYPE      SYNTAX      DateAndTime      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The date and time this software application was installed          on the host."      ::= { sysApplInstallPkgEntry 6 }  sysApplInstallPkgLocation OBJECT-TYPE      SYNTAX      LongUtf8String      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The complete path name where the application package          is installed.  For example, the value would be          '/opt/MyapplDir' if the application package was installed          in the /opt/MyapplDir directory."      ::= { sysApplInstallPkgEntry 7 }  -- sysApplInstallElmtTable  -- The table describing the individual application package  -- elements (files and executables) installed on the host computer.  sysApplInstallElmtTable OBJECT-TYPE      SYNTAX      SEQUENCE OF SysApplInstallElmtEntry      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "This table details the individual application package          elements (files and executables) which comprise the          applications defined in the sysApplInstallPkg Table.          Each entry in this table has an index to the          sysApplInstallPkg table to identify the application          package of which it is a part. As a result, there may          be many entries in this table for each instance in the          sysApplInstallPkg Table.          Table entries are indexed by sysApplInstallPkgIndex,          sysApplInstallElmtIndex to facilitate retrieval of          all elements associated with a particular installed          application package."      ::= { sysApplInstalled 2 }  sysApplInstallElmtEntry OBJECT-TYPE      SYNTAX      SysApplInstallElmtEntry      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "The logical row describing an element of an installed          application.  The element may be an executable or          non-executable file."      INDEX    {sysApplInstallPkgIndex, sysApplInstallElmtIndex}      ::= { sysApplInstallElmtTable 1 }  SysApplInstallElmtEntry ::= SEQUENCE {      sysApplInstallElmtIndex                 Unsigned32,      sysApplInstallElmtName                  Utf8String,      sysApplInstallElmtType                  INTEGER,      sysApplInstallElmtDate                  DateAndTime,      sysApplInstallElmtPath                  LongUtf8String,      sysApplInstallElmtSizeHigh              Unsigned32,      sysApplInstallElmtSizeLow               Unsigned32,      sysApplInstallElmtRole                  BITS,      sysApplInstallElmtModifyDate            DateAndTime,      sysApplInstallElmtCurSizeHigh           Unsigned32,      sysApplInstallElmtCurSizeLow            Unsigned32  }  sysApplInstallElmtIndex OBJECT-TYPE      SYNTAX      Unsigned32 (1..'ffffffff'h)      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "An arbitrary integer used for indexing.  The value          of this index is unique among all rows in this table          that exist or have existed since the last agent restart."      ::= { sysApplInstallElmtEntry 1 }  sysApplInstallElmtName OBJECT-TYPE      SYNTAX      Utf8String      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The name of this element which is contained in the          application."      ::= { sysApplInstallElmtEntry 2 }  sysApplInstallElmtType OBJECT-TYPE      SYNTAX      INTEGER {                  unknown(1),                  nonexecutable(2),                  operatingSystem(3),  -- executable                  deviceDriver(4),     -- executable                  application(5)       -- executable                  }

⌨️ 快捷键说明

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