Install Guide
卸载适用于 Nagios Core 的 Dell EMC
OpenManage 插件版本 3.1
1. 导航至 <NAGIOS_HOME>/dell/Install 文件夹,然后运行以下命令:
./uninstall.sh
2. 系统提示您确认卸载时,请按 Y 键进行卸载或按 N 键退出卸载过程。
或者,您可以按 Enter 键退出卸载。
3. 系统提示您继续卸载过程时,按 Y 键继续,或按 N 键退出卸载过程。
或者,您可以按 Enter 键退出。
注: 如果您在安装过程中已将属性 escape_html_tags 的值设置为“0”,则可以通过导航至 <NAGIOS_HOME>/etc/
cgi.cfg 文件并编辑该值将其重置为默认值“1”。
该插件现已卸载。
4. 要验证 Dell EMC OpenManage 插件是否已卸载,请导航到 <NAGIOS_HOME> 文件夹并确保 dell 文件夹已被移除。
5. 要验证 Nagios Core 配置条目,请导航至 Nagios Core 的安装路径,然后运行以下命令:
<NAGIOS_HOME>/bin/nagios -v <NAGIOS_HOME>/etc/nagios.cfg
成功配置更新将显示零错误或警告。如果在此步骤期间您收到任何错误或警告,请手动解决问题。
6. 如果您已安装了 SNMPTT,请导航至 SNMPTT 的安装路径,并验证是否从 TrapFiles 部分的 snmptt.ini 文件中移除了以下
项:
• <NAGIOS_HOME>/dell/config/templates/Dell_Agent_free_Server_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_Chassis_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_Compellent_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_EqualLogic_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_PowerVaultMD_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_Compellent_ME4_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_Chassis_NGM_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_F10_Switch_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_F10NG_Switch_Traps.conf
• <NAGIOS_HOME>/dell/config/templates/Dell_N_Series_Traps.conf
7. 如果已安装 SNMPTT,则通过运行以下命令重新启动 SNMPTT 服务:
service snmptt restart
8. 删除密码资源文件
9. 从 <NAGIOS_HOME>/etc/resource.cfg 中删除对密码资源文件的引用
10. 通过运行以下命令重新启动 Nagios Core 服务:
service nagios restart
5
12 卸载适用于 Nagios Core 的 Dell EMC OpenManage 插件版本 3.1