Page 1 of 1
Check Lines in RB
Posted: Wed Feb 01, 2023 7:23 pm
by telecomnetwork2022
I have 3 lines in my RB with load balance
Eg How can i check if line 2 have internet or no by command or terminal
i need make script to check evrey eg 30 min if the line have the internet or no
If dont have eg send me email to gmail
Re: Check Lines in RB
Posted: Wed Feb 01, 2023 8:32 pm
by anav
Mine sends a telegram message if interface is down or up........
Re: Check Lines in RB
Posted: Thu Feb 02, 2023 5:11 am
by AidanAus
Mine sends a telegram message if interface is down or up........
helpful answer
OP if you are interested in setting a telegram bot up you can find more information from one of Mikrotiks newer YouTube videos,
https://www.youtube.com/watch?v=KLX6j3sLRIE
My suggestion for this is to check out the network tool as it will be able to ping an address and on the state change from up to down or down to up it will be able to run a script, this allows you to set upthe notification method of your choose:
https://help.mikrotik.com/docs/display/ROS/Netwatch
https://help.mikrotik.com/docs/display/ROS/E-mail
https://help.mikrotik.com/docs/display/ROS/SMS
Re: Check Lines in RB
Posted: Thu Feb 02, 2023 8:56 am
by telecomnetwork2022
i dont want use netwatch i am working on terminal if you can help me how can check the line using command
Re: Check Lines in RB
Posted: Thu Feb 02, 2023 11:36 am
by rextended
OP if you are interested in setting a telegram bot
[...]
i dont want use netwatch i am working on terminal if you can help me how can check the line using command
helpful answer AidanAus
Re: Check Lines in RB
Posted: Thu Feb 02, 2023 11:37 am
by rextended
i dont want use netwatch i am working on terminal if you can help me how can check the line using command
But if you don't specify anything, for example what routerboard it is, what software is there, what are these 3 lines, etc., what answers do you hope to get?
Re: Check Lines in RB
Posted: Thu Feb 02, 2023 12:22 pm
by telecomnetwork2022
i dont want use netwatch i am working on terminal if you can help me how can check the line using command
But if you don't specify anything, for example what routerboard it is, what software is there, what are these 3 lines, etc., what answers do you hope to get?
The question is clear and does not need all this information
We have an internet line we need command to know if the line is offline or online
If offline eg send email to provider
Re: Check Lines in RB
Posted: Thu Feb 02, 2023 12:28 pm
by rextended
The question is clear and does not need all this information
Your answer clears up any doubts, and is more clear than your question.
Re: Check Lines in RB
Posted: Thu Feb 02, 2023 3:10 pm
by anav
Good try aidan, but my response was not meant to be a real answer, you should have realized that LOL. As rextended knew right away, a vague request without any additional information, is not going to get a detailed helpful response. Furthermore the chap is not a beginner and should know better and the continued reluctance to answer questions and not provide information are clear signals to us who have been here awhile, that this person is beyond help.
Re: Check Lines in RB
Posted: Thu Feb 02, 2023 3:12 pm
by Znevna
I have 3 lines in my RB with load balance
Eg How can i check if line 2 have internet or no by command or terminal
i need make script to check evrey eg 30 min if the line have the internet or no
If dont have eg send me email to gmail
PRO TIP
HIRE A NETWORK ADMINISTRATOR
you little scammer.
Re: Check Lines in RB [SOLVED]
Posted: Sun Feb 05, 2023 8:41 am
by telecomnetwork2022
Thank i founded best solution for this
here
https://www.youtube.com/watch?v=x8FWlndp_TI
at 8:20