Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man7/apache-stats.7
Real path: /usr/share/man/man7/apache-stats.7
Zurück
'\" te .\" Copyright (c) 2017, 2017, Oracle and/or its affiliates. All rights reserved. .TH apache-stats 7 "27 Nov 2017" "Oracle Solaris 11.4" "Standards, Environments, Macros, Character Sets, and miscellany" .SH NAME apache-stats \- Oracle Solaris Apache Statistics Provider .SH DESCRIPTION .sp .LP The \fBapache-stats\fR statistics provider draws information from Apache logs and server status pages and adds that information as statistics to the statistics repository. The \fBapache-stats\fR tool is invoked automatically by the \fBsvc:/system/apache-stats-24\fR service during system startup, and restarted if any failures occur. If the service is not configured with any Apache instance to monitor, it will temporarily disable itself. The administrator may reconfigure and manually enable the service. For more information about the statistics repository, see the \fBsstore\fR(7) man page. .sp .LP Any log messages are captured in the SMF log for \fBsvc:/system/apache-stats-24\fR. Use the following command to view the service log file: .sp .in +2 .nf $ \fBsvcs -L svc:/system/apache-stats-24\fR .fi .in -2 .sp .SS "Configuration" .sp .LP To configure the \fBapache-stats\fR tool, modify the following properties of the \fBsvc:/system/apache-stats-24:default\fR service instance: .sp .ne 2 .mk .na \fB\fBconfig/query-interval\fR\fR .ad .RS 25n .rt The interval (in seconds) at which \fBapache-stats\fR will query the server status pages of the monitored instances for information to provide as statistics. The default value is 120. .RE .sp .LP To configure \fBapache-stats\fR to monitor the Apache instance of a particular service, add a property group of type \fBapache-instance\fR with the following properties: .sp .ne 2 .mk .na \fB\fBservice-fmri\fR\fR .ad .RS 21n .rt The FMRI of the service with an Apache instance to be monitored. This value is used as the resource key when the statistics are added to the statistics repository. .RE .sp .ne 2 .mk .na \fB\fBconfig-path\fR\fR .ad .RS 21n .rt The path of the Apache configuration file for the Apache instance to be monitored. This value is used to identify the location of the Apache logs as well as the server status page for the Apache instance. .RE .sp .ne 2 .mk .na \fB\fBserver-status-url\fR\fR .ad .RS 21n .rt In some cases, the service is unable to determine the correct URL to monitor for server-status and drops into maintenance. A message is printed to the SMF logfile indicating that a specific monitored FMRI needs a \fBserver-status-url property\fR added with the \fBsvccfg\fR command. The format must end with the \fBserver-status?auto\fR. For more information, see the \fBsvccfg\fR(8) man page. .RE .sp .LP The default configuration monitors the \fBwebui/server\fR instance: .sp .in +2 .nf <property_group type="apache-instance" name="webui-instance"> <propval type="astring" name="config-path" value="/var/webui/conf/webui.conf"/> <propval type="fmri" name="service-fmri" value="svc:/system/webui/server:default"/> </property_group> .fi .in -2 .sp .sp .LP The following is an example configuration for monitoring \fBsvc:/application/pkg/depot\fR: .sp .in +2 .nf <property_group type="apache-instance" name="pkg-instance"> <propval type="astring" name="config-path" value="/system/volatile/pkg/depot/depot_httpd.conf"/> <propval type="fmri" name="service-fmri" value="svc:/application/pkg/depot:default"/> </property_group> .fi .in -2 .sp .sp .LP The following is an example configuration for monitoring a local Apache server instance where the local hostname does not match the hostname specified in its certificate: .sp .in +2 .nf <property_group type="apache-instance" name="local-apache-instance"> <propval type="astring" name="config-path" value="/etc/apache2/2.4/httpd.conf"/> <propval type="fmri" name="service-fmri" value="svc:/network/http:apache24"/> <propval type="astring" name="server-status-url" value="https://www.example.com/server-status?auto"/> </property_group> .fi .in -2 .sp .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability service/system/apache-stats-24 _ Stability Committed .TE .sp .SH SEE ALSO .sp .LP \fBsstore\fR(7), \fBsvcadm\fR(8) .SH NOTES .sp .LP Use the \fBsvcadm\fR command to perform administrative actions on the \fBapache-stats-24\fR service, such as enabling, disabling, or restarting the service. Use the \fBsvccfg\fR command to change the configuration of the service.