# Сбор диагностической информации

С помощью консольной утилиты `hostvm-vdi` вы можете сгенерировать архив с логами системы для дальнейшей передачи в техническую поддержку.

Для этого выполните команду `hostvm-vdi support create` в консоли брокера:

```shell-session
# hostvm-vdi support create
Support bundle saved to /tmp/hostvm-vdi-broker-logs-20251001_102815.zip
```

Или туннелера:

```shell-session
# hostvm-vdi support create
Support bundle saved to /tmp/hostvm-vdi-gw-logs-20251001_102857.zip
```

В результате выполнения будет сгенерирован архив в директории `/tmp`, полный путь к файлу указывается в выводе команды.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.pvhostvm.ru/hostvm-vdi/troubleshooting-guide/collect-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
