SUN-WEBSERVER-MIB DEFINITIONS ::=
BEGIN
        IMPORTS 
                DisplayString, TEXTUAL-CONVENTION
                        FROM SNMPv2-TC
                Counter32, Integer32, Gauge32, Counter64,
                TimeTicks, enterprises, OBJECT-TYPE, MODULE-IDENTITY,
                NOTIFICATION-TYPE
                        FROM SNMPv2-SMI
                InetAddressType,InetAddress
                        FROM INET-ADDRESS-MIB;

        sunWSMIB MODULE-IDENTITY
            LAST-UPDATED    "200511301358Z"        -- November 30, 2005
            ORGANIZATION    "Sun Microsystems, Inc."
            CONTACT-INFO    "Sun Microsystems, Inc.
                            4150 Network Circle
                            Santa Clara, CA 95054
                            1-800-555-9SUN or
                            1-650-960-1300
                            http://www.sun.com
                            or contact your local support representative" 
            DESCRIPTION
                            "Copyright 2005 Sun Microsystems, Inc. All rights reserved.

                            This module defines the MIB that provides access to the
                            Sun Java System Web Server monitoring data."
            REVISION        "200511301358Z"        -- November 30, 2005
            DESCRIPTION     "SUN-WEBSERVER-MIB - Release 1.0"

                            ::= { webserver 1 }

        sun                 OBJECT IDENTIFIER ::= { enterprises 42 }
        products            OBJECT IDENTIFIER ::= { sun 2 }
        webserver           OBJECT IDENTIFIER ::= { products 190 }

WsPositive32TC ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
          "A positive Integer32. In Java that would be a number 
           in [0..Integer.MAX_VALUE].
          "
    -- We use Integer32 (0..2147483647) rather than Unsigned32 because 
    -- Unsigned32 is based on Gauge32 - which has a specific ASN.1 tag 
    -- and a specific semantics. In principle you cannot use a Gauge32 
    -- as base type for an index in a table.
    -- Note also that Unsigned32 is (0..2^32-1) 
    --    while Positive32 is (0..2^31-1)
    -- 
    SYNTAX Integer32 (0..2147483647)
   
WsStatusValueTC ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION   "Represents a boolean value. Indicates whether a given subsytem is running or not"
    SYNTAX INTEGER { running(1), down(2) }

WsEnabledValueTC ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION   "Represents a boolean value. Indicates whether a given subsystem is enabled or disabled"
    SYNTAX INTEGER { enabled(1), disabled(2) }

WsModeValueTC ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION   "Indicates whether a given subsystem is enabled, disabled or in an unknown state"
    SYNTAX INTEGER { enabled(1), disabled(2), unknown(3) }

WsSessReplStateTC ::= TEXTUAL-CONVENTION
    STATUS current
    DESCRIPTION   "Indicates the state of the session replication subsystem"
    SYNTAX INTEGER { normal(1), abnormal(2), nobackup(3) }

WsUnsigned64TC ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
           "A non-negative 64-bit bit integer, without counter
            semantics."
    -- We have cloned the Unsigned64TC defined in RFC 2564 rather
    -- than importing it 
    REFERENCE "RFC 2564 - APPLICATION-MIB, Unsigned64TC."
    SYNTAX Counter64

WsTimeMillis64TC ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
          "An elapsed time, expressed in milli-seconds.
           This type is based on Counter64, but without its specific
           semantics.
           "
    SYNTAX Counter64
--
-- Instances
--

        wsInstanceTable                 OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsInstanceEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server instances"
                ::= { sunWSMIB 1 }

        wsInstanceEntry                 OBJECT-TYPE
                SYNTAX                  WsInstanceEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server instance"
                INDEX                   { wsInstanceIndex }
                ::= { wsInstanceTable 1 }

        WsInstanceEntry ::= SEQUENCE {
                wsInstanceIndex                         WsPositive32TC,
                wsInstanceId                            DisplayString,
                wsInstanceVersion                       DisplayString,
                wsInstanceDescription                   DisplayString,
                wsInstanceOrganization                  DisplayString,
                wsInstanceContact                       DisplayString,
                wsInstanceLocation                      DisplayString,
                wsInstanceStatus                        WsStatusValueTC,
                wsInstanceUptime                        TimeTicks,
                wsInstanceDeathCount                    Counter32,
                wsInstanceRequests                      Counter64,
                wsInstanceInOctets                      Counter64,
                wsInstanceOutOctets                     Counter64,
                wsInstanceCount2xx                      Counter64,
                wsInstanceCount3xx                      Counter64,
                wsInstanceCount4xx                      Counter64,
                wsInstanceCount5xx                      Counter64,
                wsInstanceCountOther                    Counter64,
                wsInstanceCount200                      Counter64,
                wsInstanceCount302                      Counter64,
                wsInstanceCount304                      Counter64,
                wsInstanceCount400                      Counter64,
                wsInstanceCount401                      Counter64,
                wsInstanceCount403                      Counter64,
                wsInstanceCount404                      Counter64,
                wsInstanceCount503                      Counter64,
                wsInstanceLoad1MinuteAverage            DisplayString,
                wsInstanceLoad5MinuteAverage            DisplayString,
                wsInstanceLoad15MinuteAverage           DisplayString,
                wsInstanceNetworkInOctets               WsUnsigned64TC,
                wsInstanceNetworkOutOctets              WsUnsigned64TC
        }

        wsInstanceIndex                 OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server instance index"
                ::= { wsInstanceEntry 1 }

        wsInstanceId                    OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Web Server instance identifier. Examples: https-test, https-config1."
                ::= { wsInstanceEntry 2 }

        wsInstanceVersion               OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Web Server instance software version. Example: Sun Java System Web Server 7.0 B10/10/2005 12:57 (SunOS DOMESTIC)"
                ::= { wsInstanceEntry 3 }

        wsInstanceDescription           OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Description of server instance"
                ::= { wsInstanceEntry 4 }

        wsInstanceOrganization          OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Organization responsible for server instance"
                ::= { wsInstanceEntry 5 }

        wsInstanceContact               OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Contact information for person(s) responsible for server instance"
                ::= { wsInstanceEntry 6 }

        wsInstanceLocation              OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Location of server instance"
                ::= { wsInstanceEntry 7 }

        wsInstanceStatus                OBJECT-TYPE
                SYNTAX                  WsStatusValueTC
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Web Server instance status"
                ::= { wsInstanceEntry 8 }

        wsInstanceUptime                OBJECT-TYPE
                SYNTAX                  TimeTicks
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Web Server instance uptime"
                ::= { wsInstanceEntry 9 }

        wsInstanceDeathCount            OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of times server instance processes have died"
                ::= { wsInstanceEntry 10 }

        wsInstanceRequests              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of requests processed"
                ::= { wsInstanceEntry 11 }

        wsInstanceInOctets              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of octets received"
                ::= { wsInstanceEntry 12 }

        wsInstanceOutOctets             OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of octets transmitted"
                ::= { wsInstanceEntry 13 }

        wsInstanceCount2xx              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 200-level (Successful) responses issued"
                ::= { wsInstanceEntry 14 }

        wsInstanceCount3xx              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 300-level (Redirection) responses issued"
                ::= { wsInstanceEntry 15 }

        wsInstanceCount4xx              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 400-level (Client Error) responses issued"
                ::= { wsInstanceEntry 16 }

        wsInstanceCount5xx              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 500-level (Server Error) responses issued"
                ::= { wsInstanceEntry 17 }

        wsInstanceCountOther            OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of other (neither 2xx, 3xx, 4xx, nor 5xx) responses issued"
                ::= { wsInstanceEntry 18 }

        wsInstanceCount200              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 200 (OK) responses issued"
                ::= { wsInstanceEntry 19 }

        wsInstanceCount302              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 302 (Moved Temporarily) responses issued"
                ::= { wsInstanceEntry 20 }

        wsInstanceCount304              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 304 (Not Modified) responses issued"
                ::= { wsInstanceEntry 21 }

        wsInstanceCount400              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 400 (Bad Request) responses issued"
                ::= { wsInstanceEntry 22 }

        wsInstanceCount401              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 401 (Unauthorized) responses issued"
                ::= { wsInstanceEntry 23 }

        wsInstanceCount403              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 403 (Forbidden) responses issued"
                ::= { wsInstanceEntry 24 }

        wsInstanceCount404              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 404 (Not Found) responses issued"
                ::= { wsInstanceEntry 25 }

        wsInstanceCount503              OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 503 (Unavailable) responses issued"
                ::= { wsInstanceEntry 26 }

        wsInstanceLoad1MinuteAverage    OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "System load average for 1 minute. Example: 0.3984375"
                ::= { wsInstanceEntry 27 }

        wsInstanceLoad5MinuteAverage    OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "System load average for 5 minutes. Example: 0.3984375"
                ::= { wsInstanceEntry 28 }

        wsInstanceLoad15MinuteAverage   OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "System load average for 15 minutes. Example: 0.3984375"
                ::= { wsInstanceEntry 29 }

        wsInstanceNetworkInOctets       OBJECT-TYPE
                SYNTAX                  WsUnsigned64TC
                UNITS                   "bytes/sec"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of octets transmitted on the network per second"
                ::= { wsInstanceEntry 30 }

        wsInstanceNetworkOutOctets      OBJECT-TYPE
                SYNTAX                  WsUnsigned64TC
                UNITS                   "bytes/sec"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of octets received on the network per second"
                ::= { wsInstanceEntry 31 }

--
-- Processes
--

        wsProcessTable                  OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsProcessEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server processes"
                ::= { sunWSMIB 2 }

        wsProcessEntry                  OBJECT-TYPE
                SYNTAX                  WsProcessEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server process"
                INDEX                   { wsInstanceIndex, wsProcessIndex }
                ::= { wsProcessTable 1 }

        WsProcessEntry ::= SEQUENCE {
                wsProcessIndex                          WsPositive32TC,
                wsProcessId                             Integer32,
                wsProcessThreadCount                    Gauge32,
                wsProcessThreadIdle                     Gauge32,
                wsProcessConnectionQueueCount           Gauge32,
                wsProcessConnectionQueuePeak            Counter32,
                wsProcessConnectionQueueMax             Gauge32,
                wsProcessConnectionQueueTotal           Counter64,
                wsProcessConnectionQueueOverflows       Counter32,
                wsProcessKeepaliveCount                 Gauge32,
                wsProcessKeepaliveMax                   Gauge32,
                wsProcessSizeVirtual                    WsUnsigned64TC,
                wsProcessSizeResident                   WsUnsigned64TC,
                wsProcessFractionSystemMemoryUsage      DisplayString
        }

        wsProcessIndex                  OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Process index"
                ::= { wsProcessEntry 1 }

        wsProcessId                     OBJECT-TYPE
                SYNTAX                  Integer32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Operating system process identifier"
                ::= { wsProcessEntry 2 }

        wsProcessThreadCount            OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of request processing threads currently available"
                ::= { wsProcessEntry 3 }
       
        wsProcessThreadIdle             OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of request processing threads currently idle"
                ::= { wsProcessEntry 4 }
       
        wsProcessConnectionQueueCount   OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of connections currently in connection queue"
                ::= { wsProcessEntry 5 }

        wsProcessConnectionQueuePeak    OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Largest number of connections that have been queued simultaneously"
                ::= { wsProcessEntry 6 }

        wsProcessConnectionQueueMax     OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Maximum number of connections allowed in connection queue"
                ::= { wsProcessEntry 7 }

        wsProcessConnectionQueueTotal   OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of connections that have been accepted"
                ::= { wsProcessEntry 8 }

        wsProcessConnectionQueueOverflows OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of connections rejected due to connection queue overflow"
                ::= { wsProcessEntry 9 }

        wsProcessKeepaliveCount         OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of connections currently in keepalive queue"
                ::= { wsProcessEntry 10 }

        wsProcessKeepaliveMax           OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Maximum number of connections allowed in keepalive queue"
                ::= { wsProcessEntry 11 }

        wsProcessSizeVirtual            OBJECT-TYPE
                SYNTAX                  WsUnsigned64TC
                UNITS                   "kbytes"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Process size in kbytes"
                ::= { wsProcessEntry 12 }

        wsProcessSizeResident           OBJECT-TYPE
                SYNTAX                  WsUnsigned64TC
                UNITS                   "kbytes"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Process resident size in kbytes"
                ::= { wsProcessEntry 13 }

        wsProcessFractionSystemMemoryUsage OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Fraction of process memory in system memory. Example: 0.10022"
                ::= { wsProcessEntry 14 }

--
-- HTTP Listeners
--

        wsListenerTable                 OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsListenerEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server HTTP listeners"
                ::= { sunWSMIB 3 }

        wsListenerEntry                 OBJECT-TYPE
                SYNTAX                  WsListenerEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server HTTP listener"
                INDEX                   { wsInstanceIndex, wsProcessIndex, wsListenerIndex }
                ::= { wsListenerTable 1 }

        WsListenerEntry ::= SEQUENCE {
                wsListenerIndex                         WsPositive32TC,
                wsListenerId                            DisplayString,
                wsListenerAddressType                   InetAddressType,
                wsListenerAddress                       InetAddress,
                wsListenerPort                          WsPositive32TC,
                wsListenerSecurity                      WsEnabledValueTC
        }

        wsListenerIndex                 OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "HTTP Listener index"
                ::= { wsListenerEntry 1 }

        wsListenerId                    OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "HTTP Listener identifier. Examples: http-listener-1, port-80"
                ::= { wsListenerEntry 2 }

        wsListenerAddressType           OBJECT-TYPE
                SYNTAX                  InetAddressType
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Indicates the InetAddressType of
                                         the wsListenerAddress object,
                                         as per RFC 4001"
                DEFVAL { ipv4 } 
                ::= { wsListenerEntry 3 }

        wsListenerAddress               OBJECT-TYPE
                SYNTAX                  InetAddress
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Address the HTTP listener is listening on"
                ::= { wsListenerEntry 4 }

        wsListenerPort                  OBJECT-TYPE
                SYNTAX                  WsPositive32TC
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Port the HTTP listener is listening on"
                ::= { wsListenerEntry 5 }

        wsListenerSecurity              OBJECT-TYPE
                SYNTAX                  WsEnabledValueTC
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Encryption support"
                ::= { wsListenerEntry 6 }

--
-- Thread pools
--

        wsThreadPoolTable               OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsThreadPoolEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server thread pools"
                ::= { sunWSMIB 4 }

        wsThreadPoolEntry               OBJECT-TYPE
                SYNTAX                  WsThreadPoolEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server thread pool"
                INDEX                   { wsInstanceIndex, wsProcessIndex, wsThreadPoolIndex }
                ::= { wsThreadPoolTable 1 }

        WsThreadPoolEntry ::= SEQUENCE {
                wsThreadPoolIndex                       WsPositive32TC,
                wsThreadPoolId                          DisplayString,
                wsThreadPoolCount                       Gauge32,
                wsThreadPoolPeak                        Gauge32,
                wsThreadPoolMax                         Gauge32
        }

        wsThreadPoolIndex               OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Thread pool index"
                ::= { wsThreadPoolEntry 1 }

        wsThreadPoolId                  OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Thread pool identifier. Example: NativePool, java-threads"
                ::= { wsThreadPoolEntry 2 }

        wsThreadPoolCount               OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of requests queued"
                ::= { wsThreadPoolEntry 3 }

        wsThreadPoolPeak                OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Largest number of requests that have been queued simultaneously"
                ::= { wsThreadPoolEntry 4 }

        wsThreadPoolMax                 OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Maximum number of requests allowed in queue"
                ::= { wsThreadPoolEntry 5 }

--
-- JDBC Resource Pool
--

        wsJdbcResourceTable             OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsJdbcResourceEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server JDBC Connection Pool Table"
                ::= { sunWSMIB 5 }

        wsJdbcResourceEntry             OBJECT-TYPE
                SYNTAX                  WsJdbcResourceEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server JDBC Connection Pool Entry"
                INDEX                   { wsInstanceIndex, wsProcessIndex, wsJdbcResourceIndex }
                ::= { wsJdbcResourceTable 1 }

        WsJdbcResourceEntry ::= SEQUENCE {
                wsJdbcResourceIndex                     WsPositive32TC,
                wsJdbcResourceJndiName                  DisplayString,
                wsJdbcConnectionsMax                    Counter32,
                wsJdbcCountConnections                  Gauge32,
                wsJdbcConnectionsPeak                   Counter32,
                wsJdbcTotalConnectionsLeased            Counter64,
                wsJdbcCountConnectionsFree              Gauge32,
                wsJdbcCountConnectionsLeased            Gauge32,
                wsJdbcTotalConnectionsFailedValidation  Counter32,
                wsJdbcCountQueued                       Gauge32,
                wsJdbcPeakQueued                        Counter32,
                wsJdbcWaitTimePeak                      WsTimeMillis64TC,
                wsJdbcWaitTimeAverage                   WsTimeMillis64TC,
                wsJdbcCountConnectionIdleTimeouts       Counter32,
                wsJdbcCountWaitQueueTimeouts            Counter32
        }

        wsJdbcResourceIndex             OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "JDBC resource index"
                ::= { wsJdbcResourceEntry 1 }

        wsJdbcResourceJndiName          OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "JNDI Name of the JDBC resource. Example: PointbasePool"
                ::= { wsJdbcResourceEntry 2 }

        wsJdbcConnectionsMax            OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Maximum number of connections"
                ::= { wsJdbcResourceEntry 3 }

        wsJdbcCountConnections          OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Current number of connections in the pool"
                ::= { wsJdbcResourceEntry 4 }

        wsJdbcConnectionsPeak           OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Peak number of connections at any time"
                ::= { wsJdbcResourceEntry 5 }

        wsJdbcTotalConnectionsLeased    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of connection leases"
                ::= { wsJdbcResourceEntry 6 }

        wsJdbcCountConnectionsFree      OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of free connections in the pool"
                ::= { wsJdbcResourceEntry 7 }

        wsJdbcCountConnectionsLeased    OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of connections currently leased"
                ::= { wsJdbcResourceEntry 8 }

        wsJdbcTotalConnectionsFailedValidation OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of connections that have failed validation"
                ::= { wsJdbcResourceEntry 9 }

        wsJdbcCountQueued               OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of connection requests that are currently in the queue"
                ::= { wsJdbcResourceEntry 10 }

        wsJdbcPeakQueued                OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Highest number of connection requests that were in the queue"
                ::= { wsJdbcResourceEntry 11 }

        wsJdbcWaitTimePeak              OBJECT-TYPE
                SYNTAX                  WsTimeMillis64TC
                UNITS                   "milliseconds"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The maximum time in milliseconds that any connection request has been in the wait queue"
                ::= { wsJdbcResourceEntry 12 }

        wsJdbcWaitTimeAverage           OBJECT-TYPE
                SYNTAX                  WsTimeMillis64TC
                UNITS                   "milliseconds"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The average time in milliseconds that requests have been in the wait queue"
                ::= { wsJdbcResourceEntry 13 }
        
        wsJdbcCountConnectionIdleTimeouts OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The total number of connections that have been closed due to idle timeout"
                ::= { wsJdbcResourceEntry 14 }

        wsJdbcCountWaitQueueTimeouts    OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The total number of connection requests that have timed out from the wait queue without getting a connection"
                ::= { wsJdbcResourceEntry 15 }

--
-- JVM 
--
        wsJvmTable                      OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsJvmEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server embedded Java Virtual Machine"
                ::= { sunWSMIB 6 }

        wsJvmEntry                       OBJECT-TYPE
                SYNTAX                   WsJvmEntry
                MAX-ACCESS               not-accessible
                STATUS                   current
                DESCRIPTION              "Web Server embedded Java Virtual Machine"
                INDEX                    { wsInstanceIndex, wsProcessIndex }
                ::= { wsJvmTable 1 }

        WsJvmEntry ::= SEQUENCE {
                wsJvmName                               DisplayString,
                wsJvmVendor                             DisplayString,
                wsJvmVersion                            DisplayString,
                wsJvmCountClassesLoaded                 Gauge32,
                wsJvmTotalClassesLoaded                 Counter64,
                wsJvmTotalClassesUnloaded               Counter64,
                wsJvmSizeHeap                           WsUnsigned64TC,
                wsJvmPeakThreads                        Counter32,
                wsJvmTotalThreadsStarted                Counter64,
                wsJvmCountThreads                       Gauge32,
                wsJvmCountGarbageCollections            Counter64,
                wsJvmGarbageCollectionTime              WsTimeMillis64TC
        }

        wsJvmName                       OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "JVM identifier. Example: Java HotSpot(TM) Server VM"
                ::= { wsJvmEntry 1 }

        wsJvmVendor                     OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Java Virtual Machine implementation vendor. Example: Sun Microsystems Inc."
                ::= { wsJvmEntry 2 }

        wsJvmVersion                    OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Java Virtual Machine implementation version. Example: 1.5.0_06-ea-b02"
                ::= { wsJvmEntry 3 }

        wsJvmCountClassesLoaded         OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of classes that are currently loaded in the Java Virtual Machine"
                ::= { wsJvmEntry 4 }

        wsJvmTotalClassesLoaded         OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of classes that have been loaded since the Java Virtual Machine has started execution"
                ::= { wsJvmEntry 5 }

        wsJvmTotalClassesUnloaded       OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of classes unloaded since the Java Virtual Machine has started execution"
                ::= { wsJvmEntry 6 }

        wsJvmSizeHeap                   OBJECT-TYPE
                SYNTAX                  WsUnsigned64TC
                UNITS                   "bytes"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Heap memory used in bytes by the Java Virtual Machine"
                ::= { wsJvmEntry 7 }

        wsJvmPeakThreads                OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Peak live thread count since the Java Virtual Machine started or peak was reset"
                ::= { wsJvmEntry 8 }

        wsJvmTotalThreadsStarted        OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of threads created and also started since the Java Virtual Machine started"
                ::= { wsJvmEntry 9 }

        wsJvmCountThreads               OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Current number of live threads including both daemon and non-daemon threads"
                ::= { wsJvmEntry 10 }

        wsJvmCountGarbageCollections    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of garbage collections that have occurred"
                ::= { wsJvmEntry 11 }

        wsJvmGarbageCollectionTime      OBJECT-TYPE
                SYNTAX                  WsTimeMillis64TC
                UNITS                   "milliseconds"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Approximate accumulated garbage collection elapsed time in milliseconds"
                ::= { wsJvmEntry 12 }

--
-- Virtual servers
--

        wsVsTable                       OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsVsEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server virtual servers"
                ::= { sunWSMIB 7 }

        wsVsEntry                        OBJECT-TYPE
                SYNTAX                   WsVsEntry
                MAX-ACCESS               not-accessible
                STATUS                   current
                DESCRIPTION              "Web Server virtual server"
                INDEX                    { wsInstanceIndex, wsVsIndex }
                ::= { wsVsTable 1 }

        WsVsEntry ::= SEQUENCE { 
                wsVsIndex                               WsPositive32TC,
                wsVsId                                  DisplayString,
                wsVsRequests                            Counter64,
                wsVsInOctets                            Counter64,
                wsVsOutOctets                           Counter64,
                wsVsCount2xx                            Counter64,
                wsVsCount3xx                            Counter64,
                wsVsCount4xx                            Counter64,
                wsVsCount5xx                            Counter64,
                wsVsCountOther                          Counter64,
                wsVsCount200                            Counter64,
                wsVsCount302                            Counter64,
                wsVsCount304                            Counter64,
                wsVsCount400                            Counter64,
                wsVsCount401                            Counter64,
                wsVsCount403                            Counter64,
                wsVsCount404                            Counter64,
                wsVsCount503                            Counter64
        }

        wsVsIndex                       OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Virtual server index"
                ::= { wsVsEntry 1 }

        wsVsId                          OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Virtual server identifier. Examples: www.charity.org, my-vsid"
                ::= { wsVsEntry 2 }

        wsVsRequests                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of requests processed"
                ::= { wsVsEntry 3 }

        wsVsInOctets                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of octets received"
                ::= { wsVsEntry 4 }

        wsVsOutOctets                   OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of octets transmitted"
                ::= { wsVsEntry 5 }

        wsVsCount2xx                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 200-level (Successful) responses issued"
                ::= { wsVsEntry 6 }

        wsVsCount3xx                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 300-level (Redirection) responses issued"
                ::= { wsVsEntry 7 }

        wsVsCount4xx                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 400-level (Client Error) responses issued"
                ::= { wsVsEntry 8 }

        wsVsCount5xx                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 500-level (Server Error) responses issued"
                ::= { wsVsEntry 9 }

        wsVsCountOther                  OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of other (neither 2xx, 3xx, 4xx, nor 5xx) responses issued"
                ::= { wsVsEntry 10 }

        wsVsCount200                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 200 (OK) responses issued"
                ::= { wsVsEntry 11 }

        wsVsCount302                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 302 (Moved Temporarily) responses issued"
                ::= { wsVsEntry 12 }

        wsVsCount304                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 304 (Not Modified) responses issued"
                ::= { wsVsEntry 13 }

        wsVsCount400                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 400 (Bad Request) responses issued"
                ::= { wsVsEntry 14 }

        wsVsCount401                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 401 (Unauthorized) responses issued"
                ::= { wsVsEntry 15 }
            
        wsVsCount403                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 403 (Forbidden) responses issued"
                ::= { wsVsEntry 16 }

        wsVsCount404                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 404 (Not Found) responses issued"
                ::= { wsVsEntry 17 }

        wsVsCount503                    OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of 503 (Unavailable) responses issued"
                ::= { wsVsEntry 18 }

--
-- Web Application
--

        wsWebAppTable                   OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsWebAppEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server deployed web applications"
                ::= { sunWSMIB 8 }
       
        wsWebAppEntry                   OBJECT-TYPE
                SYNTAX                  WsWebAppEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server deployed web application"
                INDEX                   { wsInstanceIndex, wsVsIndex, wsWebAppIndex }
                ::= { wsWebAppTable 1 }

        WsWebAppEntry ::= SEQUENCE { 
                wsWebAppIndex                           WsPositive32TC,
                wsWebAppUri                             DisplayString,
                wsWebAppMode                            WsModeValueTC,
                wsWebAppCountJsps                       Counter32,
                wsWebAppCountReloadedJsps               Counter32,
                wsWebAppCountSessions                   Counter32,
                wsWebAppCountActiveSessions             Gauge32,
                wsWebAppPeakActiveSessions              Counter32,
                wsWebAppCountRejectedSessions           Counter32,
                wsWebAppCountExpiredSessions            Counter32,
                wsWebAppSessionAliveTimeMax             Gauge32,
                wsWebAppSessionAliveTimeAverage         WsTimeMillis64TC
        }

        wsWebAppIndex                   OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web application index"
                ::= { wsWebAppEntry 1 }
   
        wsWebAppUri                     OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "URI at which the web application is deployed"
                ::= { wsWebAppEntry 2 }

        wsWebAppMode                    OBJECT-TYPE
                SYNTAX                  WsModeValueTC
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "State of the web application"
                ::= { wsWebAppEntry 3 }

        wsWebAppCountJsps               OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of JSPs loaded"
                ::= { wsWebAppEntry 4 }

        wsWebAppCountReloadedJsps       OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of JSPs reloaded"
                ::= { wsWebAppEntry 5 }

        wsWebAppCountSessions           OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of sessions serviced by this web application"
                ::= { wsWebAppEntry 6 }

        wsWebAppCountActiveSessions     OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of active sessions at the time the statistics were gathered"
                ::= { wsWebAppEntry 7 }

        wsWebAppPeakActiveSessions      OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Peak number of active sessions since the web application was loaded"
                ::= { wsWebAppEntry 8 }

        wsWebAppCountRejectedSessions   OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of sessions rejected"
                ::= { wsWebAppEntry 9 }

        wsWebAppCountExpiredSessions    OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Total number of sessions that expired"
                ::= { wsWebAppEntry 10 }

        wsWebAppSessionAliveTimeMax     OBJECT-TYPE
                SYNTAX                  Gauge32
                UNITS                   "seconds"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Longest time in seconds that an expired session had been alive"
                ::= { wsWebAppEntry 11 }

        wsWebAppSessionAliveTimeAverage OBJECT-TYPE
                SYNTAX                  WsTimeMillis64TC
                UNITS                   "milliseconds"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Average time in milliseconds that expired sessions had been alive"
                ::= { wsWebAppEntry 12 }

--
-- Servlet Response Cache
--
        wsServRespCacheTable            OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsServRespCacheEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server servlet response cache"
                ::= { sunWSMIB 9 }

        wsServRespCacheEntry            OBJECT-TYPE
                SYNTAX                  WsServRespCacheEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server servlet response cache"
                INDEX                   { wsInstanceIndex, wsVsIndex, wsWebAppIndex }
                ::= { wsServRespCacheTable 1 }

        WsServRespCacheEntry ::= SEQUENCE { 
                wsServRespCacheEntriesMax               Gauge32,
                wsServRespCacheThreshold                Gauge32,
                wsServRespCacheTableSize                Gauge32,
                wsServRespCacheCountEntries             Gauge32,
                wsServRespCacheCountHits                Counter32,
                wsServRespCacheCountMisses              Counter32,
                wsServRespCacheCountEntriesRefreshed    Counter32,
                wsServRespCacheCountEntriesOverflowed   Counter32,
                wsServRespCacheCountEntriesAdded        Counter32,
                wsServRespCacheCountEntriesRemoved      Counter32,
                wsServRespCacheSizeCurrent              WsUnsigned64TC,
                wsServRespCacheSizeMax                  WsUnsigned64TC
        }

        wsServRespCacheEntriesMax       OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Maximum possible number of entries"
                ::= { wsServRespCacheEntry 1 }

        wsServRespCacheThreshold        OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "When reached an overflow will occur"
                ::= { wsServRespCacheEntry 2 }

        wsServRespCacheTableSize        OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Current Number of buckets"
                ::= { wsServRespCacheEntry 3 }

        wsServRespCacheCountEntries     OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Current Number of Entries"
                ::= { wsServRespCacheEntry 4 }

        wsServRespCacheCountHits        OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of cache hits"
                ::= { wsServRespCacheEntry 5 }

        wsServRespCacheCountMisses      OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of cache misses"
                ::= { wsServRespCacheEntry 6 }

        wsServRespCacheCountEntriesRefreshed OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of values that have been refreshed (replaced with a new value in an existing extry)"
                ::= { wsServRespCacheEntry 7 }

        wsServRespCacheCountEntriesOverflowed OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times that an overflow has occurred"
                ::= { wsServRespCacheEntry 8 }

        wsServRespCacheCountEntriesAdded OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times new entries have been added"
                ::= { wsServRespCacheEntry 9 }

        wsServRespCacheCountEntriesRemoved OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of entries that have been trimmed"
                ::= { wsServRespCacheEntry 10 }

        wsServRespCacheSizeCurrent      OBJECT-TYPE
                SYNTAX                  WsUnsigned64TC
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Current size of the cache in bytes"
                ::= { wsServRespCacheEntry 11 }

        wsServRespCacheSizeMax          OBJECT-TYPE
                SYNTAX                  WsUnsigned64TC
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The upper bound on the cache size"
                ::= { wsServRespCacheEntry 12 }

--
-- Servlets
--

        wsServletTable                  OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsServletEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Servlets deployed within a web application"
                ::= { sunWSMIB 10 }
       
        wsServletEntry                  OBJECT-TYPE
                SYNTAX                  WsServletEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Servlet deployed within a web application"
                INDEX                   { wsInstanceIndex, wsVsIndex, wsWebAppIndex, wsServletIndex }
                ::= { wsServletTable 1 }

        WsServletEntry ::= SEQUENCE { 
                wsServletIndex                          WsPositive32TC,
                wsServletName                           DisplayString,
                wsServletCountRequests                  Counter64,
                wsServletCountErrors                    Counter64,
                wsServletProcessingTime                 WsTimeMillis64TC,
                wsServletPeakProcessingTime             WsTimeMillis64TC
        }

        wsServletIndex                  OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Servlet index"
                ::= { wsServletEntry 1 }

        wsServletName                   OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Servlet name"
                ::= { wsServletEntry 2 }

        wsServletCountRequests          OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of requests serviced by the servlet"
                ::= { wsServletEntry 3 }

        wsServletCountErrors            OBJECT-TYPE
                SYNTAX                  Counter64
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of error that occured during request processing"
                ::= { wsServletEntry 4 }

        wsServletProcessingTime         OBJECT-TYPE
                SYNTAX                  WsTimeMillis64TC
                UNITS                   "milliseconds"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The total time in milliseconds spent in servicing requests"
                ::= { wsServletEntry 5 }

        wsServletPeakProcessingTime     OBJECT-TYPE
                SYNTAX                  WsTimeMillis64TC
                UNITS                   "milliseconds"
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The peak processing time in milliseconds spent by any request"
                ::= { wsServletEntry 6 }

-- 
-- Session Replication
--
        wsSessReplTable                 OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsSessReplEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Web Server servlet response cache"
                ::= { sunWSMIB 11 }

        wsSessReplEntry        OBJECT-TYPE
                SYNTAX                  WsSessReplEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "session replication client"
                INDEX                   { wsInstanceIndex }
                ::= { wsSessReplTable 1 }

        WsSessReplEntry::= SEQUENCE {
                wsSessReplCountSelfRecoveryAttempts     Counter32,
                wsSessReplCountSelfRecoveryFailures     Counter32,
                wsSessReplCountFailoverAttempts         Counter32,
                wsSessReplCountFailoverFailures         Counter32,
                wsSessReplMembers                       DisplayString,
                wsSessReplCurrentBackupInstanceId       DisplayString,
                wsSessReplState                         WsSessReplStateTC,
                wsSessReplCountBkupConnFailures         Counter32,
                wsSessReplCountBkupConnFailoverSuccess  Counter32,
                wsSessReplCountPutsSent                 Counter32,
                wsSessReplCountGetsSent                 Counter32,
                wsSessReplCountRemovesSent              Counter32,
                wsSessReplCountPutsReceived             Counter32,
                wsSessReplCountGetsReceived             Counter32,
                wsSessReplCountRemovesReceived          Counter32,
                wsSessReplCountAsyncQueueEntries        Gauge32,
                wsSessReplCountAsyncQueuePeakEntries    Counter32,
                wsSessReplCountLockFailures             Counter32
        }

        wsSessReplCountSelfRecoveryAttempts OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times session self recovery attempted"
                ::= { wsSessReplEntry 1 }

        wsSessReplCountSelfRecoveryFailures OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times session self recovery failed"
                ::= { wsSessReplEntry 2 }

        wsSessReplCountFailoverAttempts OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of session failover attempts"
                ::= { wsSessReplEntry 3 }

        wsSessReplCountFailoverFailures OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Number of session failover failures"
                ::= { wsSessReplEntry 4 }

        wsSessReplMembers               OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The ordered list(comma separated) of member instance-ids of the cluster.
                                         Example: <hostname@portno>,<hostname@portno>"
                ::= { wsSessReplEntry 5 }

        wsSessReplCurrentBackupInstanceId OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Instance-id of the current backup instance. Example: <hostname@portno>"
                ::= { wsSessReplEntry 6 }

        wsSessReplState                 OBJECT-TYPE
                SYNTAX                  WsSessReplStateTC
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Current state of the subsytem"
                ::= { wsSessReplEntry 7 }

        wsSessReplCountBkupConnFailures OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times connection to the backup instance failed"
                ::= { wsSessReplEntry 8 }

        wsSessReplCountBkupConnFailoverSuccess         OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times backup connection was established successfully after a failover"
                ::= { wsSessReplEntry 9 }

        wsSessReplCountPutsSent         OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times a put request was sent to a remote instance"
                ::= { wsSessReplEntry 10 }

        wsSessReplCountGetsSent         OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times a get request was sent to a remote instance"
                ::= { wsSessReplEntry 11 }

        wsSessReplCountRemovesSent      OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times a remove request was sent to a remote instance"
                ::= { wsSessReplEntry 12 }

        wsSessReplCountPutsReceived     OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times a put request was received from a remote instance"
                ::= { wsSessReplEntry 13 }

        wsSessReplCountGetsReceived     OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times a get request was received from a remote instance"
                ::= { wsSessReplEntry 14 }

        wsSessReplCountRemovesReceived  OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of times a remove request was received from a remote instance"
                ::= { wsSessReplEntry 15 }

        wsSessReplCountAsyncQueueEntries OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The current number of entries in async queue"
                ::= { wsSessReplEntry 16 }

        wsSessReplCountAsyncQueuePeakEntries OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Peak number of entries in async queue"
                ::= { wsSessReplEntry 17 }

        wsSessReplCountLockFailures     OBJECT-TYPE
                SYNTAX                  Counter32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The number of failed attempts to acquire the background session lock"
                ::= { wsSessReplEntry 18 }

--
-- Instance Session Store
--

        wsInstSessStoreTable            OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsInstSessStoreEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Instance Session replication session store table"
                ::= { sunWSMIB 12 }

        wsInstSessStoreEntry            OBJECT-TYPE
                SYNTAX                  WsInstSessStoreEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "session replication session store"
                INDEX                   { wsInstanceIndex, wsInstSessStoreIndex }
                ::= { wsInstSessStoreTable 1 }

        WsInstSessStoreEntry::= SEQUENCE {
                wsInstSessStoreIndex             WsPositive32TC,
                wsInstSessStoreInstanceId        DisplayString
        }
        wsInstSessStoreIndex            OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Instance session store index"
                ::= { wsInstSessStoreEntry 1 }

        wsInstSessStoreInstanceId       OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Instance ID of the session store"
                ::= { wsInstSessStoreEntry 2 }

--
-- Web Application Session Store
--

        wsWebAppSessStoreTable          OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsWebAppSessStoreEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "session replication session store table"
                ::= { sunWSMIB 13 }

        wsWebAppSessStoreEntry          OBJECT-TYPE
                SYNTAX                  WsWebAppSessStoreEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "session replication session store"
                INDEX                   { wsInstanceIndex, wsInstSessStoreIndex, wsWebAppSessStoreIndex }
                ::= { wsWebAppSessStoreTable 1 }

        WsWebAppSessStoreEntry::= SEQUENCE {
                wsWebAppSessStoreIndex                  WsPositive32TC,
                wsWebAppSessStoreVsId                   DisplayString,
                wsWebAppSessStoreUri                    DisplayString,
                wsWebAppSessStoreCountSessions          Gauge32
        }
        wsWebAppSessStoreIndex          OBJECT-TYPE
                SYNTAX                  WsPositive32TC
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "Session store index"
                ::= { wsWebAppSessStoreEntry 1 }

        wsWebAppSessStoreVsId           OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The name of the virtual server on which the web application is deployed"
                ::= { wsWebAppSessStoreEntry 2 }

        wsWebAppSessStoreUri            OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "The context URI at which the web application is deployed"
                ::= { wsWebAppSessStoreEntry 3 }

        wsWebAppSessStoreCountSessions  OBJECT-TYPE
                SYNTAX                  Gauge32
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Current number of entries in this store"
                ::= { wsWebAppSessStoreEntry 4 }

--
-- Cpus
--

        wsCpuTable                      OBJECT-TYPE
                SYNTAX                  SEQUENCE OF WsCpuEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "CPUs"
                ::= { sunWSMIB 14 }

        wsCpuEntry                      OBJECT-TYPE
                SYNTAX                  WsCpuEntry
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "CPU"
                INDEX                   { wsInstanceIndex, wsCpuIndex }
                ::= { wsCpuTable 1 }

        WsCpuEntry ::= SEQUENCE { 
                wsCpuIndex              WsPositive32TC,
                wsCpuId                 DisplayString,
                wsCpuIdleTime           DisplayString,
                wsCpuUserTime           DisplayString,
                wsCpuKernelTime         DisplayString
        }

        wsCpuIndex                      OBJECT-TYPE
                SYNTAX                  WsPositive32TC 
                MAX-ACCESS              not-accessible
                STATUS                  current
                DESCRIPTION             "CPU index"
                ::= { wsCpuEntry 1 }

        wsCpuId                         OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "CPU identifier"
                ::= { wsCpuEntry 2 }

        wsCpuIdleTime                   OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Percentage of the time that the CPU is idle. Example: 98.616601"
                ::= { wsCpuEntry 3 }

        wsCpuUserTime                   OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Percentage of the time the CPU is spending in user space. Example: 0.790514"
                ::= { wsCpuEntry 4 }

        wsCpuKernelTime                 OBJECT-TYPE
                SYNTAX                  DisplayString
                MAX-ACCESS              read-only
                STATUS                  current
                DESCRIPTION             "Percentage of the time the CPU is spending in kernel space. Example: 0.592885"
                ::= { wsCpuEntry 5 }

--
-- Traps
--

        sunWSMIBNotifications OBJECT IDENTIFIER ::= { sunWSMIB 15 0 }

        wsInstanceStatusChange NOTIFICATION-TYPE
                OBJECTS       { wsInstanceId }
                STATUS        current
                DESCRIPTION     "A wsInstanceStatusChange trap signifies that wsInstanceStatus has changed"
                ::= { sunWSMIBNotifications 1 }

END
