Skip to main content

New System Monitoring Installation Guide

To use the new system monitoring feature, the data collection servercloud-metrics-hubInstall and apply the settings below.

On-Premise (Closed Network) This feature is dedicated to customer On-Premise (Closed Network) Kubernetes environments. It is not installed in public cloud, shared clusters, or externally exposed environments.

Overview

The management center does not directly view the customer cluster, but instead, it is installed within the cluster.cloud-metrics-hubCollects metrics and provides them to the management center.cloud-metrics-hubmust be installed for data to be displayed on the system monitoring screen.

Installation

helm install metrics-hub oci://scharbor.security365.com/helm/cloud-metrics-hub \
--version 0.1.4 -n security365 --create-namespace

In an appliance (OVA) based environment, most of the foundational components required for installation are configured automatically. The target collection address is set automatically, so it does not need to be entered separately.

Settings (You only need to set the two below)

1. Connect to Management Center and Display Menu (Management Centerportal-web-config)

### portal-web-config
VUE_APP_METRICS_URL: "http://<cloud-metrics-hub address>:8080" # The hub address that the management center will call (check with the development team for production value)
VUE_APP_USE_SYSTEM_MONITORING_NEW: true # Display new monitoring menu (default false)

2. Data Service Health Collection (hub)

To collect the status of the data services (Elasticsearch·RabbitMQ·Redis·MariaDB)address(ConfigMap) andAccess PasswordEnter (Secret). The actual value should be entered according to the customer environment.

Address — ConfigMap metrics-hub-config

METRICS_HEALTH_ELASTICSEARCH: "<host:port>"
METRICS_HEALTH_RABBITMQ: "<host:port>"
METRICS_HEALTH_REDIS: "<host:port>"
METRICS_HEALTH_MARIADB: "<host:port>"

Password — Secret metrics-hub-infra-health-secret

stringData:
METRICS_HEALTH_ELASTICSEARCH_AUTH: "" # Elasticsearch has no password (empty value)
METRICS_HEALTH_RABBITMQ_AUTH: "<user>:<password>"
METRICS_HEALTH_REDIS_AUTH: ":<password>" # Redis has no username :password
METRICS_HEALTH_MARIADB_AUTH: "<user>:<password>"

Mobility Check

curl http://<hub-host>:8080/actuator/health

UPThis is normal when data is displayed on the return and management center system monitoring screen. (If the menu is not visible, aboveVUE_APP_USE_SYSTEM_MONITORING_NEWCheck the settings.)

Reference

  • If you are not using the appliance (OVA), environments where the base components (internal image registry, metrics-server, storage, etc.) are not automatically configured require separate pre-configuration. Please contact the construction team.
  • Collection target address(METRICS_URLis automatically configured in the node-exporter setup, so no separate input is required.