There are a number of configurations that enable the Health Check to function. The system consistences of a number of modules that can be enabled or disabled depending on the requirement.
By default, the majority of modules are enabled.
There is a thresholds set within \configurables\hc-custom_config.ps1.
NOTE: If you have any questions, please contact AP ENPS Support before making changes to the HealthCheck configurations.
Event Viewer Control
To enable the monitoring scripts to write events to the HealthCheck log in Event Viewer, set this option to $true, which should be the default.
| Variable | Default Value | Description |
|---|---|---|
| $global:HC_Customer_Event_Viewer_Logging | $true | Set to $true to write to the Event Log (All monitoring modules) |
Health Check Module Control
Enable or disable sections of the Health Check (HC) to process for granular control.
Default is $true to allow process to be executed and $false to not allow the process to be executed.
| Variable | Default Value | Description |
|---|---|---|
| $global:suite_details_process_license_Key |
$true | This enables the HC to process the ENPS License Key details (hc_suite_details_config) |
| $global:suite_details_process_check_nom_ini | $true | This enables the HC to check the state of the NOM.INI (hc_suite_details_config) |
| $global:suite_details_process_adsync | $false | This enables the HC to check if ADSync is enabled in G_CONFIG (hc_suite_details_config) |
| $global:suite_details_process_users | $true | This enables the HC to calculate users statistics (healthcheck) |
| $global:suite_details_process_g_netservices | $true | This enables the HC to check the G_NetServices configuration (healthcheck) |
| $global:suite_details_process_web_config_ssl | $true | This enables the HC to check the Protocols enabled in the web.config (healthcheck) |
| $global:suite_status_process_nom_status | $true | This enables the HC to calculate NOM uptime (startup & healthcheck) |
| $global:suite_status_process_uptime | $true | This enables the HC to calculate NOM uptime (healthcheck) |
| $global:suite_status_process_enps_queues | $true | This enables the HC to check ENPS queues (healthcheck) |
| $global:suite_status_process_extfiles | $true | This enables the HC to check external files (healthcheck) |
| $global:suite_status_process_watch | $true | This enables the HC to check WATCH location (healthcheck) |
| $global:suite_status_process_json_states | $true | This enables the HC to check JSON states (healthcheck) |
| $global:suite_status_process_platformauth_index_states | $true | This enables the HC to compare the G_CONFIG | PlatformAuth and the root index.html URLs (hc_suite_status_json) |
| $global:platform_details_process_iis_VD | $true | This enables the HC to check the various website states used in ENPS or Playbook (healthcheck) |
| $global:suite_status_process_mos_objects | $true | This enables the HC to check MOS objects in the MOS folders (healthcheck) |
| $global:suite_status_process_solr_folders | $true | This enables the HC to check the Solr Folders (healthcheck) |
| $global:suite_status_process_solr_comparisons | $true | This enables the HC to compare Solr objects count between a primary and buddy (hc_suite_status_solr) |
| $global:suite_status_process_pb_config_check_walkme | $true | If PB version installed, check the WalkMe configuration exists and is correct (hc_suite_status_pb_config_check). AP use only. |
| $global:platform_details_process_services | $true | This enables the HC to check Windows Services (healthcheck) |
| $global:platform_details_process_platform_details | $true | This enables the HC to check a number of platform configurations (healthcheck) |
| $global:platform_details_process_java_log_version | $true | This enables the HC to check the version of the Java Log components to mitigate CVE-2021-44228 (healthcheck) |
| $global:platform_details_process_default_browser | $true | This enables the HC to check the default browser (healthcheck) |
| $global:platform_details_process_ram | $true | This enables the HC to check Windows memory (healthcheck & hc_SendTo_Mail_Heartbeat_LineGraph) |
| $global:platform_details_process_cpu | $true | This enables the HC to check Windows CPU (hc_platform_details & hc_SendTo_Mail_Heartbeat_LineGraph) |
| $global:platform_details_process_ping | $true | This enables the HC to ping a number of addresses (healthcheck) |
| $global:platform_details_process_public_ping | $false | This enables the HC to ping an externally configured address |
| $global:platform_details_process_fw | $true | This enables the HC to check the remote firewall ports (healthcheck) |
| $global:platform_details_process_wsus | $true | This enables the HC to check the WSuS settings (healthcheck) |
| $global:platform_details_process_patches | $true | This enables the HC to check for outstanding patches (healthcheck) |
| $global:platform_details_process_ev | $true | This enables the HC to check EV configuration (healthcheck) |
| $global:platform_details_process_rdp_sessions | $true | This enables the HC to check RDP sessions (healthcheck) |
| $global:platform_details_process_hdd | $true | This enables the HC to check HDD status (healthcheck) |
| $global:platform_details_process_host | $true | This enables the HC to check the hosts file (healthcheck) |
| $global:platform_details_process_ssl | $true | This enables the HC to check certificate state (healthcheck) |
| $global:platform_details_process_iis | $true | This enables the HC to check IIS configuration (healthcheck) |
| $global:platform_details_process_iis_policies | $true | This enables the HC to check IIS Response Header policies configuration (healthcheck) |
| $global:suite_status_process_mos_response_times | $false | If ENPS installed, check the MOS device response times for any changes from the average - ONLY from version 9.6.47 onwards. |
| $global:suite_details_process_sso | $true | This enables the HC to check the state of SSO configurations in G_CONFIG/G_SSO.(hc_suite_details_config) |
| $global:suite_status_process_active | $true | This enables the HC to check all enabled process are not in a hung state (healthcheck). |
| $global:HC_Enable_Onscreen_Notifications | $false | This enables the HC place on screen notifications where configured to notify the user of an issue. |
| $global:suite_status_process_buddyqueue | $true | This enables the HC to check the buddy queue status. (healthcheck) |
| $global:suite_status_process_mosqueue | $true | This enables the HC to check MOS queue status in the MOS folders. (healthcheck) |