AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 945629
Accepted
James
James
Asked: 2018-12-18 02:15:14 +0800 CST2018-12-18 02:15:14 +0800 CST 2018-12-18 02:15:14 +0800 CST

将戴尔开放式管理插件与 Nagios Core 一起使用;找不到服务器

  • 772

我正在尝试使用 Dell OpenManage 插件监控 Dell R730 服务器(https://www.dell.com/support/article/uk/en/ukbsdt1/sln311076/dell-emc-openmanage-plug-in-for- nagios-core?lang=en)。我已经构建了它,它似乎可以在我用于 Nagios Core 安装的 Raspberry Pi 上运行。我可以使用桌面上的 Openmanage 实用程序连接到服务器,并且可以使用 rpi 中的 SNMPwalk 从服务器(打开的端口 161)获取信息,使用命令

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 设备发现已完成。

我使用了此处的说明,但无法获得适用于 Raspbian 的 Dell RACADM deb 版本。它们有点旧,但我完成了大部分工作。

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

该插件构建良好,我使用 pip 安装了 OMSDK。以上命令均未使用 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.

任何人都可以提供任何关于为什么这可能不起作用的指示吗?我正在尝试确定这是插件本身的问题还是网络问题。如果您需要我尝试做任何事情来缩小范围,请询问。

nagios
  • 1 1 个回答
  • 1190 Views

1 个回答

  • Voted
  1. Best Answer
    James
    2018-12-20T04:56:56+08:002018-12-20T04:56:56+08:00

    解决了这个问题,需要使用 OSMA 登录服务器,设置 iDrac 并在打开警报后使用上面命令中的地址和 snmp.version=2。

    • 0

相关问题

  • 使用 Nagios 监视 Novell 集群服务

  • 异地nagios?[关闭]

  • 是否有任何可用的图形工具来为主机生成 nagios 用户提供的地图坐标?

  • 我如何开始使用 Nagios?

  • 如何为 Exchange 邮件存储配置 Nagios 警报

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve