// Skype Bot 群組設定, 以 M50-TW 為範例:
===
1. 使用 XGC 設定 API ROUTE 與對應 TOKEN 
   > 網址: http://xgc.x-legend.com/?module=bot_serial
   > 例如: M50-TW, 設定後將得到的 TOKEN 記起來
   請彥融重啟 Server, 讓新的設定值生效

2. 將 xl_bot 先加入自己的聯絡人,
   > https://join.skype.com/bot/241f0d83-7f51-4328-a3a9-b6636eb8e839
   再將 xl_bot 拉進去欲發送訊息的 Skype 群組 ( 使用 Skype Web 版比較容易搜尋的到 xl_bot )

3. 拉進機器人到 Skype 群組後, 輸入 @xl_bot ${TOKEN}, 
   > 例如: 如果看到機器人回應 已加入 M50-TW_SYSTEM_NOTIFY

   可把對應 API 與群組產生連結, 之後就可以將訊息送至此 API
   > 網址: https://web-dev.x-legend.com/api/M50-TW/
   > 使用 POST, url_encode 的方式, 送入 message 變數
===

// Skype Bot for 硬碟監控
===
// 檢查時機
1. 每小時排程檢查
2. 維護 Server 對內檢查

// 發送規則
1: 超過硬碟百分比 ( 測試機: 90%, 正式機: 80% )
2: 低於硬碟空間 ( 測試機: 15G, 正式機: 30G )
===

// 系統額外設定
1. Crontab 排程
######################
# Disk Space Monitor #
######################
# Monitor Disk Space (on Test Server)
0 * * * * ~/bin/disk_space_monitor_notice_cron > /dev/null 2>&1

2. Ctrl LIVEStart 加入
   # Disk Space Monitor
   ssh TEST '~/bin/disk_space_monitor_notice_cron' 
