LAN Devices - Send to Server

I am seraching for a way to Send Client list to server.
So each device connected to the Router via a WiFi or LAN is sendt to http server.
Something like:

Hostname, MAC, IP, connection, VLAN, time
The device name, XX:XX:XX:XX:XX, 192.168.XXX.XXX, [VLAN Number or name], [Time last scaned].

Greetings,

By default, there is no configuration on the WebUI that would allow you to simply do this. However, you may opt for writing a custom script to achieve this setup. Custom scripts are out of technical support scope, so we’re not able to write them for you or help you write one, but you may opt for tools such as ChatGPT or utilize your knowledge of programming.

The command ip neigh show lists reachable/stale devices, their IP addresses/MAC addresses & the interfaces that they’re connected through, however, you may find some other way to collect that specific data.

You could potentially look into utilizing our API calls as well: https://developers.teltonika-networks.com/

Regards,
M.

Maybe you shuld add it to the RUTOS to warn if a device is missing and then alert that way.
All for the safety!

Greetings,

In this case, you can utilize Events Reporting or Event Juggler to achieve SMS/Email notifications whenever a new Wi-Fi/DHCP/LAN client connects or disconnects.

More information here:

Regards,
M.

Thanks for you help.
I made a lua script using ‘ip neigh show’ and made it send the json to my server.

Just looking after a way to se what LAN port is in use.

Greetings,

You can use your API to get the status of your LAN ports:

Should return the following (this is in the case for the first LAN port, it’s state is down as you can see):

{"http_code":200,"http_body":{"success":true,"data":[{"state":"down","num":2,"na me":"LAN","position":1,"id":"_lan2","mac":"XXXXXXXXXXX","enabled":"1"}

Regards,
M.

This topic was automatically closed after 60 days. New replies are no longer allowed.