Использование подключаемого модуля открытого управления Dell с Nagios Core; не удается найти сервер

Я пытаюсь контролировать сервер Dell R730 с помощью подключаемого модуля Dell OpenManage ( https://www.dell.com/support/article/uk/en/ukbsdt1/sln311076 / dell-emc-openmanage-plug-in-for-nagios-core? lang = ru ). Я собрал его и, похоже, работает на Raspberry Pi, который я использую для установки Nagios Core. Я могу подключиться к серверу с помощью утилиты Openmanage со своего рабочего стола и получить информацию с сервера (открытый порт 161) с помощью SNMPwalk из rpi, используя команду

snmpwalk -v1 -cpublic <ip_address>

. Это также работает с параметром -v2c. Однако, когда я пытаюсь,

python dellemc_nagios_discovery_service_utility.py --host=<ip_address> --snmp.version=2 --output.file=/usr/local/nagios/dell/config/objects/

не удается найти сервер, но похоже, что он работает;

Dell EMC device discovery is in progress...

Total no of Hosts / IPs provided :1
Total no of Hosts / IPs processed successfully :0
Total no of Hosts / IPs already discovered:0
Total no of Hosts / IPs processing unsuccessful:1

Обнаружение устройства Dell EMC завершено.

Я воспользовался приведенными здесь инструкциями, но не смог получить версию Dell RACADM deb для Raspbian. Они немного устарели, но я сделал большую часть работы.

https://www.dell.com/support/article/uk/en/ukbsdt1/sln310604/installation-of-dell-openmanage-plugin-for -nagios-core-on-ubuntu-os? lang = ru

Плагин собран отлично, и я установил OMSDK с помощью pip. Ни одна из вышеперечисленных команд не запускалась с sudo, как пользователь pi, а не nagiosadmin. Это был результат этапа установки

Dell_OpenManage_Plugin/Install $ sudo bash install.sh

Dell EMC OpenManage Plug-in v3.0 for Nagios Core requires Nagios Core v3.5.0 or later.
Press 'Y' to continue if Nagios Core version is 3.5.0 or later.
Press any other key to exit installation (default: 'Y'):  Y

Provide the installed location of Nagios Core (Press ENTER to continue with the default location: '/usr/local/nagios'):

        Using the default Nagios Core installed location: /usr/local/nagios
        Nagios Core installed location verified: /usr/local/nagios

Checking prerequisites...
        SNMPTT is installed.
        JAVA is installed.
        PYTHON 2.7.13 is installed.
        PYTHON argparse module is installed.
        PYTHON netaddr module is installed.

        OpenManage Python Software Development Kit (OMSDK) module is not installed or not appropriate.
Read the Dell EMC End User License Agreement (EULA) license file (license_en.txt) packaged with this product before proceeding with the installation.
Press 'Y' to accept the license.
Press any other key to exit installation (default: 'Y'):  Y

Installing "dell emc" Plug-in specific folders and files...

Enabling HTML tags...

The attribute "escape_html_tags" in file "cgi.cfg" is set to 1. Set it to 0 for better readability in Nagios Core console (recommended).
Press 'Y' if you would like to set it to '0' (default: 'N'): Y

Updating nagios.cfg...

        The following entry is added for configuring Dell EMC OpenManage Plug-in config directory:
        --------------------------------------------------
        cfg_dir=/usr/local/nagios/dell/config
        --------------------------------------------------

Provide the file path where snmptt.ini is installed (Press ENTER to continue with the default file path: '/etc/snmp/snmptt.ini'):

        Provided file path /etc/snmp/snmptt.ini is valid.

Updating snmptt.ini...


        The following entry is added for supporting Dell EMC device traps:
        ---------------------------------------------------------------------
        /usr/local/nagios/dell/config/templates/Dell_Agent_free_Server_Traps.conf
        /usr/local/nagios/dell/config/templates/Dell_Chassis_Traps.conf
        /usr/local/nagios/dell/config/templates/Dell_Compellent_Traps.conf
        /usr/local/nagios/dell/config/templates/Dell_EqualLogic_Traps.conf
        /usr/local/nagios/dell/config/templates/Dell_F10_Switch_Traps.conf
        /usr/local/nagios/dell/config/templates/Dell_N_Series_Traps.conf
        /usr/local/nagios/dell/config/templates/Dell_PowerVaultMD_Traps.conf
        ---------------------------------------------------------------------

Provide the file path where JAVA is installed (Press ENTER to continue with the default file path: '/usr/bin/java'):

        Provided file path /usr/bin/java is valid.

Updating dellconfig.cfg...

SUCCESS: Dell EMC OpenManage Plug-in version v3.0 is installed successfully.

For the Dell EMC OpenManage Plug-in changes to take effect, verify the Nagios and SNMPTT configuration entries as per product guidelines and then restart the Nagios and SNMPTT services.

. Может ли кто-нибудь указать, почему это может не работать? Я пытаюсь выяснить, проблема ли это в самом плагине или проблема в сети. Если вам нужно, чтобы я попытался сузить круг вопросов, спросите.

0
задан 17 December 2018 в 12:15
1 ответ

Эта проблема решена, необходимо выполнить вход на сервер с помощью OSMA, чтобы настроить iDrac и использовать адрес в приведенной выше команде с snmp.version = 2 после включения предупреждений.

0
ответ дан 24 November 2019 в 01:30

Теги

Похожие вопросы