Sun Java System Web Server stores variables pertaining to network management. Variables that the master agent can access are called managed objects. These objects are defined in a tree-like structure called the MIB, which provides access to the web server’s network configuration, status, and statistics. Using SNMP, you can view this information from the network management workstation (NMS).
A server’s MIB contains variable definitions pertaining to network management for that particular server. The top level of the MIB tree is shown in The Sun Java System Web Server MIBthe figure below:
The top level of the MIB tree shows that the internet object identifier has four subtrees: directory (1), mgmt (2), experimental (3), and private (4). The private (4) subtree contains the enterprises (1) node. Each subtree in the enterprises (1) node is assigned to an individual enterprise, which is an organization that has registered its own specific MIB extensions. An enterprise can then create product-specific subtrees under its subtree. MIBs created by companies are located under the enterprises (1) node. The Sun Java System MIBs are located under the enterprises (1) node.
Each Sun Java System Web Server subagent provides a MIB for use in SNMP communication. The server reports significant events to the NMS by sending messages or traps containing these variables. The NMS can also query the server’s MIB for data, or can remotely change variables in the MIB.
Each Sun Java System server has its own MIB. All Sun Java System MIBs are located at:
server_root/plugins/snmp
The Sun Java System Web Server’s MIB is a file called webserv61.mib. This MIB contains the definitions for various variables pertaining to network management for Sun Java System Web Server.
The Sun Java System Web Server 6.1 MIB has an object identifier of http 60 (iws60 OBJECT IDENTIFIER ::= {http 60 }) and is located in the server_root/plugins/snmp directory.
You can see administrative information about your web server and monitor the server in real time using the Sun Java System Web Server MIB. The Sun Java System Web Server MIB lists and describes the managed objects stored in the webserv61.mib.
Table 11–1 webserv61.mib managed objects and descriptions
Managed object |
Description |
---|---|
Sun Java System Web Server instances. |
|
Sun Java System Web Server instance. |
|
Server instance index. |
|
Server instance identifier |
|
String, such as SunJava System-WebServer/6.1 BB1-01/24/2001 17:15 (SunOS DOMESTIC) |
|
Description of the server instance. |
|
Organization responsible for the server instance. |
|
Contact information for person(s) responsible for server instance. |
|
The location of the server. |
|
Status of the server instance. |
|
The time for which the server has been running. |
|
Number of times server instance processes have gone down. |
|
Number of requests processed by the server instance. |
|
Number of octets received by the server instance. Will show 0 if information is not available. |
|
Number of octets transmitted by the server instance. Will show 0 if information is not available. |
|
Number of 200-level (Successful) responses issued by the server instance. |
|
iwsInstanceCount3xx |
Number of 300-level (Redirection) responses issued by the server instance. |
iwsInstanceCount4xx |
Number of 400-level (Client Error) responses issued by the server instance. |
iwsInstanceCount5xx |
Number of 500-level (Server Error) responses issued by the server instance. |
Number of other (neither 2xx, 3xx, 4xx, nor 5xx) responses issued by the server instance. |
|
iwsInstanceCount200 |
Number of 200 (Request Fulfilled) responses issued by the server instance. |
iwsInstanceCount302 |
Number of 302 (Moved Temporarily) responses issued by the server instance. |
iwsInstanceCount304 |
Number of 304 (Not Modified) responses issued by the server instance. |
iwsInstanceCount400 |
Number of 400 (Bad Request) responses issued by the server instance. |
iwsInstanceCount401 |
Number of 401 (Unauthorized) responses issued by the server instance. |
iwsInstanceCount403 |
Number of 403 (Forbidden) responses issued by the server instance. |
iwsInstanceCount404 |
Number of 404 (Not Found) responses issued by the server instance. |
iwsInstanceCount503 |
Number of 503 (Unavailable) responses issued. |
Sun Java System Web Server virtual servers. |
|
Sun Java System Web Server virtual server. |
|
Virtual server index. |
|
Virtual server identifier. |
|
Number of requests processed by the virtual server. |
|
Number of octets received by the virtual server. |
|
Number of octets transmitted by the virtual server. |
|
Number of 200-level (Successful) responses issued by the virtual server. |
|
iwsVsCount3xx |
Number of 300-level (Redirection) responses issued by the virtual server. |
iwsVsCount4xx |
Number of 400-level (Client Error) responses issued by the virtual server. |
iwsVsCount5xx |
Number of 500-level (Server Error) responses issued by the virtual server. |
Number of other (neither 2xx, 3xx, 4xx, nor 5xx) responses issued by the virtual server. |
|
Number of 200 (Request Fulfilled) responses issued by the virtual server. |
|
Number of 302 (Moved Temporarily) responses issued by the virtual server. |
|
Number of 304 (Not Modified) responses issued by the virtual server. |
|
Number of 400 (Bad Request) responses issued by the virtual server. |
|
Number of 401 (Unauthorized) responses issued by the virtual server. |
|
Number of 403 (Forbidden) responses issued by the virtual server. |
|
Number of 404 (Not Found) responses issued by the virtual server. |
|
Number of 503 (Unavailable) responses issued. |
|
Sun Java System Web Server processes. |
|
Sun Java System Web Server process. |
|
Process index. |
|
Operating system process identifier. |
|
Number of request processing threads. |
|
Number of request processing threads currently idle. |
|
Number of connections currently in connection queue. |
|
Largest number of connections that have been queued simultaneously. |
|
Maximum number of connections allowed in connection queue. |
|
Number of connections that have been accepted. |
|
Number of connections rejected due to connection queue overflow. |
|
Number of connections currently in keepalive queue. |
|
Maximum number of connections allowed in keepalive queue. |
|
Process resident size in kbytes. |
|
Process size in kbytes. |
|
Fraction of process memory in system memory. |
|
Sun Java System Web Server listen sockets. |
|
Sun Java System Web Server listen socket. |
|
Listen socket index. |
|
Listen socket identifier. |
|
Address where socket listens. |
|
Port where socket listens. |
|
Encryption support. |
|
Sun Java System Web Server thread pools. |
|
Sun Java System Web Server thread pool. |
|
Thread pool index. |
|
Thread pool identifier. |
|
Number of requests queued. |
|
Largest number of requests that have been queued simultaneously. |
|
Maximum number of requests allowed in queue. |
|
An iwsInstanceStatusChange trap signifies that iwsInstanceStatus has changed. |
|
System load average for one minute. |
|
System load average for five minutes. |
|
System load average for fifteen minutes. |
|
Number of octets transmitted on the network per second. |
|
Number of octets received on the network per second. |
|
The CPU index. |
|
The CPU id. |
|
The CPU idle time. |
|
The CPU user time. |
|
The CPU kernel time. |