|
The properties supported in the agent.properties file are defined below. Note that not all supported properties appear in the default agent.properties file. To use a property that is not defined in agent.properties, you must add it explicitly. For more information, see Understanding Agent Configuration.
agent.eventReportBatchSizeDescription The maximum number of events that the HQ Agent will send per contact with the server. Default As installed, agent.properties does not contain a line that defines the value of this property. The default behavior of the agent is to send a maximum of 100 events per contact with the server. agent.listenIpDescription The IP address to which the agent binds at startup. The default value allows the agent to listen on all IP addresses on the the agent host. Default As installed, agent.properties does not contain a line that defines the value of this property. The default behavior of the agent is to listen on all IP addresses on its host. This behavior is equivalent to to setting this property to an asterisk, like this: * agent.listenPortDescription The port on the agent's listen address to which the agent binds at startup. Default As installed, agent.properties does not contain a line that defines the value of this property. The default behavior of the agent is to listen on port 2144. agent.logDirDescription You can add this property to the agent.properties file to specify the directory where the HQ Agent will write its log file. Unless you specify a fully qualified path, agent.logDir is evaluated relative to the agent installation directory. This property does not exist in agent.properties unless you explicitly add it. To change the location for the agent log file, add agent.logDir to agent.properties and enter a path relative to the agent installation directory, or if desired, a fully qualified path. Note that the name of the agent log file is configured with the agent.logFile property. Default agent.logDir does not exist in agent.properties unless you explicitly add it. The default behavior is equivalent to this setting: agent.logDir=log resulting in the agent log file being written to the AgentHome/log directory.
agent.logFileDescription Specifies the path and name of the agent log file. Default Note that in agent.properties, the default setting for agent.LogFile is made up of a variable and a string. agent.logFile=${agent.logDir}\agent.log
So, by default, the agent log file is named agent.log, and is written to the AgentHome/log directory. If you want the agent to the log to a different directory, you must explicitly add the agent.logDir property to agent.properties. agent.logLevelDescription agent.logLevel.SystemErrDescription Redirects System.err to agent.log. Commenting out this setting will cause System.err to be directed to agent.log.startup. Default ERROR agent.logLevel.SystemOutDescription Redirects System.out to agent.log. Commenting out this setting will cause System.out to be directed to agent.log.startup. Default INFO agent.maxBatchSizeDescription The maximum number of metrics that the agent will send per contact with the server. Default As installed, agent.properties does not contain a line that defines the value of this property. The default behavior of the agent is to send a maximum of 500 per contact with the server. agent.proxyHostDescription The host name or IP address of the proxy server that the agent must connect to first when establishing a connection to the HQ server. Default none agent.proxyPortDescription The port number of the proxy server that the agent must connect to first when establishing a connection to the HQ server. Default none agent.setup.agentIPDescription This specifies the IP address that the HQ Server will use to contact the HQ Agent. If the agent is on the same host as the server, value of 127.0.0.1 is valid. If there is a firewall between the server and agent, specify the IP address of the firewall, and configure the firewall to forward traffic intended for the agent to the agent's listen address, which can be configured with agent.listenIP. The agent reads this value only in the event that it cannot find connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. Default As installed, agent.properties contains a commented out statement that sets the value to *default*. If you use the agent.setup.* properties to supply an agent's configuration at first startup, and uncomment this property and leave the value *default*, the HQ Server will contact the agent using the IP address that SIGAR detects on the agent host. agent.setup.agentPortDescription This specifies the port (on the IP address configured with agent.setup.agentIP) on the agent on which the HQ Server will communication with the agent. If there is a firewall between the agent and the server, set agent.setup.agentPort to the appropriate port on the firewall, and configure the firewall to forward traffic intended for the agent to the agent listen port, which can be configured with. The agent reads this value only in the event that it cannot find its connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. Default As installed, agent.properties contains a commented out statement that sets the value to *default*. If you use the agent.setup.* properties to supply an agent's configuration at first startup, and uncomment this property and leave the value *default*, the HQ Server will contact the agent on port 2144, unless SIGAR detects it is not available, in which case another default is selected. agent.setup.camIPDescription You can use this property to define for the agent the IP address of the HQ server. The agent reads this value only in the event that it cannot find connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. The value can be provided as an IP address or a fully qualified domain name. To identify an server on the same host as the server, set the value to 127.0.0.1. If there is a firewall between the agent and server, specify the address of the firewall, and configure the firewall to forward traffic on port 7080, or 7443 if you use the SSL port, to the HQ Server. Default Commented out, localhost. agent.setup.camLoginDescription You can use this property to define for the agent, at first startup after installation, the HQ username to use when registering itself with the server. The permission required on the server for this initialization is Create, for Platforms. A login from the agent to the server is only required during the initial configuration of the agent. The agent reads this value only in the event that it cannot find connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. Default Commented out, hqadmin agent.setup.camPortDescription You can use this property to define for the agent, at first startup after installation, what server port to use for non-secure communications with the server. The agent reads this value only in the event that it cannot find connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. Default Commented out, 7080. agent.setup.camPwordDescription You can use this property to define for the agent, at first startup after installation, the password for the user specified by agent.setup.camLogin. The agent reads this value only in the event that it cannot find connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. Default Commented out, hqadmin. agent.setup.camSecureDescription You can use this property to define for the agent, at first startup after installation, whether to communicate with the server over SSL. If you set this property to yes, all agent-server communications will be use the SSL secure port. If acceptable in your environment, non-SSL communication offers improved performance for agent-server communications. The agent reads this value only in the event that it cannot find connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. Default Commented out, value of yes agent.setup.camSSLPortDescription You can use this property to define for the agent, at first startup after installation, what server port to use for SSL communications with the server. The agent reads this value only in the event that it cannot find connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. Default Commented out, 7443 agent.setup.resetupTokenDescription You can use this property to define for the agent, at first startup after installation, whether the agent will create a new token to use to authenticate with the server each time it starts up. Regenerating a token is useful if the Agent cannot connect to the server because the token has been deleted or corrupted. Regardless of the value of this property, an agent will generate a token the first time it is started after installation. The agent reads this value only in the event that it cannot find connection configuration in its data directory. Specifying this and other agent.setup.* properties is a way to reduce the user interaction required to configure an agent to communicate with the server. Default As installed, agent.properties contains a commented out statement that sets the value to no. agent.setup.unidirectional*Available only in HQ Enterprise Description Enables the unidirectional communications between HQ Agent and HQ Server, in HQ Enterprise. For more information, see Understanding Agent Configuration. Default Commented out, defaults to no. agent.startupTimeOutDescription The number of seconds that the agent startup script will wait before determining that the agent did not startup successfully. If the agent is not determined to be listening for requests within this period of time, an error is logged, and the startup script times out. Default As installed, agent.properties does not contain a line that defines the value of this property. The default behavior of the agent is to timeout after 300 seconds. agent.storageProvider.infoDescription Configuration for data storage on the Agent side Default As installed, agent.properties does not contain a line that defines the value of this property. The default setting of the agent is agent.storageProvider.info=$\{agent.dataDir\}|m|100|20|50
Which means, use the data directory to store the disklists, max size 100MB. The 20 and 50 numbers are used for purging data; check to see if the list can be shortened when the size is greater than 20MB and the list is 50% empty autoinventory.defaultScan.interval.millisDescription Specifies how frequently the agent performs a default autoinventory scan. The default scan detects servers and platform services, typically using the process table or the Windows registry. Default scans are less resource-intensive than runtime scans. Default Commented out, set to 86,400,000 milliseconds, or 1 day autoinventory.runtimeScan.interval.millisDescription Specifies how frequently the agent performs a runtime scan. A runtime scans may use more resource-intensive methods to detect services than a default scan. For instance, a runtime scan may involve issuing an SQL query or looking up an MBean. Default 86,400,000 milliseconds, or 1 day jboss.installpathDescription To enable the agent to monitor JBoss, specify the location of the JBoss root directory. Default /usr/local/jboss-4.0.0 log4j Propertieslog4j.rootLogger=${agent.logLevel}, R plugins.excludeDescription Use this property to specify plugins that you do not wish the HQ Agent to load at startup. This is useful for reducing the agents memory footprint. Usage Supply a comma-separated list of plugins to exclude, for example: plugins.exclude=jboss,apache,mysql plugins.includeDescription Use this property to specify plugins that you do wish the HQ Agent to load at startup. This is useful for reducing the agents memory footprint. Usage Supply a comma-separated list of plugins to include, for example: plugins.include=weblogic,apache sigar.mirror.procnetDescription mirror /proc/net/tcp on linux Default true snmpTrapReceiver.listenAddressDescription Typically SNMP uses the UDP port 162 for trap messages. This port is in the privileged range, so an agent listening for trap messages on it must run as root (or as an Administrative user on Windows). If you prefer to run the the agent under the context of a non-administrative user, you can configure it to listen for trap messages on an unprivileged port. Usage snmpTrapReceiver.listenAddress=udp:IP_address/port To enable the HQ Agent to receive SNMP traps on an unprivileged port, specify port 1024 or above. The following setting allows the agent to receive traps on any interface on the platform, on UDP port 1620. snmpTrapReceiver.listenAddress=udp:0.0.0.0/1620 — weblogic.installpathDescription To enable the agent to monitor WebLogic 8.1, specify the location server/lib/weblogic.jar Default /usr/local/bea/weblogic-8.1 websphere.installpathDescription To enable the agent to monitor WebSphere, specify the location of the WebSphere jars. Default /opt/WebSphere/AppServer |
Agent Properties
(None)