Gateway Hub Overview

Quick Reference

This is a one-pager quick reference guide for Gateway Hub. For complete documentation, including detailed procedures, configuration options, and troubleshooting guides, refer to the full Gateway Hub documentation available in the offline documentation package.

Overview Copied

Gateway Hub is a core component of ITRS’ Geneos monitoring platform, designed to provide operational resilience through enhanced storage, analytics, and automation capabilities. It serves as a centralized data repository and management layer that sits alongside traditional Geneos components, enabling organizations to monitor at significantly larger scale with improved insights and reduced operational overhead.

Gateway Hub transforms real-time monitoring by providing scalable big data storage, historical analytics, and a modern web-based interface. It is built from the ground up to support elastic and cloud-based environments, making it ideal for modern enterprise monitoring requirements.

Key Features & Functionalities Copied

Scalable Data Storage Copied

Gateway Hub provides reliable, high-performance storage for all Geneos metrics and events using advanced compression techniques. Unlike traditional SQL database logging, Gateway Hub can store the complete dataset without forcing users to choose a subset of metrics, ensuring comprehensive incident investigation capabilities.

Web Console Copied

Gateway Hub includes the Geneos Web Console, a modern, browser-based user interface that complements and will ultimately replace Active Console and Gateway Setup Editor.

Key Web Console Features:

Anomaly Detection & Analytics Copied

Leverage historical data to enable smarter monitoring rules and predictive capabilities:

Centralized Configuration Management Copied

Simplify administration of large Geneos estates through centralized configuration:

Open APIs & Integration Copied

Gateway Hub is designed for interoperability and easy integration:

Clustered Architecture Copied

Gateway Hub uses a distributed, clustered architecture for high availability and scalability:

Architecture Copied

Gateway Hub integrates seamlessly with existing Geneos components. The architecture follows this data flow:

  1. Data Collection — Netprobes collect monitoring data from target systems
  2. Gateway Processing — Geneos Gateways process and normalize the data
  3. Hub Ingestion — Gateways publish data to Gateway Hub for storage and analysis
  4. Data Access — Data is accessible via
    • Web Console for visualization and administration
    • Active Console for traditional monitoring views
    • REST API for programmatic access
    • Kafka publishing for downstream systems

Gateway Hub consists of multiple services running in a clustered configuration:

Operations & Management Copied

Essential hubctl Commands Copied

# Service Management
hubctl start <config_file>      # Start Gateway Hub
hubctl stop <config_file>       # Stop Gateway Hub
hubctl restart <config_file>     # Restart Gateway Hub
hubctl status <config_file>     # Check service status

# Configuration Management
hubctl config list              # List available config files
hubctl config get -n apid       # Get API daemon config
hubctl config edit -n apid -c apid.yaml <config_file>  # Edit config

# Operations
hubctl setup reconfigure <config_file>  # Reconfigure (after masking systemd)
hubctl setup upgrade <config_file>      # Upgrade Gateway Hub
hubctl setup uninstall <config_file>    # Uninstall Gateway Hub
hubctl diagnostics <config_file>       # Generate diagnostics package

Configuration File Reference Copied

Gateway Hub uses a YAML configuration file for installation, reconfiguration, and upgrades. The configuration file structure:

installation:
  hosts:
  - server1.example.com
  - server2.example.com
  - server3.example.com
  
  connection:
    private_key: ~/.ssh/hub-key.pem
    port: 22

  tls:
    pem_file: ~/tls/hub.pem  # Production: provide PEM with private key, certificate, and CA chain
    reuse_self_signed_ca_certificate: true  # Testing: generate self-signed certificates

hub:
  root_dir: /opt/hub
  user: hub
  group: hub
  
  runtime:
    java_home: /usr/lib/jvm/java-1.8.0-openjdk/jre

Gateway Hub keeps a copy of configuration files used in each operation in /opt/hub/hub-current/etc/hub-installer/configuration-history on each node.

Service Validation Copied

Verify Gateway Hub service health:

# Check REST API endpoint
curl -k https://<hostname>:8081/v0/ping
# Should return: 200 OK

# Check service status
hubctl status <config_file>

# Access Web Console
# https://<hostname>:8443

Configuration & Integration Copied

Gateway Connection:

Self-Monitoring:

Authentication Setup:

Web Console Access:

Integration Copied

Gateway Integration Copied

Connect Geneos Gateways to Gateway Hub to enable:

Requirements:

Authentication Options:

For integration details, see Gateway Hub Quickstart.

External System Integration Copied

Gateway Hub provides multiple integration points:

REST API Integration:

Kafka Publishing:

Application Integration:

Web Console Integration Copied

The Web Console provides integration capabilities:

Benefits Copied

Gateway Hub delivers significant value to organizations:

Troubleshooting Copied

Diagnostic Procedures Copied

Obtain Diagnostics:

# Generate diagnostics package
hubctl diagnostics <config_file>

# Check REST endpoint
curl -k https://<hostname>:8081/v0/admin/info

# Get diagnostic info from Web Console
# Navigate to: About ITRS Geneos > Get Diagnostic Info

Check Logs:

Verify Service Health:

# Check all services
hubctl status <config_file>

# Check specific service
/opt/hub/hub-current/tools/hub-admin/bin/hub-admin service status -n <service_name>

Common Issues Copied

  1. Ingestion Errors:
  1. Gateway Connection Issues:
  1. Certificate Issues:
  1. Kafka Message Size Limits: If Gateway setup validation fails due to large files:
  1. PostgreSQL Database Restoration:
# Stop Gateway Hub on all nodes
hubctl stop <config_file>

# On source node, create backups
tar -czf pgdata-backup.tar.gz <hub_data>/postgres-timescale/pgdata
tar -czf pgwal-backup.tar.gz <hub_data>/postgres-timescale/pgwal

# On destination node, restore
# Backup existing directories, then extract backups
# Start PostgreSQL manually to verify, then restart Gateway Hub
  1. etcd History Pruning:
# Prune etcd KV store history (frees disk space)
/opt/hub/hub-current/services/etcd/etcd-gateway-<version>/kv_history.sh prune -l 20

Upgrade Procedures Copied

Prerequisites Copied

Upgrade Process Copied

  1. If using systemd, mask orchestration service:
# On each node:
sudo systemctl mask hub-orchestration
sudo systemctl stop hub-orchestration
  1. Perform Upgrade:
# Download latest binaries
# Unpack: tar -xzf hub-installer-<version>.tar.gz
cd hub-installer-<version>/hubctl

# Run upgrade (can include reconfiguration)
hubctl setup upgrade <install_config_file>
  1. Unmask and restart (if using systemd):
# On each node:
sudo systemctl unmask hub-orchestration
sudo systemctl start hub-orchestration

Important Notes:

Operating System Upgrade Copied

# On each node:
hubctl stop <config_file>
# Perform OS upgrade following standard procedure
hubctl start <config_file>

Configuration Management Copied

Web Console Configuration Copied

SAML SSO Setup:

  1. Set Identity Provider metadata: hubctl config set --service-name webconsole --local-config-files saml_idp_metadata.xml <config_file>
  2. Download Service Provider metadata: curl https://<host>:8443/saml/metadata -k
  3. Add SP metadata to APID: curl -k -X PUT -H 'Content-Type: application/xml' "https://<host>:8081/v0/security/saml/serviceprovider/metadata" -d @saml_sp_metadata.xml
  4. Set IdP metadata to APID: hubctl config set --service-name apid --local-config-files saml_idp_metadata.xml <config_file>

LDAP Configuration:

Kafka Publishing:

Gateway Configuration Management:

Service Configuration Copied

Edit Service Configuration:

# Edit configuration file
hubctl config edit -n <service_name> -c <config_file.yaml> <install_config_file>

# Examples:
hubctl config edit -n apid -c apid.yaml <config_file>
hubctl config edit -n kafka -c server.properties <config_file>

Restart Services:

# Restart specific service
/opt/hub/hub-current/tools/hub-admin/bin/hub-admin service restart -n <service_name>

# Restart all services
hubctl restart <config_file>

Operational Maintenance Copied

Regular Tasks Copied

Monitor Health:

Log Management:

Backup Considerations:

Capacity Planning:

Key Ports Copied

["Geneos"] ["Geneos > Gateway Hub"] ["User Guide"]

Was this topic helpful?