Message Broker Agent: Troubleshooting large history files filling up the file system
sushk 1100006DS0 Visits (9015)
The history files for the ITCAM Message Broker agent can become large very quickly. Warehousing is enabled for history collection, and Warehouse Proxy agent is working fine, but all history files continue to grow.
A fast growing history file can fill up file system. Agent needs sufficient disk space to perform trimming of the history files, and when this space is not available, trimming fails, and all history files start growing, making the problem worse. To control the history file size, the history collection settings need to be modified to control the problem history file size.
Following 'ls -l' output shows file sizes of some of the history files for a IIB agent (qi)
1) In the history files listed above, the KQITRSPS file is the largest in size, and corresponding history collection configuration needs to be investigated. The next step is to identify the attribute group which corresponds to this history table.
The attribute group and corresponding history file name are found in Historical data tables section of the agent User Guide:
You can also find this information in the summarization and pruning agent log named host
2) To prevent the history files from growing indefinitely, set limit on short term history file size as described in the following docu
In every agent configuration file where agent history files are to be limited in size, set
This will prevent the history file size from increasing indefinitely. Gaps in history will occur if the file size reaches size limit set, but the problem of file system out of space will be prevented.