Monitor your Mikrotik devices for sending logs from hostpot/vpn/pppoe/netwatch/etc to your discord.
- Copy this script to your Mikrotik, for example in Netwatch
/tool fetch url="https://mikrotikdc.vercel.app/[ID_WEBHOOK_DISCORD]/[TOKEN_WEBHOOK_DISCORD]/[YOUR_TEXT]" keep-result=no;
-
Example discord webhook url.
https://discordapp.com/api/webhooks/943846408883171359/5MoZiJCKgk8KKeo29nXWIkCH0i-04JX_la9bZp8T08InHRJ3wFI8QNLtHIxZJHQw8N1w
-
Notes
ID_WEBHOOK_DISCORD
change to your id discord webhook url, example943846408883171359
TOKEN_WEBHOOK_DISCORD
change to your token discord webhook url, example5MoZiJCKgk8KKeo29nXWIkCH0i-04JX_la9bZp8T08InHRJ3wFI8QNLtHIxZJHQw8N1w
YOUR_TEXT
you need to change to whatever you want. For spacing use+
, exampleNetwork+Is+UP