Required attribute
|
Description
|
ConfigFile
|
Full path and file name of the main configuration file for the Apache server.
Type and dimension: string-scalar
Example: "/apache/server1/conf/httpd.conf"
|
httpdDir
|
Full path of the directory to the httpd binary file
Type and dimension: string-scalar
Example: "/apache/server1/bin"
|
HostName
|
Virtual host name that is assigned to the Apache server instance. The host name is used in second-level monitoring to establish a socket connection with the Apache HTTP server. Specify this attribute only if the SecondLevelMonitor is set to 1 (true).
Type and dimension: string-scalar
Example: "web1.veritas.com"
|
Port
|
Port number where the Apache HTTP server instance listens. The port number is used in second-level monitoring to establish a socket connection with the server. Specify this attribute only if SecondLevelMonitor is set to 1 (true).
Type and dimension: integer-scalar
Default: 80
Example: "80"
|
ResLogLevel
|
Controls the agent's logging detail for a specific instance of a resource. Values are:
-
ERROR: Logs error messages.
-
WARN: Logs error and warning messages.
-
INFO: Logs error, warning, and informational messages.
-
TRACE: Logs error, warning, informational, and trace messages. Trace logging is verbose. Use for initial configuration or troubleshooting.
Type and dimension: string-scalar
Default: INFO
Example: "TRACE"
|
User
|
Account name the agent uses to execute the httpd program. If you do not specify this value, the agent executes httpd as the root user.
Type and dimension: string-scalar
Example: "apache1"
|
Optional attribute
|
Description
|
DirectiveAfter
|
A list of directives that httpd processes after reading the configuration file.
Type and dimension: string-association
Example: DirectiveAfter{} = { KeepAlive=On }
|
DirectiveBefore
|
A list of directives that httpd processes before it reads the configuration file.
Type and dimension: string-association
Example: DirectiveBefore{} = { User=nobody, Group=nobody }
|
EnableSSL
|
Set to 1 (true) to have the online agent function add support for SSL by including the option -DSSL in the start command. For example: /usr/sbin/httpd -k start -DSSL
Set to 0 (false) it excludes the -DSSL option from the command.
Type and dimension: boolean-scalar
Default: 0
Example: "1"
|
EnvFile
|
Full path and file name of the file that is sourced prior to executing httpdDir/httpd. With Apache 2.0, the file ServerRoot/bin/envvars, which is supplied in most Apache 2.0 distributions, is commonly used to set the environment prior to executing httpd. Specifying this attribute is optional. If EnvFile is specified, the login shell for user root must be Bourne, Korn, or C shell.
Type and dimension: string-scalar
Example: "/apache/server1/bin/envvars"
|
SecondLevelMonitor
|
Enables second-level monitoring for the resource. Second-level monitoring is a deeper, more thorough state check of the Apache HTTP server performed by issuing an HTTP GET request on the web server's root directory. Valid attribute values are 1 (true) and 0 (false). Specifying this attribute is required.
Type and dimension: boolean-scalar
Default: 0
Example: "1"
|
SharedObjDir
|
Full path of the directory in which the Apache HTTP shared object files are located. Specifying this attribute is optional. It is used when the HTTP Server is compiled using the SHARED_CORE rule. If specified, the directory is passed to the -R option when executing the httpd program. Refer to the httpd man pages for more information about the -R option.
Type and dimension: boolean-scalar
Example: "/apache/server1/libexec"
|
SecondLevelTimeout
|
Number of seconds monitor entry point will wait on the execution of second-level monitor. If the second-level monitor program does not return to the calling monitor entry point before the SecondLevelTimeout window expires, the monitor entry point will no longer block on the program sub-process but will report that the resource is offline. The value should be sufficiently high to allow second level monitor enough time to complete, but the value should also be less than the value specified by the agent's MonitorTimeout.
Type and dimension: integer-scalar
Default: 30
|