Monitoring Pramati Web Server 15 Overview This section describes how to monitor Pramati Web Server from the Console. You can monitor information regarding the running Default Server and Virtual Hosts, if any. Monitoring web server On the Console, select Monitor > Web Server in the Explore panel. This provides the following information in the display panel. Table 1: Details for the web server Field Description Name The domain name by which you want to set up the Virtual host. DNS should be able to resolve this hostname entry. Document Root The Document Root location from where the Server serves the requested files as *.html, *.gif, *.jsp. This is different from the default doc root of the Server, which is: <install_root>/server/nodes/node_name/archives/public_html Hits The number of hits on the server. Sessions The number of sessions running on the server. Errors The number of errors logged. Statistics Clicking Statistics displays details about the start time of the application, the traffic, the sessions, the types and number of errors. Clicking displays a graphical representation of the report Monitoring web server Statistics To monitor web server related statistics, click Statistics against the desired Server. This displays information regarding:
158 Pramati Server 3.5 Administration Guide Fig Monitoring web server statistics Table 2: Details for web server statistics Fields Options Description Traffic Errors Cache Application Page Requests Sessions Total Types and Hits This section keeps track of the number of visits for different applications. This field displays the application name. This field displays the number of requests made The total number of sessions of an application are displayed in this field Clicking on the graph displays the graphical representation of data collected for the number of hits made on an application over a period of time. Refers to the errors that were prompted. Refers to the total number of errors Refers to the code assigned for every response and the count of the responses received Clicking on the graph displays the graphical representation of data collected for the number of errors faced over a period of time. This section provides details on the application cache.
CHAPTER 15 Monitoring Pramati Web Server 159 Table 2: Details for web server statistics Fields Options Description Application cache rules Rule Type Rule Name Rule URI Cache Size (kb) Pages in Cache Total Requests on URI Rule Hits Cache Hits Hit Ratio (%) Avg Time on Hit (ms) Avg Time on Miss (ms) No of Invalidations This represents the type of rules - cache-rule, avoid-cache-rule, application-invalidation-rule. Cache-rule is responsible for caching the content and hence most of the statistics in this table makes sense for cache-rule only. This field represents the name of the rule. URI here represents the pattern for which the content is cached for this rule. Current cache size in kilobytes. Number of pages currently in the cache. Number of request which were parsed to check whether they satisfy this rule or not. Number of requests which satisfied the rule. Number of time the response was provided from the cache. Ratio of Cache Hits versus Rule Hits. This is the average time taken when the response was given from the cache. This is usually negligible. This is the average time taken when the response was not given from the cache but was actually generated by the web server. Total number of invalidations - the number of times pages are removed from the cache. Use this to monitor graphs related to the web server. This section displays the cache rules defined for the applications deployed on the virtual Host. Monitoring web server graphs To see a graphical representation of the web server related statistics, click the button for the desired server on the main page. This displays graphs plotted against the available statistics.
160 Pramati Server 3.5 Administration Guide Fig Monitoring web server graphs The s are available for statistics related to: Traffic Total Active Sessions Errors Cache Hit Ratio Reading a Traffic related The traffic related graph makes use of the values collected for the number of hits made against the time duration of the started server. Reading a for Total Active Sessions The graph related to the Total Active Sessions makes use of the values collected for the active sessions against the time duration of the started Server. Reading an Errors related The graph related to Errors makes use of the values collected for the number of errors that occurred over a time duration.
CHAPTER 15 Monitoring Pramati Web Server 161 Reading a related to Cache Hit Ratio The graph related to the Cache Hit Ratio makes use of the values collected for the number of hits against the time duration of the started Server.
162 Pramati Server 3.5 Administration Guide