Cara Monitoring Perangkat Menggunakan Netwatch RouterOS via Telegram
UP
:local CHID "63625xxxx";
:local BotID "103298xxxx:AAHKpiAqlEoaA1ntvWXXsN46s0MH9YYOiFk";
:local Name "Arsya.Net Talang Jerinjing - Riau";
:local HostStatus "UP";
:local message "Ping $Name $host $HostStatus";
/tool fetch url="https://api.telegram.org/bot$BotID/sendmessage\?chat_id=$CHID&text=$message";
DOWN
:local CHID "63625xxxx";
:local BotID "103298xxxx:AAHKpiAqlEoaA1ntvWXXsN46s0MH9YYOiFk";
:local Name "Arsya.Net Talang Jerinjing - Riau";
:local HostStatus "DOWN";
:local message "Ping $Name $host $HostStatus";
/tool fetch url="https://api.telegram.org/bot$BotID/sendmessage\?chat_id=$CHID&text=$message";
Semoga Bermanfaat
Penulis : Een Pahlefi,S.Kom
0 Response to "Cara Monitoring Perangkat Menggunakan Netwatch RouterOS via Telegram"
Post a Comment