Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import from Asus routers #624

Open
1 task done
tomerh2001 opened this issue Apr 12, 2024 · 4 comments
Open
1 task done

Import from Asus routers #624

tomerh2001 opened this issue Apr 12, 2024 · 4 comments
Labels
Contributors 🙏 Open for contributors to step in & help as I don't have time & expertise for everything myself. Feature request➕ New feature or request help wanted 🆘 Extra attention is needed

Comments

@tomerh2001
Copy link

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Is your feature request related to a problem? Please describe

I want to have my router devices and names sync into netalert

Describe the solution you'd like

I would love if there was a way to connect with the asuswrt or the router's API, my router is XT12

Describe alternatives you've considered

Asus seems fairly alright in regards to features and advanced options for the router, maybe they already have a service on the router that already has support in netalert? And I only need to figure out what and how?

Although that's a big maybe

Anything else?

I just don't want to manage my devices on both the Asus app (where I need proper naimings for my devices when I do anything) and the NetAlert service, which does some things much much better than Asus (like tracking history of devices, finding outliers, aggregating all the info from all plugins etc)

@tomerh2001 tomerh2001 added the Feature request➕ New feature or request label Apr 12, 2024
@anjota80
Copy link

I have just tested this and think the functionality is already available. I forced new devices in my router with static IP addresses and changed the device names. The devices appeared in Pi.Alert as new devices with the names set in my router.

A

@jokob-sk
Copy link
Owner

Hi @tomerh2001 ,

I am open to accepting a PR for an ASUS import plugin. The Plugin system should be relatively easy to understand. I regrettably don't have an Asus router so implementing a plugin without the ability to quickly iterate and test it is very difficult.

Plugin documentation can be found here: https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins

An alternative is to use the dhcp.leases plugin or the SNMP plugin, if your router supports at least one of these protocols. Check the Settings for the DHCPLSS or SNMP plugin for details.

https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/snmp_discovery
https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/dhcp_leases

@tomerh2001
Copy link
Author

I have just tested this and think the functionality is already available. I forced new devices in my router with static IP addresses and changed the device names. The devices appeared in Pi.Alert as new devices with the names set in my router.

A

What router do you have? Where did you change the names? How are you importing into NetAlert?

@tomerh2001
Copy link
Author

Hi @tomerh2001 ,

I am open to accepting a PR for an ASUS import plugin. The Plugin system should be relatively easy to understand. I regrettably don't have an Asus router so implementing a plugin without the ability to quickly iterate and test it is very difficult.

Plugin documentation can be found here: https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins

An alternative is to use the dhcp.leases plugin or the SNMP plugin, if your router supports at least one of these protocols. Check the Settings for the DHCPLSS or SNMP plugin for details.

https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/snmp_discovery
https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/dhcp_leases

Uh, unfortunately I hardly have the time to do it, maybe hopefully I'll get some time in the near future

But if anyone else encounters it and wants to implement it, please do!!

@jokob-sk jokob-sk added help wanted 🆘 Extra attention is needed Contributors 🙏 Open for contributors to step in & help as I don't have time & expertise for everything myself. labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributors 🙏 Open for contributors to step in & help as I don't have time & expertise for everything myself. Feature request➕ New feature or request help wanted 🆘 Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants