Mungkin agan sudah pernah menggunakan notifikasi via sms atau
email jika terjadi salah satu kondisi jaringan internal Anda, misalnya koneksi
internet terputus, jaringan backbone anda terputus, atau salah satu jaringan
komputer server terputus.
Dengan MikroTik Routerboard anda bisa setting notifikasi
dengan Suara, Lagu atau Ringtone melalui speaker kecil routerboard, dalam
contoh ini misalnya jika koneksi internet Anda terputus. Dan pastinya mikrotik
routerboard Anda tidak terlalu jauh dari posisi standby Anda (bisa terdengar
oleh Anda).
Cara Setting Notifikasi Suara/Lagu/Ringtone Jika Koneksi
Internet Terputus
Pertama, Anda buat script ringtone/suara/lagu yang Anda
inginkan. Contoh ini saya gunakan suara sirene jika koneksi internet terputus.
Script Sound MikroTik "SIRENE"
:for i from=1 to=10 step=1 do={
:beep frequency=550 length=494ms;
:delay 494ms;
:beep frequency=400 length=494ms;
:delay 494ms;
}
Di Winbox buka System > Scripts > klik tanda
"+" untuk menambahkan,
Pada kolom "Name" isi (contoh) "Notif
Sirene"
Copy Paste script diatas pada kolom "Source"
Klik "Apply" dan Klik "Run Script" jika
anda ingin mencoba hasil notifikasi ringtone/suara/lagu
Kedua, anda setting netwatch yang berfungsi mengenal kondisi
dengan "ping host" jika IP address tujuan "down/up" akan
menjalankan scripts notif sound yang baru anda buat.
Di Winbox buka menu "Tools" >
"Netwatch" > klik tanda
"+" untuk menambahkan
Pada kolom "Host" isi contohnya DNS Google
"8.8.8.8"
Kemudian beralih ke tab "Down"
Masukan nama script yang sebelumnya anda buat di Sripts di
kolom "Name" contoh "Notif Sirene"
Jika Anda ingin menambahkan notifikasi ringtone mikrotik
saat koneksi internet Anda sudah normal kembali isi script ringtone dalam tab
"Up"
Dengan netwatch diatas mikrotik akan mencoba
"ping" DNS google jika RTO/terputus maka mikrotik akan menjalankan
script ringtone yang anda sudah setting. Dan speaker kecil routerboard Anda
akan berbunyi.
Kumpulan Script Ringtone MikroTik
Sirene
:for i from=1 to=10 step=1 do={
:beep frequency=550 length=494ms;
:delay 494ms;
:beep frequency=400 length=494ms;
:delay 494ms;
}
Alarm
:for t1 from=1 to=10 step=1 do={
:for t2 from=300
to=1800 step=40 do={
:beep
frequency=$t2 length=11ms;
:delay 11ms;
}
}
Alarm 2
:for t1 from=1 to=8 step=1 do={
:for t2 from=600
to=750 step=8 do={
:beep
frequency=$t2 length=11ms;
:delay 11ms;
}
}
Intro Kotak - Bendera
:beep length=400ms frequency=1046.5022612024
:delay 400ms
:beep length=200ms frequency=880
:delay 200ms
:beep length=200ms frequency=783.9908719635
:delay 200ms
:beep length=200ms frequency=659.2551138257
:delay 200ms
:beep length=200ms frequency=783.9908719635
:delay 200ms
:beep length=200ms frequency=880
:delay 200ms
:beep length=600ms frequency=1046.5022612024
:delay 600ms
:beep length=200ms frequency=880
:delay 200ms
:beep length=200ms frequency=783.9908719635
:delay 200ms
:beep length=200ms frequency=659.2551138257
:delay 200ms
:beep length=200ms frequency=783.9908719635
:delay 200ms
:beep length=400ms frequency=880
:delay 400ms
:beep length=400ms frequency=1046.5022612024
:delay 400ms
:beep length=200ms frequency=880
:delay 200ms
:beep length=200ms frequency=783.9908719635
:delay 200ms
:beep length=200ms frequency=659.2551138257
:delay 200ms
:beep length=200ms frequency=783.9908719635
:delay 200ms
:beep length=200ms frequency=880
:delay 200ms
:beep length=600ms frequency=1046.5022612024
:delay 600ms
:beep length=200ms frequency=880
:delay 200ms
:beep length=200ms frequency=783.9908719635
:delay 200ms
:beep length=200ms frequency=659.2551138257
:delay 200ms
:beep length=200ms frequency=246.9416506281
:delay 400ms
:beep length=200ms frequency=261.6255653006
:delay 400ms
Jablay
:beep length=300ms frequency=1046.5022612024
:delay 350ms
:beep length=300ms frequency=1318.5102276515
:delay 350ms
:beep length=300ms frequency=1318.5102276515
:delay 350ms
:beep length=300ms frequency=1174.6590716696
:delay 350ms
:beep length=300ms frequency=1046.5022612024
:delay 350ms
:beep length=650ms frequency=987.7666025122
:delay 700ms
:beep length=300ms frequency=987.7666025122
:delay 350ms
:beep length=300ms frequency=1046.5022612024
:delay 350ms
:beep length=300ms frequency=1174.6590716696
:delay 350ms
:beep length=300ms frequency=1318.5102276515
:delay 350ms
:beep length=175ms frequency=1046.5022612024
:delay 175ms
:beep length=175ms frequency=1174.6590716696
:delay 175ms
:beep length=175ms frequency=987.7666025122
:delay 175ms
:beep length=175ms frequency=1046.5022612024
:delay 175ms
:beep length=650ms frequency=880
:delay 1050ms
:beep length=300ms frequency=1046.5022612024
:delay 350ms
:beep length=300ms frequency=1318.5102276515
:delay 350ms
:beep length=300ms frequency=1318.5102276515
:delay 350ms
:beep length=300ms frequency=1174.6590716696
:delay 350ms
:beep length=300ms frequency=1046.5022612024
:delay 350ms
:beep length=650ms frequency=987.7666025122
:delay 700ms
:beep length=300ms frequency=987.7666025122
:delay 350ms
:beep length=300ms frequency=1046.5022612024
:delay 350ms
:beep length=300ms frequency=1174.6590716696
:delay 350ms
:beep length=300ms frequency=1318.5102276515
:delay 350ms
:beep length=175ms frequency=1046.5022612024
:delay 175ms
:beep length=175ms frequency=1174.6590716696
:delay 175ms
:beep length=175ms frequency=987.7666025122
:delay 175ms
:beep length=175ms frequency=1046.5022612024
:delay 175ms
:beep length=650ms frequency=880
Balonku Ada Lima
:beep length=200ms frequency=1318.5102276515
:delay 200ms
:beep length=200ms frequency=1396.9129257320
:delay 200ms
:beep length=400ms frequency=1567.9817439270
:delay 400ms
:beep length=400ms frequency=2093.0045224048
:delay 400ms
:beep length=400ms frequency=1567.9817439270
:delay 400ms
:beep length=400ms frequency=1318.5102276515
:delay 400ms
:beep length=800ms frequency=1567.9817439270
:delay 1200ms
:beep length=200ms frequency=1174.6590716696
:delay 200ms
:beep length=200ms frequency=1318.5102276515
:delay 200ms
:beep length=400ms frequency=1396.9129257320
:delay 400ms
:beep length=400ms frequency=1174.6590716696
:delay 400ms
:beep length=400ms frequency=1567.9817439270
:delay 400ms
:beep length=400ms frequency=1396.9129257320
:delay 400ms
:beep length=800ms frequency=1318.5102276515
:delay 1200ms
:beep length=190ms frequency=1046.5022612024
:delay 200ms
:beep length=200ms frequency=1046.5022612024
:delay 200ms
:beep length=390ms frequency=1760
:delay 400ms
:beep length=400ms frequency=1760
:delay 400ms
:beep length=400ms frequency=1975.5332050245
:delay 400ms
:beep length=400ms frequency=2093.0045224048
:delay 400ms
:beep length=800ms frequency=1567.9817439270
:delay 1200ms
:beep length=200ms frequency=1318.5102276515
:delay 200ms
:beep length=200ms frequency=1396.9129257320
:delay 200ms
:beep length=400ms frequency=1567.9817439270
:delay 400ms
:beep length=400ms frequency=1396.9129257320
:delay 400ms
:beep length=400ms frequency=1318.5102276515
:delay 400ms
:beep length=400ms frequency=1174.6590716696
:delay 400ms
:beep length=800ms frequency=1046.5022612024
0 komentar:
Post a Comment