nagios 监控dell设备(网上相关内容较少,特意留档)

#创作灵感#记录工作实践、项目复盘

错误信息:

a.Unable to get status information due to technical issues.

b.Dell EMC device discovery is in progress... Error: Empty or Invalid Passphrase is configured

c.Error: Path not configured for the macro OMINAGIOSRESPATH in resource (resource.cfg) file

1、参考官网,下载适合的版本,包括受管系统和目标设备。

针对适用于 Nagios Core 的 Dell EMC OpenManage 插件的支持 | Dell UShttps://www.dell.com/support/kbdoc/en-us/000178053/support-for-dell-emc-openmanage-plug-in-for-nagios-core?lang=zh#OMNagiosCore-Download

2、参考官网,安装指南。参考官网,安装指南。适用于 Nagios Core 的 Dell EMC OpenManage 插件版本 3.1 安装指南 | Dell 中国https://www.dell.com/support/manuals/zh-cn/openmanage-plugin-nagios-core/domcnagioscoreig3.1/nagios-core-%E9%81%A9%E7%94%A8%E7%9A%84-dell-emc-openmanage-%E9%99%84%E6%8E%9B%E7%A8%8B%E5%BC%8F-31-%E7%89%88%E7%B0%A1%E4%BB%8B?guid=guid-34b7633f-a827-4b66-b0e4-3acb16c218d7&lang=zh-cn

3、官网的安装插件后的要点(被困扰很久) 4、在文件内创建password文件,例如:我这把包放置到了/usr/local/nagios/dell下,所以在dell下新建password.txt(目标主机的密码)

cat password.txt

password12345

5、修改/usr/local/nagios/etc/resource.cfg

增加一条OMINAGIOSRESPATH=/usr/local/nagios/dell/password.txt

6、生成配置文件(配置文件会生成加密密码,目前发现只能单个生成配置文件,依次修改password.txt,有其他方式的可以共享)

python3 /usr/local/nagios/dell/scripts/dellemc_nagios_discovery_service_utility.py --host=1.1.1.1 --snmp.version=2 --snmp.community=public --http.user=user --http.password=password --output.file=/usr/local/nagios/dell/config/objects/

7、重启服务

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg检测配置文件

systemctl restart nagios重启

相关推荐
maosheng11463 小时前
基于AI 文本生成的自动化Linux 运维文档系统
运维·人工智能·自动化
智塑未来3 小时前
2025-2026年具身智能机器人自动化程度综合评测:五大品牌自研大模型与操作系统全对比
运维·机器人·自动化
AI_零食3 小时前
奶茶大数据运维表 - 鸿蒙PC Electron框架技术实现详解
运维·前端·华为·electron·开源·harmonyos·鸿蒙
Shadow(⊙o⊙)3 小时前
System V共享内存详解,shm系列接口,三种共享内存删除机制。System V通信缺点分析
linux·运维·服务器·开发语言·网络·c++
morning_judger3 小时前
Agent开发系列(七)-可观测性Agent的设计
运维·人工智能
运维小欣3 小时前
智能运维监控厂商深度选型推荐
运维
万能的知了3 小时前
服务器托管 vs 云主机 vs 裸金属:一张决策流程图
运维·服务器·网络
喵喵爱自由3 小时前
ubuntu离线扩展磁盘分区
linux·运维·ubuntu
跨境小彭3 小时前
2026跨境电商精细化洗牌:破解利润核算与多店运维痛点,实操工具全解析
大数据·运维·信息可视化·跨境电商·temu·temu电商运营
RisunJan3 小时前
Linux命令-openssl(强大的安全套接字层密码库)
linux·运维·服务器