Перейти к содержанию

Навигация

SNMP/en: различия между версиями

Новая страница: «{| class="wikitable" |- ! Parameter name !! Type !! Description !! Required !! Default |- | '''name ''' || string || device name || No || SNMP [address]_[com…»
(Новая страница: «==== Device description ====»)
(Новая страница: «{| class="wikitable" |- ! Parameter name !! Type !! Description !! Required !! Default |- | '''name ''' || string || device name || No || SNMP [address]_[com…»)
Строка 74: Строка 74:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Имя параметра !! Тип !! Описание !! Обязательный !! Значение по умолчанию
! Parameter name !! Type !! Description !! Required !! Default
 
|-
|-
| '''name ''' || string || Имя устройства || Нет || SNMP [address]_[community]
| '''name ''' || string || device name || No || SNMP [address]_[community]
|-
|-
| '''id''' || string || ID устройства в MQTT || Нет || snmp_[address]_[community]
| '''id''' || string || device ID in MQTT || No || snmp_[address]_[community]
|-
|-
| '''address''' || string || Сетевой адрес устройства || style="background: #22EE44;" | Да || -
| '''address''' || string || Network address of the device || style="background: #22EE44;" | Yes || -
|-
|-
| '''device_type''' || string || Тип устройства (нужен для загрузки шаблона) || Нет || -
| '''device_type''' || string || Type of device (required for downloading the template) || No || -
|-
|-
| '''enabled''' || bool || Включить устройство в опрос? || Нет || true
| '''enabled''' || bool || do you want to include the device in the poll? || No || true
|-
|-
| '''community''' || string || Имя сообщества SNMP || style="background: #22EE44;" | Да || -
| '''community''' || string || community name SNMP || style="background: #22EE44;" | Yes || -
|-
|-
| '''oid_prefix''' || string || Префикс (имя MIB) для текстовых OID каналов, где оный не указан явно || Нет || -
| '''oid_prefix''' || string || Prefix (MIB name) for text OID channels where the prefix is explicitly specified  || No || -
|-
|-
| '''snmp_version''' || string || Версия SNMP (на сегодняшний день поддерживается только 2с) || Нет || 2c
| '''snmp_version''' || string || SNMP version (currently only 2C is supported ) || No|| 2c
|-
|-
| '''snmp_timeout''' || integer || Время ожидания ответа (в секундах) || Нет || 5
| '''snmp_timeout''' || integer || response timeout (in seconds) || No || 5
|-
|-
| '''poll_interval''' || integer || Минимальное время опроса для каждого канала по умолчанию || Нет || -
| '''poll_interval''' || integer || Minimum polling time for each channel by default || No || -
|-
|-
| '''channels''' || array || Описание каналов устройства (переменных SNMP) || Нет || -
| '''channels''' || array || channels description (SNMP variables) || No || -
|-
|-
|}
|}
12 063

правки