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

Grouping-devices-by-Vlans [setup] + Location dropdown missing custom values [bug] #862

Closed
2 tasks done
kim3636 opened this issue Oct 24, 2024 · 11 comments
Closed
2 tasks done
Labels
Feature request➕ New feature or request next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed. Waiting for reply⏳ Waiting for the original poster to respond, or discussion in progress.

Comments

@kim3636
Copy link

kim3636 commented Oct 24, 2024

Is there an existing issue for this?

Current Behavior

I have alot of vlans in the network, so about 3100 devices, from all different vlans. These devices were discovered by SNMP, it's so messy and no clear, which devices belongs to chich vlan. SO i need a more user-friendly interface. that s easy to read.

Expected Behavior

I want to have a clear view of the devices ( they are about 3100 devices) from all different vlans. I want to group them by vlan, for example having a table of vlans, and when we click on vlan x we see the devices in that vlan. Or maybe the table will be sorted by vlans, so we see the vlan x column and then besides that the other columns of it's devices and their informations ( ip adresses , mac addresses, state ....)

Steps To Reproduce

No response

app.conf

No response

docker-compose.yml

No response

What branch are you running?

Production

app.log

image (4) (1)

Debug enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.
@kim3636 kim3636 added the bug 🐛 Something isn't working label Oct 24, 2024
@jokob-sk
Copy link
Owner

jokob-sk commented Oct 24, 2024

Hi @kim3636

You can use Location or Group fields to group devices under different VLANS:

image

To speed this up you can also use the multi-rename functionality:

https://github.com/jokob-sk/NetAlertX/blob/main/docs/DEVICES_BULK_EDITING.md

Assigning devices to a VLAN is not as easy because not all services/plugins provide that information.

Hope that makes sense.

PS You can add these columns to the tables via the UI_device_columns setting:
image

@jokob-sk jokob-sk added Feature request➕ New feature or request Waiting for reply⏳ Waiting for the original poster to respond, or discussion in progress. and removed bug 🐛 Something isn't working labels Oct 24, 2024
@kim3636
Copy link
Author

kim3636 commented Oct 24, 2024

okey thanks alot !

@kim3636
Copy link
Author

kim3636 commented Oct 24, 2024

hello again,
how can i add a new group or new location ?

@johnwang16
Copy link
Contributor

Edit an existing device and type in the name of the new group/location, click save. It'll be available for other devices after that.

@kim3636
Copy link
Author

kim3636 commented Oct 24, 2024

Edit an existing device and type in the name of the new group/location, click save. It'll be available for other devices after that.

Thank you !!

@LaurentAtJoes
Copy link

LaurentAtJoes commented Oct 26, 2024

Edit an existing device and type in the name of the new group/location, click save. It'll be available for other devices after that.

Hi, this doesn't work for me : if I add a custom value to Location, it won't become available in the drop-down list for other devices.

Fresh install on docker (portainer) from today using latest.
I cleared cache, refreshed everything, even restarted the container.

-- EDIT -- it works for Type, Owner, Group and Icon, though. Just not location.

Any idea ?

@jokob-sk
Copy link
Owner

Hi @LaurentAtJoes ,

Did you refresh the page once you saved the device? I seems to work for me (tested in FF):

image

@LaurentAtJoes
Copy link

Yes, several times (Shift+refresh in the browser, plus refresh button in NetAlert UI. FF here too)

Just to be on the same page : your screenshot shows "Group", but this does work. It's only "Location" that won't memorise custom values in the drop-down list.

@jokob-sk
Copy link
Owner

Thanks @LaurentAtJoes , you are right. Missed the part that the issue is Location specific.

image

This should be available in the next release. It would be great if you could test this. Can you please switch to the netalertx-dev docker image (backup everything at first), in about 15 minutes (or after the last action finishes) from now?

Make sure you refresh your browser cache - and click the 🔄 refresh button in the top right corner.

Thanks in advance,
j

@jokob-sk jokob-sk changed the title Grouping-devices-by-Vlans Grouping-devices-by-Vlans [setup] + Location dropdown missing custom values [bug] Oct 27, 2024
@jokob-sk jokob-sk added the next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed. label Oct 27, 2024
@LaurentAtJoes
Copy link

Yup, I confirm that with the dev image, Location shows the custom values in the drop-down list. 👍

@jokob-sk
Copy link
Owner

releasing in 15 min -> closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request➕ New feature or request next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed. Waiting for reply⏳ Waiting for the original poster to respond, or discussion in progress.
Projects
None yet
Development

No branches or pull requests

4 participants