Community discussions

MikroTik App
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Check Lines in RB

Wed Feb 01, 2023 7:23 pm

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
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Check Lines in RB

Wed Feb 01, 2023 8:32 pm

Mine sends a telegram message if interface is down or up........
 
AidanAus
Member Candidate
Member Candidate
Posts: 177
Joined: Wed May 08, 2019 7:35 am
Location: Australia
Contact:

Re: Check Lines in RB

Thu Feb 02, 2023 5:11 am

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
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Re: Check Lines in RB

Thu Feb 02, 2023 8:56 am

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



i dont want use netwatch i am working on terminal if you can help me how can check the line using command
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Check Lines in RB

Thu Feb 02, 2023 11:36 am

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
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Check Lines in RB

Thu Feb 02, 2023 11:37 am

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?
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Re: Check Lines in RB

Thu Feb 02, 2023 12:22 pm

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
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Check Lines in RB

Thu Feb 02, 2023 12:28 pm

The question is clear and does not need all this information

Your answer clears up any doubts, and is more clear than your question.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Check Lines in RB

Thu Feb 02, 2023 3:10 pm

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. ;-)
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1347
Joined: Mon Sep 23, 2019 1:04 pm

Re: Check Lines in RB

Thu Feb 02, 2023 3:12 pm

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.
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Re: Check Lines in RB  [SOLVED]

Sun Feb 05, 2023 8:41 am

Thank i founded best solution for this

here https://www.youtube.com/watch?v=x8FWlndp_TI

at 8:20

Who is online

Users browsing this forum: DeltaCreek, Fasder, korg, ptoump, TeWe, Victorvgw and 74 guests