Hello,
I've a script on a router that sends telegram notifications for a few events such as new DHCP clients and other events.
Now, is it possible to setup something to notify me when someone logs in the WebUI / luci?
Thank you.
Hello,
I've a script on a router that sends telegram notifications for a few events such as new DHCP clients and other events.
Now, is it possible to setup something to notify me when someone logs in the WebUI / luci?
Thank you.
sure, everything's doable, scan the log after root logon posts.
Yeah sure, and how can I call a script "after root logon posts"?
you probably don't, but monitor the syslog, and trigger on root logon entries.
Might be a hook in ubus