Moogsoft Docs

Housekeeper Moolet

The Housekeeper Moolet performs the periodic background tasks required for the Auto Close feature and for the moving of data to the historic database. Refer to the Historic Database document and the Historic Data Utility Command Reference for information on configuring the retention of historic data.

The Housekeeper Moolet is also responsible for gathering statistics from the system, for example Team Insights.

To verify the Housekeeper Moolet is running, use the following command:

ha_cntl -v

Configure Housekeeper

Define the behavior for the Housekeeper Moolet in the "Housekeeper" block of $MOOGSOFT_HOME/config/moog_farmd.conf .

Housekeeper Parameters

run_on_startup

Determines whether Housekeeper runs when Moogsoft AIOps starts. If enabled, Housekeeper performs its background tasks from the moment the system starts, without you having to configure or start it manually.

Type : Boolean
Default : true

persist_state

Enables Housekeeper to save its state for High Availability systems so if a failover occurs, the second moogfarmd can continue from the same point.

Type : Boolean
Default : false

metric_path_moolet

Determines whether Housekeeper is factored into the Event Processing metric for Self Monitoring or not.

Type : Boolean
Default : false

standalone_moolet

Determines whether the Housekeeper can listen for events generated by other Moolets within the same moogfarmd instance without being in a processing chain.

Type : Boolean
Default : true

The default Housekeeper parameters are as follows:

{
 name              :   "Housekeeper",
 classname         :   "com.moogsoft.farmd.moolet.housekeeper.CHousekeeper",
 run_on_startup    :   true,
 persist_state     :   false,
 metric_path_moolet:   false,
 standalone_moolet :   true
}

Note

name and classname are hardcoded and should not be changed.