Community discussions

MikroTik App
 
Elieser21
just joined
Topic Author
Posts: 8
Joined: Wed Sep 09, 2020 4:52 am

How to send the first log after reset or power on?

Thu Nov 26, 2020 8:01 am

Hello team, I would like to know if anyone has tried or managed to do the following:

I send my logs to a DUDE server that is connected through a vpn, the problem is that after a reboot or an unexpected shutdown of the Client Router, the first seconds of logs are not sent after the start of RouterOS,

Example:

the router was rebooted> after this reboot some first logs are generated when the computer is turned on, even if it is turned off a message is generated in the new terminal that says "the router has been turned off incorrectly" etc. etc.

I wanted to create a script so that those first seconds are sent to the DUDE server and not only remain in the memory of the RouterOS ...

Does anyone have an idea how to start this script?
 
Elieser21
just joined
Topic Author
Posts: 8
Joined: Wed Sep 09, 2020 4:52 am

Re: How to send the first log after reset or power on?

Thu Nov 26, 2020 8:52 am

I think the solution for this would be to make the logs not send until the VPN interface is up, that way the logs will reach the DUDE, if anyone has any idea how it can be implemented I would appreciate your help, thanks in advance

Who is online

Users browsing this forum: Bing [Bot] and 17 guests