Dell Security Management Server Virtual v.10.2.1.12 傳送「不存在」電子郵件警示

Summary: 本文說明編輯組態檔案的程序,以修正 Dell Security Management Server Virtual v10.2.1.12 上的服務監控的指令檔位置。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

受影響的產品:

  • Dell Security Management Server Virtual

受影響的版本:

  • v10.2.1.12

伺服器會傳送電子郵件警示,指出從 Dell Security Management Server Virtual 自動產生警示 -- 服務:Dell Message Broker / 事件:升級至 Dell Security Management Server Virtual v10.2.1.12 後不存在。這些訊息來自 Dell Message Broker、Dell Core Server HA、Dell 身分伺服器和 Dell 法規遵循報表。此問題會顯示,警告:在主機「localhost」上檢查服務「Dell Identity Server」時的返回代碼 127 超出範圍。在管理主控台中檢視電腦監控記錄時,針對這四個服務中的每一個,請確定有您嘗試執行的附掛程式

檢查 Dell 安全性管理伺服器的服務
圖 1:(僅限英文版) 檢查 Dell Security Management Server 的服務

 

Cause

不適用

Resolution

  1. 選取 Dell Security Management Server Virtual 管理主控台中的啟動 Shell

啟動 Shell
圖 2:(僅限英文版) 啟動 Shell

  1. 切換至 dellsupport 使用命令的用戶帳戶 su dellsupport.

su dellsupport
圖 3:(僅英文) su dellsupport

  1. 提供密碼 dellsupport 使用者。根據預設,密碼為 dellsupport

輸入密碼
圖 4:(僅限英文版) 輸入密碼

  1. 開啟 dds.cfg 資料夾中的檔案 /etc/nagios3/conf.d/ 包含文字編輯器。您可以使用命令完成 sudo nano /etc/nagios3/conf.d/dds.cfg.

sudo nano /etc/nagios3/conf.d/dds.cfg
圖 5:(僅英文) sudo nano /etc/nagios3/conf.d/dds.cfg

  1. 向下捲動至文件的「命令」區段。

命令
圖 6:(僅限英文版) 命令

  1. 本節有四行必須變更:
    1. 卸下 eventhandlers 目錄和 .sh 來自
/usr/local/nagios/libexec/eventhandlers/check-$ARG1$.sh to result in /usr/local/nagios/libexec/check-$ARG1$
  1. 卸下 eventhandlers 目錄和 .sh 來自
/usr/local/nagios/libexec/eventhandlers/check-systemd-unit.sh $ARG1$ "$SERVICEDESC$" to result in /usr/local/nagios/libexec/check-systemd-unit $ARG1$ "$SERVICEDESC$"
  1. .sh 卸下 .sh /usr/bin/sudo /usr/local/nagios/libexec/eventhandlers/restart-
systemd-unit.sh $ARG1$ "$SERVICESTATE$" "$SERVICESTATETYPE$" $SERVICEATTEMPT$ to result in /usr/bin/sudo /usr/local/nagios/libexec/eventhandlers/restart-systemd-unit $ARG1$ "$SERVICESTATE$" "$SERVICESTATETYPE$" $SERVICEATTEMPT$
  1. .sh 卸下 .sh /usr/bin/sudo /usr/local/nagios/libexec/eventhandlers/start-
systemd-unit.sh $ARG1$ "$SERVICESTATE$" "$SERVICESTATETYPE$" $SERVICEATTEMPT$ to result in /usr/bin/sudo /usr/local/nagios/libexec/eventhandlers/start-systemd-unit $ARG1$ "$SERVICESTATE$" "$SERVICESTATETYPE$" $SERVICEATTEMPT$

已更新區段
圖 7:
(僅限英文版) 已更新區段

  1. 按下 ctrl + X 結束文字編輯器。
  2. 輸入 Y 以儲存檔案的變更。

儲存檔案
圖 8:(僅限英文版) 儲存檔案

  1. Enter 鍵以確認要儲存的位置。

按下 Enter 鍵
圖 9:(僅限英文版) 按下 Enter 鍵

  1. 使用命令重新啟動 nagios3 服務 sudo systemctl restart nagios3.service.

sudo Systemctl 重新啟動 nagios3.service
圖 10:(僅英文) sudo systemctl restart nagios3.service

  1. 使用結束命令兩次以返回管理主控台。

退出
圖 11:(僅限英文版) 結束

  1. 從主功能表中,選取 「檢視記錄>系統>監視器」

顯示器
圖 12:(僅限英文版) 監控

  1. 捲動至記錄底部。按下 ctrl + W ,接著按 ctrl + V,即可使用快速按鍵完成。
  2. 確認沒有其他專案 Warning: Return code of 127 for check of service 上次服務重新啟動後。

確認無警告
圖 13:(僅限英文版) 確認無警告


如要聯絡支援部門,請參閱 Dell Data Security 國際支援電話號碼
請前往 TechDirect,以線上產生技術支援要求。
如需更多深入見解與資源,請加入 Dell 安全性社群論壇

 

Affected Products

Dell Encryption
Article Properties
Article Number: 000130704
Article Type: Solution
Last Modified: 16 Jan 2024
Version:  10
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.