2020年11月4日 星期三

Solarwinds透過line notify發alert

 依下圖所示設定即可

需留意的是

1. Body一定要帶message=

2.不知道為什麼%一定要額外拉出來,不能使用變數帶有%(如memory 使用百分率等)。需要將變數轉成Byte(F=Bytes),然後再額外帶%25(=%)出來

message=${N=SwisEntity;M=PercentMemoryUsed;F=Bytes} %25


 

沒有留言: