Community discussions

MikroTik App
 
ehabtanta
just joined
Topic Author
Posts: 7
Joined: Sat Mar 07, 2015 4:54 am

need help in scripting ( bandwidth related)

Fri Nov 25, 2016 4:41 pm

i have some easy task to do but i don't have enough knowledge in mt scripting to to it

1st- i want to disable any interface that reaches a 10gb limit in rx traffic
the server will reboot every day @ 6 am clearing the usage for the interfaces and a script will enable the interfaces @ 6:03 am

2nd- i want a script to export the usage off the interfaces to a .txt file named by the interface name so i can monitor my entire usage from the start of the month to any given date in it
it would be great if that can make a line for every new day by its date in the interface file
like
wan1.txt
1 dec tx 1856mb rx 8950 mb
2 dec tx 2400 mb rx 10240mb
total till the last day tx xxxx mb rx xxxxx mb
so on for all the interfaces

thanks a lot in advance
sorry if my English was not strong enough
 
ehabtanta
just joined
Topic Author
Posts: 7
Joined: Sat Mar 07, 2015 4:54 am

Re: need help in scripting ( bandwidth related)

Sat Nov 26, 2016 7:36 pm

and advice will be extremely appreciated
 
ehabtanta
just joined
Topic Author
Posts: 7
Joined: Sat Mar 07, 2015 4:54 am

Re: need help in scripting ( bandwidth related)

Fri Dec 02, 2016 12:34 pm

thanks but i am really shocked for the lack of response

Who is online

Users browsing this forum: No registered users and 7 guests