Темплейт Zabbix 2 SNMPv3

Оригинальный шаблон Zabbix для устройств SNMP включает поддержку протокола версии 2.
Предложенный ниже темплейт изменен для работы с SNMP версии 3, включающий шифрование передаваемых данных

Zabbix SNMP v3 Template

Файл содержит 7 новых шаблонов:

Template SNMPv3 Device
Template SNMPv3 Generic
Template SNMPv3 Interfaces
Template SNMPv3 Disks
Template SNMPv3 Processors
Template SNMPv3 OS Linux
Template SNMPv3 OS Windows

Скачать: zbx_SNMPv3_template.xml

Для его использования нажмите на кнопку «Импорт» на странице шаблонов в веб-интерфейсе Zabbix.

Шаблон использует следующие макросы:

{$SNMP_SECNAME} — имя пользователя SNMPv3
{$SNMP_AUTH} — пароль для аутентификации
{$SNMP_PRIV} — пароль для шифрования данных

Эти макросы необходимо добавить на странице конфигурации хоста:

Конфигурация — Хосты — <хост использующий SNMP v3> — Макросы — Добавить

6 thoughts on “Темплейт Zabbix 2 SNMPv3

  1. Does this template graph CPU stats. It doesn’t appear to have any? I am new to zabbix and using Zabbix 2.4.1. Network and disk stats are graphing fine.

  2. This whole template needs work. It does not do as advertised. I also use Cacti and Nagios all of whom can poll and graph via a clients snmpv3 configuration. This one simply does not.

  3. I cannot import this template into Zabbix Version 3.4

    Undefined offset: 10909 [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1017]
    Undefined offset: 10909 [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1017]
    Undefined offset: 10909 [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1017]
    Undefined offset: 10909 [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1017]
    Undefined offset: 10909 [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1017]
    Undefined offset: 10909 [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1017]
    Undefined offset: 10909 [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1017]
    Undefined offset: 10909 [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1017]
    Field «parent_itemid» cannot be set to NULL. [conf.import.php:167 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemPrototype->createReal() → DB::insertBatch() → DB::checkValueTypes() → DB::exception() in include/classes/db/DB.php:350]

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *