WhatsUp Gold Action設定
WhatsUp Gold Actions
於 WhatsUp Gold 中進行通知細部設定。點擊設定
→動作與警報
→動作與政策
。
選擇動作資料庫
→whisprer action
點擊兩下進行script編輯。
通知群組設定:
sLine
: "group1,group2..."sMessenger
: "group1,group2..."sViber
: "group1,group2..."sTelegram
: "group1,group2..."sSms
: "group1,group2..."
訊息內容設定:
sContent
: "YOUR MESSAGE"預設
:監控: %ActiveMonitor.Name 裝置: %Device.DisplayName IP位址: %Device.Address 狀態: %Device.State
通訊阜設定:
sPort
: "PORT"
確保為字串型態,請保留雙引號"
。
群組與群組間使用逗號,
分隔。
更多裝置參數可參考Percent Variables
Example
在其中一 device attribute 鍵入以下設定
sLine
:"notify1,notify2"sContent
:"裝置001CPU使用率已超過80%"
當device 發生告警後,將會發送LINE訊息至notify1與notify2兩個群組中,接受訊息如下: