Sun Java System Calendar Server 6 2005Q4 管理指南

Procedure配置警示通知

步驟
  1. 以擁有變更配置權限的管理員身份登入。

  2. 變更至 /etc/opt/SUNWics5/cal/config 目錄。

  3. 透過複製及重新命名,儲存舊的 ics.conf 檔案。

  4. 如下表中所示編輯以下一個或多個 ics.conf 參數︰

    參數 

    說明和預設值 

    alarm.diskstat.msgalarmdescription

    與磁碟空間不足訊息一起傳送的說明。 

    預設說明為: “percentage calendar partition diskspace available”

    alarm.diskstat.msgalarmstatinterval

    監視磁碟空間的間隔秒數。預設為 “3600”

    alarm.diskstat.msgalarmthreshold

    觸發傳送警告訊息的可用磁碟空間百分比。預設為 “10”

    alarm.diskstat.msgalarmthresholddirection

    alarm.diskstat.msgalarmthreshold 是高於百分比還是低於百分比。-1 為低於,1 為高於。預設為 “-1”

    alarm.diskstat.msgalarmwarninginterval

    傳送有關磁碟空間不足警告訊息的間隔小時數。預設為 “24”

    alarm.msgalarmnoticehost

    用於傳送伺服器警示之 SMTP 伺服器的主機名稱。預設為 “localhost”

    alarm.msgalarmnoticeport

    用於傳送伺服器警示的 SMTP 連接埠。預設為 “25”

    alarm.msgalarmnoticercpt

    將伺服器警示傳送至的電子郵件位址。“Postmaster@localhost”

    alarm.msgalarmnoticesender

    伺服器傳送警示時用作寄件者的電子郵件位址。預設為 “Postmaster@localhost”

    alarm.msgalarmnoticetemplate

    用於傳送電子郵件警示的預設格式為︰ 

    "From: %s\nTo: %s\nSubject: ALARM: %s of \"%s\" is n\n%s\n"

    alarm.responsestat.msgalarmdescription

    與無服務回應訊息一起傳送的說明。預設為 “calendar service not responding”

    alarm.responsestat.msgalarmstatinterval

    監視服務的間隔秒數。預設為 “3600”

    alarm.responsestat.msgalarmthreshold

    預設為 “100” (如果沒有服務回應,則僅觸發傳送警告訊息。)

    alarm.responsestat.

    msgalarmthresholddirection

    指定 alarm.responsestat.msgalarmthreshold 是高於百分比還是低於百分比。-1 為低於,1 為高於。預設為 “-1”

    alarm.responsestat.

    msgalarmwarninginterval

    傳送發出的有關無服務回應警告訊息的間隔小時數。預設為 “24”

    local.rfc822header.allow8bit

    在此伺服器傳送的電子郵件中允許 (“y”) 或不允許 (“n”) 8 位元標題。

    service.admin.alarm

    啟用 ("yes") 或停用 ("no") 管理工具的警示通知。預設為 “yes”

  5. 將檔案儲存為 ics.conf

  6. 重新啟動 Calendar Server。

    cal_svr_base /SUNWics5/cal/sbin/start-cal