Bug 51529 - Не получает метрики с агента
Summary: Не получает метрики с агента
Status: CLOSED FIXED
Alias: None
Product: Branch p10
Classification: Unclassified
Component: zabbix-agent2-plugin-postgresql (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexei Takaseev
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-23 09:43 MSK by Alexander Makeenkov
Modified: 2024-12-26 13:48 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2024-09-23 09:43:20 MSK
Версия пакета: zabbix-agent2-plugin-postgresql-6.0.33-alt1

Воспроизводится только на ALT Workstation K 10.3.

На других дистрибутивах (Workstation, Education, Server), а так же в p11 не воспроизводится.

При попытке получить данные на сервере с агента, который настроен на Workstation K, получаю ошибку:
```
# zabbix_get -s 192.168.1.12 -k pgsql.version
ZBX_NOTSUPPORTED: Timeout 3s reached while waiting for response from plugin: broker timeout.
```

На агенте в этот момент в логах /var/log/zabbix/zabbix_agent2.log (с DebugLevel=5):
```
2024/09/20 15:06:54.745353 received passive check request: 'pgsql.version' from '192.168.1.11'
2024/09/20 15:06:54.745760 [1] processing update request (1 requests)
2024/09/20 15:06:54.746010 [1] adding new request for key: 'pgsql.version'
2024/09/20 15:06:54.746069 [1] created direct exporter task for plugin 'PostgreSQL' itemid:0 key 'pgsql.version'
2024/09/20 15:06:54.746545 executing direct exporter task for key 'pgsql.version'
2024/09/20 15:06:57.747522 failed to execute direct exporter task for key 'pgsql.version' error: 'Timeout 3s reached while waiting for response from plugin: broker timeout.'
2024/09/20 15:06:57.749698 sending passive check response: ZBX_NOTSUPPORTED: 'Timeout 3s reached while waiting for response from plugin: broker timeout.' to '10.88.10.95'
```
В логах postgresql в момент попытки подключения вообще ничего не пишет (включено log_min_messages = debug5).

Проверено с postgresql 15 и 16.
Comment 1 Vladislav Glinkin 2024-11-07 13:58:29 MSK
На версии zabbix-agent2-plugin-postgresql-6.0.34-alt0.p10.1 данная ошибка воспроизвелась только на Server 10.2

На системах:
Workstation K 10.4
Workstaion 10.2
Education XFCE 10.2
Education KDE 10.2

данная проблема не воспроизвелась.

Со сборочным заданием 360318 (zabbix-agent2-plugin-postgresql-6.0.35-alt0.p10.1) то же самое.
Проверил воспроизведение в минимальном профиле Server 10.2 - воспроизвелось.
Локализовать проблему не получилось. Логи агента идентичны указанным выше.
Comment 2 Olga 2024-12-26 13:48:02 MSK
Ошибка не воспроизводится в версии zabbix-7.0.6-alt0.p10.1