Skip to content

Operating System (Host) Prerequisites

Prepare Linux and Unix hosts for KPI collection with SSH access and tools like iostat and sar.

3 min read Updated SS

Before changing any of the target component’s configuration files, take a backup of the current configuration by copying the original configuration files into a separate location.

Component Prerequisites#

ComponentPrerequisites
Unix and Linux distributions (CentOS, Fedora, RHEL, AIX, Solaris, and HP-UX)
  • To enable KPI data collection on a Linux or a Unix host, a remote shell is utilized. Secure Shell (SSH) is the most used remote shell. It offers full access to the Linux shell, and it is generally considered secure. Ensure that SSH service is active on the host.
  • Ensure that iostat, sar, vmstat, and uptime utilities are installed. One way to get these utilities is to install the sysstat package.
  • Create a user account for HEAL and ensure that the user has access to iostat, sar, vmstat, and uptime commands.
  • Provide Execute permission to the user account for HEAL to fetch the load average details from the following path /var/adm/utmpx.
AIXEnsure that the HEAL user has Execute permission on folder /usr/lib/sa and its contents. To check, run the command sar -u 1 on the AIX computer. If this command results in an error, you need to grant Execute permissions as mentioned above.
WindowsEnsure that the WMI Agent has been enabled. If the default WMI ports are used by other services, configure the WMI Agent to use other ports.

Ensure the following are satisfied:

  • The target Windows host should have Domain access.
  • The target Windows host should be associated with a Domain user.
  • The Domain user should have privileges under the Performance Monitor users and Distributed COM Users with permissions for Execute Methods, Enable Account, Remote Enable, and Read Security privileges.

Note: To validate your configuration, execute the following query from another host. The query should return the Hostname of the Windows Host that is configured. The Windows Host should respond to a WMIC query call made remotely:

wmic -U <DOMAIN_NAME>/<Domain_USER_NAME> %<PASSWORD> //<IP_ADDRESS> "Select Name from Win32_ComputerSystem"

IMPORTANT: If you are running any antivirus or malware software on your system, whitelist the following agent services associated with HEAL. This will prevent these services from being incorrectly flagged or blocked by your security software.

Below is a list of the agent services that need to be whitelisted:

  • HEAL Auto discovery Agent
  • HEAL Supervisor Agent
  • HEAL Forensic Agent
  • HEAL Component Agent
  • HEAL Log Forwarder Agent
  • HEAL JIM Agent
  • HEAL PS Agent
  • HEAL Filebeat
  • HEAL Rsyslog

Target Host Producer Script Prerequisites: OS Utilities#

The following OS utilities should be available for the non-root HEAL user on the target host for the producer scripts to work:

Host OS List of OS Utilities
Linux awk, bc, cat, cut, df, egrep, free, grep, ifconfig, iostat, lsblk, lsof, mount, ps, sar, sed, sort, tail, top, tr, uptime, vmstat, pstree, cat /proc/${1}/stack, wc, date
Solaris awk, bc, df, egrep, iostat, ifconfig, mount, mpstat, nawk, pagesize, prtconf, prtdiag, ps, sar, sed, swap, uname, uptime, zpool, ptree, pstack, /usr/bin/truss, date, wc
HP-UX awk, bc, df, egrep, free, ifconfig, getconf, iostat, machinfo, ps, sar, sed, swapinfo, tail, uptime, vmstat, netstat, uptime, vmstat, top, /usr/bin/ptree, /usr/ccs/bin/pstack, wc, date
AIX awk, bc, df, egrep, iostat, ifconfig, lparstat, lsattr, lscfg, lsps, lssrc, mount, mpstat, netstat, ps, sar, sed, svmon, swap, tail, topasout, topasrec, uptime, proctree, procstack, /usr/bin/truss, date, wc
RHEL/CentOS awk, bc, cat, cut, df, egrep, free, grep, ifconfig, iostat, lsblk, lsof, mount, ps, sar, sed, sort, tail, top, tr, uptime, vmstat, pstree, cat /proc/${1}/stack, wc, date