The default time window during which the host collects and stores data that will be accepted by the server after the connection is restored is one hour. This setting can be changed to a desired value using a VM option in a configuration file on the server side. The Foglight® Agent Manager keeps track of this time window and discards any messages that are collected and stored on the host outside of this time window. For more information about changing the length of the time window for store and forward processing, see Store and Forward Processing and the Foglight Management Server .
The size of the stored data is controlled with a set of parameters in the file <foglight_agent_manager_home>/state/default/config/fglam.config.xml. In that file, the <config:queue-sizes> element controls the amount of the stored data using the following attributes of its <config:upstream> and <config:downstream> sub-elements:
• |
max-disk-space specifies the amount of disk space in KB that can be used to store messages. Zero ‘0’ means no messages are written to disk, minus one, ‘-1’, indicates no limit. The default is 1024, meaning that the amount of messages written to disk cannot exceed 1024 KB or 1 MB, including upstream and downstream connections. |
• |
max-batch-size specifies the number of messages that are sent from the queue to the server when a connection is established. Minus one, ‘-1’, indicates that every available message is included in each batch. The default is 500, meaning that a batch of 500 messages is sent to the server when the connection is restored, including upstream and downstream connections. |
1 |
On the monitored host, using a file browser, navigate to the directory <fglam_home>/state/default/config, where fglam_home refers to the location of the Foglight Agent Manager installation. |
2 |
Open the file fglam.config.xml. |
3 |
In the fglam.config.xml file, locate the <config:queue-sizes> element and view the attribute values of its <config:upstream> and <config:downstream> sub-elements. |
A Foglight® Management Server monitors a group of hosts, each using the Foglight Agent Manager to communicate with the server. The network between a monitored host and the server becomes unavailable at 4:55 PM, and is restored at 5:00 PM. Prior to the connection disruption, the monitored host’s disk usage was within a normal range.
At 4:57 PM, a high disk usage is reported. The Agent Manager stores this information on disk.
The SLA is calculated every minute for the current minute, and is stored as a time-driven derived metric. When the Foglight® Management Server accepts forwarded data, the SLA is not re-calculated using the forwarded data.
The Foglight Management Server is configured to accept data that is older than one hour, with the store-and-forward time widow set to eight hours. The server’s configuration file, <foglight_home>/config/server.config, was edited prior to the server startup, and the option foglight.data_service.max_past_timestamp_delta is set to 28,800,000 milliseconds (which equals to eight hours) as follows:
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center