IBM Support

MustGather: Instana Websphere Sensor - z/OS

Troubleshooting


Problem

This guide provides essential steps for collecting data related to Instana Websphere Sensor running on z/OS. Before contacting IBM® support for assistance, please review the information below to familiarize yourself with the troubleshooting process.

Resolving The Problem

To explore potential solutions, search for issues, access documentation, or visit support forums, head to the IBM® Support page. If you are aware of the affected component, refer to the relevant MustGather details below:
MustGather Data Collection Requirements for Instana Websphere Sensor running on z/OS

Overview

The script instana-zOS-mustgather.sh is designed to collect diagnostic data for the Instana Websphere Sensor running on z/OS. It simplifies troubleshooting by gathering logs, configuration details, and host information into a compressed tarball for easy sharing with support teams or for archival.

  Key Features

  • Comprehensive data collection: Gathers Websphere Feature flag is enabled or not, user privileges information, Instana Agent logs.
  • Built-in checks: Verifies required tools (e.g., bash, tar) and ensures critical resources exist before proceeding.
  • Tarball creation: Finalizes all collected data into a single archive (.tgz) for easy distribution.

Prerequisites

1.    Additional utilities 
  • bash
  • tar
  • A shell that supports set -euo pipefail (modern Bash or similar).
2.    Sufficient permissions 
  • Ensure you have the necessary permissions to read and collect data and copy logs from instana-agent/data/log in your zOS-USS layer.

No additional system configurations are required beyond the standard tools listed above.

Usage

  • Clone or copy the script into an environment where the above prerequisites are met.
  • Make the script executable (if needed):
    • chmod +x instana-zOS-mustgather.sh
  • Run the script:
    • ./instana-zOS-mustgather.sh

Command-Line Arguments 

This script asks as part of the command-line arguments, the path of the Instana-agent directory

Exanple:

/u/user1/instana-agent/

Expected Output
  • A new directory, for example:
    • instana-agent-zOS-mustgather-20250324-123056/
  • containing:
    • tag-for-bin-files.txt, tag-for-etc-files.txt, tmp-instana-files.txt, websphere-zOS-Prereq-output.txt.
  • A compressed tarball (.tgz) of that directory for sharing or storage.

Examples

· Basic run
# Ensure you are logged in to your zOS-USS layer
./instana-zOS-mustgather.sh
#   Must-gather completed. Archive created: instana-agent-zOS-mustgather-20250324-123056.tgz
 
· Check logs and upload it to the support case

After the script completes, the following output is observed
For example:

tar xzf insTana-agent-zOS-mustgather-20250324-123056.tgz

ls instana-agent-zOS-mustgather-20250324-123056/instana-agent/

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSE1JP5","label":"IBM Instana Observability"},"ARM Category":[{"code":"a8m3p000000UoUBAA0","label":"Sensors - Setup \u0026 Discovery"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.281;1.0.282;1.0.283;1.0.284;1.0.285;1.0.286;1.0.287;1.0.288;1.0.289;1.0.290;1.0.291;1.0.292;1.0.293;1.0.294;1.0.295;1.0.296;1.0.297;1.0.298;1.0.299;1.0.300;1.0.301;1.0.302;1.0.303;1.0.304;1.0.305;1.0.306;1.0.307"}]

Document Information

Modified date:
28 September 2025

UID

ibm17246422