Health Monitoring Utility
By using the health monitoring utility hmonlog.py, you can enable health monitor logging for aggregation node, correlation node, data node, query node, and webapp.
Enabling logging
Health monitor logging is disabled by default, and no results are returned for a search query that uses the following data models.- LogLogic_Monitor_Cpu
- LogLogic_Monitor_Cpu_Load
- LogLogic_Monitor_Diskspace
- LogLogic_Monitor_Memory
- LogLogic_Monitor_Node_Memory
By using the utility, you can enable it on the specified nodes by running the following command:
hmonlog.py [-h] [--action {enable | disable | status} ] [--nodes NODES]
Parameter | Description |
---|---|
-h, -help | Displays the help for the command and exits to the command prompt. |
--action
{enable | disable | status} |
Enables or disables the health monitor log.
status displays the status of the health monitor log. |
--nodes | Specifies that the command should be applied to the nodes listed in the NODES parameter. |
NODES | Specifies the list of nodes to which the command must be applied. By default, it applies to all nodes.
Enter a comma-separated list of nodes. For example: an, cn, dn, qn, web |
After enabling or disabling logging for the webapp node, you must restart the lldaemon engine by running the following commands:
mtask -s engine_lldaemon restart
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.