Community discussions

MikroTik App

Search found 10 matches

by dissident76
Thu Nov 11, 2021 12:10 am
Forum: General
Topic: Dude vacuum-db BUG / trivial feature request
Replies: 4
Views: 1323

Re: Dude vacuum-db BUG / trivial feature request

Hi, I just ran vacuum-db ... it completed within 20 seconds. I did not see the free space move ... Screenshot 2021-11-10 at 13.41.53.png as I make a daily backup of my dude db to a remote server, it is also vacuumed every day as part of that procedure ... I did not see a noticible change in size of...
by dissident76
Wed Nov 10, 2021 2:32 pm
Forum: General
Topic: Dude vacuum-db BUG / trivial feature request
Replies: 4
Views: 1323

Re: Dude vacuum-db BUG / trivial feature request

Hi, I am running dude on a RB750Gr3 for a couple of years now. db is on a 64GB sd card and I never had problems running vacuum-db ... db is approx 550MB Hi, thanks for your reply. Have you actually monitored the available space on internal storage when running vaccum-db? Does yours go to 0% before ...
by dissident76
Wed Nov 10, 2021 2:12 pm
Forum: General
Topic: Dude OR Winbox 3.31 display BUG
Replies: 3
Views: 957

Re: Dude OR Winbox 3.31 display BUG

what version of dude are you running ?
6.49
by dissident76
Wed Nov 10, 2021 12:15 am
Forum: General
Topic: Dude OR Winbox 3.31 display BUG
Replies: 3
Views: 957

Dude OR Winbox 3.31 display BUG

When looking at the DCHP leases with WinBox from a dude enabled router (Dude -> RouterOS Info window), DCHP leases seem to have an extra 7 days in the 'Expire After' column. Pictures attached. All devices running 6.49 (including dude) DHCP leases from DHCP server Winbox.jpg DHCP leases seen thru Win...
by dissident76
Wed Nov 10, 2021 12:08 am
Forum: General
Topic: Dude vacuum-db BUG / trivial feature request
Replies: 4
Views: 1323

Dude vacuum-db BUG / trivial feature request

Dude command /dude vacuum-db won't work on a RB750Gr3 even with a small sized db (anything over 10MB). Router only has like 16MB of internal space, so it runs out of space when trying to do the vacuum, as it uses internal storage for the operation, instead of the SD card, where the DB is stored. Can...
by dissident76
Sat Oct 09, 2021 3:50 am
Forum: General
Topic: Force reboot
Replies: 31
Views: 119061

Re: Force reboot

Use ssh commands. After you follow this guide: https://wiki.mikrotik.com/wiki/Use_SSH_to_execute_commands_(public/private_key_login) /system ssh 127.0.0.1 command="/system reboot" will not ask for confirmation. Make sure: - IP -> Services -> ssh is active - firewall allows connections to 1...
by dissident76
Mon Apr 13, 2015 6:14 pm
Forum: Scripting
Topic: Useful Universal Date Converter function
Replies: 2
Views: 4517

Useful Universal Date Converter function

Based on adeeadee's JD function and some algorithms found on the internet to convert from Julian to standard date. I hope you find this useful :) #parameter 1: X2Y, Conversion from X to Y formats, where #M=Mikrotik date format: dec/31/9999 #D=Standard date format: 31/12/9999 #J=Julian days: 5373484 ...
by dissident76
Mon Apr 13, 2015 5:11 pm
Forum: Scripting
Topic: Functions and function parameters
Replies: 69
Views: 122908

Re: Functions and function parameters

Starting from v6.2 we have added new syntax which allows to define functions and even pass parameters to them :global myFunc do={ :put "arg a=$a"; :put "arg '1'=$1" } $myFunc a="this is arga value" "this is arg1 value" Output: arg a=this is arga value arg '1'...
by dissident76
Fri Apr 10, 2015 6:59 pm
Forum: Scripting
Topic: Unique Global Variables
Replies: 9
Views: 3386

Re: Unique Global Variables

Drat... I thought that the syntax would be :global name="$interface" "value"; (with the "name=" and quotes being a way to disambiguate between that and a new global variable called "interface") But that doesn't work... The only way seems to be to call :execut...
by dissident76
Fri Apr 10, 2015 1:34 pm
Forum: Scripting
Topic: Unique Global Variables
Replies: 9
Views: 3386

Re: Unique Global Variables

To make this easier on yourself, you should pack your scripts into a function variable (you know... the "do" argument on ":global"...), and then use that function. The function itself will "install" each instance, i.e. declare the per-script global variables, their ini...