> Source: [sk184409](https://support.checkpoint.com/results/sk/sk184409)

# sk184409 - Insights tool unexpectedly exits on Maestro VSX when viewing Virtual Systems 

| Property | Value |
|----------|-------|
| Solution ID | sk184409 |
| Date Created | 2025-12-15 |
| Last Modified | 2025-12-15 |
| Technical Level | General |
| Products | Scalable Platforms |
| Versions | R82 |
| OS | Gaia |
| Platform | 7000 |

## Symptoms

- * The `insights --vs 1` command fails with this error:

  `TypeError: string indices must be integers, not 'str'`

  Example:
  \[Expert@SGM-1:0\]# insights --vs 1 ???????????????????????????????????????????????????????????????????????????????????????????????????? Traceback (most recent call last) ????????????????????????????????????????????????????????????????????????????????????????????????????? ? /opt/GaiaTools/insights/src/widgets/overview.py:12 in draw ? ? ? ? 9 ? ????????????????? locals ???????????????
* The Insights tool displays statistics only for VS0. It does not display statistics for other Virtual Systems (VSs).

* The Insights tool terminates when switching the view to a VS on a Maestro Security Group Member.

## Cause

The daemons responsible for collecting statistics for VSs are not registered or running on the Security Group Members. The upgrade did not add the required configuration entries automatically.

* Only the main statistics collection daemon for VS0 is registered.
* Statistics collection daemons for other VSs are missing.
* Insights functions correctly for VS0, but fails when accessing other VSs.

## Solution

Register the statistics collection daemons on all Security Group Members by running the following command in the Expert mode:

`g_all "stats-streamer-cli daemon register"`

If the issue persists, the `CPDIR_PATH` environment variable may be missing. In this scenario, run the following command in the Expert mode:

`g_all "export CPDIR_PATH=/opt/CPshrd-R82; stats-streamer-cli daemon register"`

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
