Skip to content

Understanding the Output

What each folder and file produced by the diagnostic script contains.

2 min read Updated SS

Understanding the Output#

When you run the diagnostic script, it generates files and folders containing essential information about your system. Below is a detailed explanation of each folder and file:

Conf Directory#

  • Purpose: Holds the configuration settings for various services.
  • Content: You'll find files like haproxy.cfg for HAProxy settings and my.cnf for Percona database configurations.

container_conf Directory#

  • Purpose: A comprehensive directory storing configuration information for multiple services.
  • Content: It includes configuration files for HAProxy (haproxy.cfg), Percona (my.cnf), RabbitMQ (various .pem files and rabbitmq.conf), and Redis (redis.conf).

Logfiles Directory#

  • Purpose: This is where you'll find all logs related to the diagnostic operation.
  • Content: It contains centralized logs and Docker-specific error logs.

nomadFile Directory#

  • Purpose: Stores all files related to the Nomad orchestration system.
  • Content: Backup files and Nomad configuration files categorized based on each node.

netstat_output.txt#

  • Purpose: Offers network statistics.
  • Content: It displays the netstat command output gathered from all nodes, which is essential for understanding your network's health.

podman_stats_output.txt (or docker_stats_output.txt)#

  • Purpose: Gives runtime statistics of Podman or Docker containers.
  • Content: Displays runtime stats at 'n' sample points, collected at 'x' intervals from all nodes.

top_output.txt#

  • Purpose: Shows system performance statistics.
  • Content: Includes various metrics such as CPU utilization, disk utilization, and load average, among others, usually sourced from the top command.

lsof_output.txt#

  • Purpose: Provides a list of all open files.
  • Content: Lists all open files on the system from all nodes, useful for debugging and auditing.

uptime_ulimit.txt#

  • Purpose: Displays system uptime and ulimit settings.
  • Content: Contains output typically acquired from uptime and ulimit commands.

haproxy_stat.html#

  • Purpose: Serves as a status dashboard for HAProxy.
  • Content: Presents HAProxy settings and the status of its backends in HTML format for easier interpretation.

HealServices_Diagnostic.txt#

  • Purpose: Contains diagnostic information about the connectivity of different HEAL services.
  • Content: Offers insight into how different services like databases, RabbitMQ, and Operating Systems interact with each other.

ps_output.txt#

  • Purpose: Shows current running processes.
  • Content: Contains output from the ps command inside Docker containers, which is useful for monitoring running services and processes in all containers.

nomad_status.txt#

  • Purpose: To provide a status report on Nomad services.
  • Content: Includes information about files that are mounted in respective Nomad service configurations.

modules_version.txt#

  • Purpose: Version tracking for all used modules.
  • Content: Lists versions of various services and tools used, like Nomad, Docker, etc.

servicename_nomad_output.txt#

  • Purpose: Contains node-specific Nomad status information.
  • Content: Outputs of the nomad status command for each node.

servicename_stderr_output.txt#

  • Purpose: Captures the standard error logs for services.
  • Content: Includes the nomad node status output for each node, which is essential for debugging any issues related to service provisioning.

podman_stats.txt#

  • Purpose: A placeholder for additional statistics related to Podman, which is similar to Docker.
  • Content: This file would ideally contain specific statistics about the Podman containers, collected like podman_stats_output.txt.