Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Pre-requisite
The privilege needed to enable this feature is called PRIV_SCANCONF_SERVER_METRICS.
Contact admin or CloudSphere support to add this privilege to your user account.

...

To enable this feature

Discovery→ Scan Jobs → Configuration →Scan details → Enabling → ServerMetrics

...

Code Block
REPOSITORY                                                       TAG                        IMAGE ID       CREATED         SIZE
iqcloud/metrics-collector                                        master-131fd72967002b716e40            91a9637526db   5 days ago      394MB

Replace the image ID in the appliance-stack.yml -

image: 91a9637526db

Replace this image ID from the output of “docker images” command.

Each version will have a different Tag, you can get the Tags - https://hub.docker.com/r/iqcloud/metrics-collector/tags

Code Block
metrics-server:
    image: 91a9637526db
    restart: always
    ports:
      - "8080:8080"
    volumes:
      - "/opt/iqas/server/db:/opt/iqas/server/db"
      - "/opt/iqas/metrics:/opt/iqas/metrics"
    environment:
      - JAVA_OPTS=-Xdebug -Dcom.iquate.security.store=jdbc:/opt/iqas/server/db/keychain;AUTO_SERVER=TRUE
      - metrics.tenantId=${TENANT_ID}
      - metrics.applianceId=${APPLIANCE_ID}
      - spring.datasource.url=jdbc:h2:file:/opt/iqas/metrics/data
      - rabbit.host=rabbitmq-appliance
      - rabbit.port=5672
      - rabbit.user=${RABBIT_APPLIANCE_USER}
      - rabbit.password=${RABBIT_APPLIANCE_PASSWORD}
      - HOST_IP_ADDRESS=${HOST_IP_ADDRESS}
      - LOG_LEVEL=DEBUG
      - logging.level.com.iquate=DEBUG
      - logging.level.c.i=DEBUG
    depends_on:
      - rabbitmq-appliance

...