Community discussions

MikroTik App

Search found 14 matches

by diabolusss
Tue Feb 14, 2023 5:06 pm
Forum: RouterOS beta
Topic: 7.8rc1 netwatch can't int lte monitor anymore [SOLVED]
Replies: 0
Views: 4811

7.8rc1 netwatch can't int lte monitor anymore [SOLVED]

Hello! I have configured a netwatch test block to call a script which gets lte interface stats. It was working fine on ROS 7.7 stable, but after upgrade to ROS 7.8rc1 it fails when is called by netwatch. Similarly, it doesn't work when called by scheduler. If i call it manually, then script complete...
by diabolusss
Mon Jan 16, 2023 11:15 am
Forum: Scripting
Topic: Netwatch run traceroute on link down fails event [SOLVED]
Replies: 13
Views: 2799

Re: Netwatch run traceroute on link down fails event [SOLVED]

All my suggestions, apart from the error you fixed, are based on the fact that if you ask someone for help, if the script is unreadable, they resign... Any excess additional signs, which can be omitted, better not put, rather sometimes it is better to write more instead of less. For example: better...
by diabolusss
Fri Jan 13, 2023 11:29 pm
Forum: Scripting
Topic: Netwatch run traceroute on link down fails event [SOLVED]
Replies: 13
Views: 2799

Re: Netwatch run traceroute on link down fails event [SOLVED]

@rextended thank you, for a such descriptive answer. I appreciate your assistance, however i can't agree with all mentioned, so i hope you wouldn't mind that i'll comment some quotes. Of course, I'm taking into account your previous note, too. It is also a mistake to blindly rely on what I write. I'...
by diabolusss
Fri Jan 13, 2023 5:31 pm
Forum: Scripting
Topic: Netwatch run traceroute on link down fails event [SOLVED]
Replies: 13
Views: 2799

Re: Netwatch run traceroute on link down fails event [SOLVED]

It's time to stop programming with feet. I tried to fix the script on OP, but this is so buggy that I gave up. Also on your post :global gwLoss [:pick $trc 5] must be writed :global gwLoss ($trc->"loss") Using positional syntax with fixed index, on fields that have names, do not work and ...
by diabolusss
Fri Jan 13, 2023 2:13 am
Forum: Scripting
Topic: Netwatch run traceroute on link down fails event [SOLVED]
Replies: 13
Views: 2799

Re: Netwatch run traceroute on link down fails event [SOLVED]

Probably you're comparing (if) with nothing. Can i see the results of up & down LTE state from: :put [/tool traceroute address=1.0.0.1 max-hops=1 count=5 as-value] Thanks for a tip, but when running checks directly i get sane results: [colt@uTik] > :put $test [colt@uTik] > :put ($test > 0) fals...
by diabolusss
Tue Jan 10, 2023 11:55 am
Forum: Scripting
Topic: Netwatch run traceroute on link down fails event [SOLVED]
Replies: 13
Views: 2799

Netwatch run traceroute on link down fails event [SOLVED]

Hello! I've configured Netwatch to additionally ping host in On Down event, which works flawlessly. Additionally, i've configured a script nwatch-ltegateway that checks first n hops to provided host. It works when called from Test or On Up events, but if called from On Down, then On Down event fails...
by diabolusss
Wed Dec 28, 2022 6:17 pm
Forum: General
Topic: SXT LTE not reconnecting
Replies: 15
Views: 6162

Re: SXT LTE not reconnecting

It could very well be the signal you're getting, but normally the problem is the interface stays up with no data - but if your signal was very low, perhaps it would disconnect. To be clear: if the modem isn't actually disconnecting, and its only ping failures, that expected if congestions/low signa...
by diabolusss
Wed Dec 28, 2022 5:59 pm
Forum: General
Topic: What syslog server to use?
Replies: 6
Views: 2304

Re: What syslog server to use?

Well, this is Linux only... But perhaps anybody else stumbles on this and finds it useful.) Another interesting option is to use rsyslog with https://github.com/rsyslog/loganalyzer . Rsyslog allows to easily tweak its default templates to properly parse Mikrotik logs and to store them in any format...
by diabolusss
Wed Dec 28, 2022 11:49 am
Forum: General
Topic: SXT LTE not reconnecting
Replies: 15
Views: 6162

Re: SXT LTE not reconnecting

For sure you'd want to make sure everything is upgraded to at least stable. And likely worth trying "testing" 7.7rcX too. But Mikrotik support is actually pretty good at looking at these LTE issue. Perhaps not quick. But they'd want similar to logging and supout.rif files (and that were r...
by diabolusss
Tue Dec 27, 2022 7:30 pm
Forum: General
Topic: SXT LTE not reconnecting
Replies: 15
Views: 6162

Re: SXT LTE not reconnecting

@Amm0 thank you for a tip. The Chateau (or really any of the "modern LTE" devices) shouldn't need a script to recover. Now some builds to have bugs that would cause this. Well, i believe you are true and like i've previously mentioned it automatically recovers. But delay when it happens is...
by diabolusss
Sun Dec 25, 2022 12:11 pm
Forum: General
Topic: SXT LTE not reconnecting
Replies: 15
Views: 6162

Re: SXT LTE not reconnecting

Still troubleshooting this. I have implemented a script to ping 1.1.1.1 and cycle the LTE interface when the ping fails. My cell provider assigns my STX a private IP from there CGNAT pool. I extended my ping script to also ping that CGNAT private IP when 1.1.1.1 fails. When the 1.1.1.1 ping fails, ...
by diabolusss
Sat Dec 24, 2022 9:43 pm
Forum: Wireless Networking
Topic: Chateau LTE12 band 20 issues [SOLVED]
Replies: 2
Views: 877

Re: Chateau LTE12 band 20 issues [SOLVED]

Hi,
Can you confirm country and mobile network provider?
Hi,
It's Latvia - Bite.
by diabolusss
Wed Dec 21, 2022 6:33 pm
Forum: Wireless Networking
Topic: Chateau LTE12 band 20 issues [SOLVED]
Replies: 2
Views: 877

Chateau LTE12 band 20 issues [SOLVED]

Hello, On Chateau LTE12 router I have an issue with lte Band 20. Router is located in 1 storey house close to a tower (~1-2km), and have external antenna attached. I have no troubles to connect to band 1 and 3 using any interface configuration (with default settings or enabling only specified bands)...
by diabolusss
Tue Sep 27, 2022 11:12 am
Forum: Scripting
Topic: counter of link-downs ether
Replies: 5
Views: 3494

Re: counter of link-downs ether

:put [/interface get ether1 link-downs]; how to send this command via api? Hello. I know that this post is old, yet i've searched everywhere to find an answer to this question with no luck. So, i'll post it here, in case it saves someone time. $ curl -u api:pass https://mikrotik.lan/rest/interface?...