Community discussions

MikroTik App
 
jecoronas
just joined
Topic Author
Posts: 5
Joined: Sun Mar 03, 2019 5:39 pm

PPPoE Sessions Monitoring

Wed Nov 30, 2022 3:17 am

Hi people, I'm Jesus Corona and I'm from Venezuela.
My inquiry is about how can I get the value-name of each PPPoE session. I've been trying to do it but I can't make it works.

This is the script that I'm trying to use:
:local remoteAddr $"remote-address";
:local pName [/ppp secret get value-name=name [find remote-address=$remoteAddr]];
:global telegramMessage "Cliente $pName Conectado";
:log warning message= "Cliente $pName Conectado";
:system script run SendToTelegram;
This is in the On Up textbox from PPPoE Profile form. It doesn't works. I don't know how can I insert a screenshot here, sorry about that, I'm trying to do this because I wanna be aware about the status of each of one PPPoE session to know if any of them or all fails...

Any help that you can give I really will appreciate it Thanks...

Who is online

Users browsing this forum: Jotne and 14 guests