zabbix/templates/applications/check.business.ru/6.0/README.md
2025-01-15 11:31:43 +03:00

56 lines
3.0 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# check.business.ru
## Overview
This template is designed for [check.business.ru](https://check.business.ru/) monitoring by Zabbix and requires external script.
## Requirements
- Zabbix version: 6.0 and higher.
- [check.business.ru_monitor.py](https://git.hmp.today/pavel.muhortov/utils/src/branch/master/check.business.ru_monitor)
## Tested versions
This template has been tested on:
- [Debian GNU/Linux 12](http://ftp.debian.org/debian/dists/bookworm/)
### Macros used
|Name|Description|Default|
|----|-----------|-------|
|{$APP_ID}|[https://check.business.ru/settings/integrations](https://check.business.ru/settings/integrations)|`API_APP_ID`|
|{$SECRET}|[https://check.business.ru/settings/integrations](https://check.business.ru/settings/integrations)|`API_SECRET`|
### Items
|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|check.business.ru request|-|External check|check.business.ru_monitor.py["--app_id","{$APP_ID}","--secret","{$SECRET}","--json"]|
|check.business.ru check_completed|-|Dependent item|check.business.ru.check_completed|
|check.business.ru check_completed_in_error|-|Dependent item|check.business.ru.check_completed_in_error|
|check.business.ru check_completed_in_queue|-|Dependent item|check.business.ru.check_completed_in_queue|
|check.business.ru check_completed_success|-|Dependent item|check.business.ru.check_completed_success|
|check.business.ru check_progress|-|Dependent item|check.business.ru.check_progress|
|check.business.ru date_last_connect_app|-|Dependent item|check.business.ru.date_last_connect_app|
|check.business.ru date_last_connect_ofd|-|Dependent item|check.business.ru.date_last_connect_ofd|
|check.business.ru printer_status|-|Dependent item|check.business.ru.printer_status|
### Triggers
|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|Очередь на кассу: {ITEM.VALUE1}|-|last(/check.business.ru/check.business.ru.check_completed_in_queue)>0|Average|Operational data: Необходимо на ККТ запустить приложение 'Бизнес.Ру Онлайн Чеки'|
|Передано с ошибкой: {ITEM.VALUE1}|-|last(/check.business.ru/check.business.ru.check_completed_in_error)>0|Average|Operational data: Необходимо в ЛК запустить повторно фискализацию или обратиться в ТП Бизнес.Ру|
|Статус ККТ: Не найден|-|last(/check.business.ru/check.business.ru.printer_status,#1)=0|Average|Operational data: Необходимо в ЛК проверить привязку ККТ|
|Статус ККТ: Нет чековой ленты или смена превысила 24 часа|-|last(/check.business.ru/check.business.ru.printer_status,#1)=2|Average|Operational data: Необходимо проверить состояние ККТ|
### Discovery rules
There are no discovery rules in this template.
### Item prototypes
There are no item prototypes in this template.