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

📄 sysappl-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The type of element that is part of the installed          application."      ::= { sysApplInstallElmtEntry 3 }  sysApplInstallElmtDate OBJECT-TYPE      SYNTAX      DateAndTime      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The date and time that this component was installed on          the system."      ::= { sysApplInstallElmtEntry 4 }  sysApplInstallElmtPath OBJECT-TYPE      SYNTAX      LongUtf8String      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The full directory path where this element is installed.          For example, the value would be '/opt/EMPuma/bin' for an          element installed in the directory '/opt/EMPuma/bin'.          Most application packages include information about the          elements contained in the package. In addition, elements          are typically installed in sub-directories under the          package installation directory.  In cases where the          element path names are not included in the package          information itself, the path can usually be determined          by a simple search of the sub-directories.  If the          element is not installed in that location and there is          no other information available to the agent implementation,          then the path is unknown and null is returned."      ::= { sysApplInstallElmtEntry 5}  sysApplInstallElmtSizeHigh OBJECT-TYPE      SYNTAX      Unsigned32      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The installed file size in 2^32 byte blocks. This is          the size of the file on disk immediately after installation.          For example, for a file with a total size of 4,294,967,296          bytes, this variable would have a value of 1; for a file          with a total size of 4,294,967,295 bytes this variable          would be 0."      ::= { sysApplInstallElmtEntry 6 }  sysApplInstallElmtSizeLow OBJECT-TYPE      SYNTAX      Unsigned32      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The installed file size modulo 2^32 bytes.  This is          the size of the file on disk immediately after installation.          For example, for a file with a total size of 4,294,967,296          bytes this variable would have a value of 0; for a file with          a total size of 4,294,967,295 bytes this variable would be          4,294,967,295."      ::= { sysApplInstallElmtEntry 7 }  sysApplInstallElmtRole  OBJECT-TYPE      SYNTAX      BITS {                  executable(0),                     -- An application may have one or                     -- more executable elements.  The rest of the                     -- bits have no meaning if the element is not                     -- executable.                  exclusive(1),                     -- Only one copy of an exclusive element may be                     -- running per invocation of the running                     -- application.                  primary(2),                     -- The primary executable.  An application can                     -- have one, and only one element that is designated                     -- as the primary executable.  The execution of                     -- this element constitutes an invocation of                     -- the application.  This is used by the agent                     -- implementation to determine the initiation of                     -- an application.  The primary executable must                     -- remain running long enough for the agent                     -- implementation to detect its presence.                  required(3),                     -- An application may have zero or more required                     -- elements. All required elements must be running                     -- in order for the application to be judged to be                     -- running and healthy.                  dependent(4),                     -- An application may have zero or more                     -- dependent elements. Dependent elements may                     -- not be running unless required elements are.                  unknown(5)                     -- Default value for the case when an operator                     -- has not yet assigned one of the other values.                     -- When set, bits 1, 2, 3, and 4 have no meaning.                  }      MAX-ACCESS  read-write      STATUS      current      DESCRIPTION          "An operator assigned value used in the determination of          application status. This value is used by the agent to          determine both the mapping of started processes to the          initiation of an application, as well as to allow for a          determination of application health. The default value,          unknown(5), is used when an operator has not yet assigned          one of the other values.  If unknown(5) is set, bits          1 - 4 have no meaning.  The possible values are:                  executable(0),                      An application may have one or                      more executable elements.  The rest of the                      bits have no meaning if the element is not                      executable.                  exclusive(1),                      Only one copy of an exclusive element may be                      running per invocation of the running                      application.                  primary(2),                      The primary executable.  An application can                      have one, and only one element that is designated                      as the primary executable.  The execution of                      this element constitutes an invocation of                      the application.  This is used by the agent                      implementation to determine the initiation of                      an application.  The primary executable must                      remain running long enough for the agent                      implementation to detect its presence.                  required(3),                      An application may have zero or more required                      elements. All required elements must be running                      in order for the application to be judged to be                      running and healthy.                  dependent(4),                      An application may have zero or more                      dependent elements. Dependent elements may                      not be running unless required elements are.                  unknown(5)                      Default value for the case when an operator                      has not yet assigned one of the other values.                      When set, bits 1, 2, 3, and 4 have no meaning.           sysApplInstallElmtRole is used by the agent implementation           in determining the initiation of an application, the           current state of a running application (see           sysApplRunCurrentState), when an application invocation is           no longer running, and the exit status of a terminated           application invocation (see sysApplPastRunExitState)."      DEFVAL { { unknown } }      ::= { sysApplInstallElmtEntry 8 }  sysApplInstallElmtModifyDate OBJECT-TYPE      SYNTAX      DateAndTime      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The date and time that this element was last modified.          Modification of the sysApplInstallElmtRole columnar          object does NOT constitute a modification of the element          itself and should not affect the value of this object."      ::= { sysApplInstallElmtEntry 9 }  sysApplInstallElmtCurSizeHigh OBJECT-TYPE      SYNTAX      Unsigned32      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The current file size in 2^32 byte blocks.          For example, for a file with a total size of 4,294,967,296          bytes, this variable would have a value of 1; for a file          with a total size of 4,294,967,295 bytes this variable          would be 0."      ::= { sysApplInstallElmtEntry 10 }  sysApplInstallElmtCurSizeLow OBJECT-TYPE      SYNTAX      Unsigned32      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The current file size modulo 2^32 bytes.          For example, for a file with a total size of 4,294,967,296          bytes this variable would have a value of 0; for a file with          a total size of 4,294,967,295 bytes this variable would be          4,294,967,295."      ::= { sysApplInstallElmtEntry 11 }  -- sysApplRun Group  -- This group models activity information for applications  -- that have been invoked and are either currently running,  -- or have previously run on the host system.  Likewise,  -- the individual elements of an invoked application are  -- also modeled to show currently running processes, and  -- processes that have run in the past.  -- sysApplRunTable  -- The sysApplRunTable contains the application instances  -- which are currently running on the host.  Since a single  -- application might be invoked multiple times, an entry is  -- added to this table for each INVOCATION of an application.  -- The table is indexed by sysApplInstallPkgIndex, sysApplRunIndex  -- to enable managers to easily locate all invocations of  -- a particular application package.  sysApplRunTable OBJECT-TYPE      SYNTAX      SEQUENCE OF SysApplRunEntry      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "The table describes the applications which are executing          on the host.  Each time an application is invoked,          an entry is created in this table. When an application ends,          the entry is removed from this table and a corresponding                  entry is created in the SysApplPastRunTable.          A new entry is created in this table whenever the agent          implementation detects a new running process that is an          installed application element whose sysApplInstallElmtRole          designates it as being the application's primary executable          (sysApplInstallElmtRole = primary(2) ).          The table is indexed by sysApplInstallPkgIndex,          sysApplRunIndex to enable managers to easily locate all          invocations of a particular application package."      ::= { sysApplRun 1 }  sysApplRunEntry OBJECT-TYPE      SYNTAX      SysApplRunEntry      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "The logical row describing an application which is          currently running on this host."      INDEX    { sysApplInstallPkgIndex, sysApplRunIndex }      ::= { sysApplRunTable   1 }  SysApplRunEntry ::= SEQUENCE {      sysApplRunIndex                         Unsigned32,      sysApplRunStarted                       DateAndTime,      sysApplRunCurrentState                  RunState  }  sysApplRunIndex OBJECT-TYPE      SYNTAX      Unsigned32 (1..'ffffffff'h)      MAX-ACCESS  not-accessible      STATUS      current      DESCRIPTION          "Part of the index for this table. An arbitrary          integer used only for indexing purposes. Generally          monotonically increasing from 1 as new applications are          started on the host, it uniquely identifies application          invocations.          The numbering for this index increases by 1 for each          INVOCATION of an application, regardless of which          installed application package this entry represents a          running instance of.          An example of the indexing for a couple of entries is          shown below.                        :                   sysApplRunStarted.17.14                   sysApplRunStarted.17.63                   sysApplRunStarted.18.13                        :          In this example, the agent has observed 12 application          invocations when the application represented by entry 18          in the sysApplInstallPkgTable is invoked.  The next          invocation detected by the agent is an invocation of          installed application package 17.  Some time later,          installed application 17 is invoked a second time.          NOTE: this index is not intended to reflect a real-time          (wall clock time) ordering of application invocations;          it is merely intended to uniquely identify running          instances of applications.  Although the          sysApplInstallPkgIndex is included in the INDEX clause          for this table, it serves only to ease searching of          this table by installed application and does not          contribute to uniquely identifying table entries."      ::= { sysApplRunEntry 1 }  sysApplRunStarted OBJECT-TYPE      SYNTAX      DateAndTime      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The date and time that the application was started."      ::= { sysApplRunEntry 2 }  sysApplRunCurrentState OBJECT-TYPE      SYNTAX      RunState      MAX-ACCESS  read-only      STATUS      current      DESCRIPTION          "The current state of the running application instance.          The possible values are running(1), runnable(2) but waiting          for a resource such as CPU, waiting(3) for an event,          exiting(4), or other(5). This value is based on an evaluation          of the running elements of this application instance (see          sysApplElmRunState) and their Roles as defined by          sysApplInstallElmtRole.  An agent implementation may

⌨️ 快捷键说明

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