Community discussions

MikroTik App
 
Saasouh
just joined
Topic Author
Posts: 12
Joined: Sat Dec 10, 2011 1:25 pm

Need Script to reboot mikrotik ??

Tue Dec 20, 2011 3:44 pm

Hello Everybody i just need a script to reboot my mikrotik router board 433 in case the ping between it and the second router board become high or timed out
need that script as soon as possible

Regards , thank you in advanced
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24550
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Need Script to reboot mikrotik ??

Tue Dec 20, 2011 3:47 pm

very simple, make a new netwatch rule where you specify the IP of the other router. be careful, enter only the IP you can ping! test ping before entering the rule.

in the "down script" field enter "/system reboot"

http://wiki.mikrotik.com/wiki/Manual:Tools/Netwatch
No answer to your question? How to write posts
 
Saasouh
just joined
Topic Author
Posts: 12
Joined: Sat Dec 10, 2011 1:25 pm

Re: Need Script to reboot mikrotik ??

Sun Dec 25, 2011 3:31 pm

Dear Normis

I have 4 Mikrotik 433 and 1 Mikrotik 411, I have discovered that if I turn off the mikrotik 411 (unplug it from the power) the hole system will crash until I reboot the router which is connected to the 411. how can I turn off one of them without crashging the entire network, or is there anything I can do like a script if the Ping between any of the router exceed let's say 100ms the router will reboot automatically.
I am not so expert in programming if it's not so much trouble please write it down so i can copy and past in the script.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24550
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Need Script to reboot mikrotik ??

Tue Dec 27, 2011 1:05 pm

instead of making a reboot script, email support to solve the crashing
No answer to your question? How to write posts

Who is online

Users browsing this forum: shemberg, Splash and 70 guests