Pi.Alert is dead...šŸ’€ Long live NetAlert X šŸš€ (network monitoring)
from jokob@lemmy.world to selfhosted@lemmy.world on 20 Apr 23:22
https://lemmy.world/post/14517755

After thinking for about a year about it I decided to rename the project to šŸš€NetAlertX. This will help prevent confusion about which fork someone is using, and differentiate it from the now stale upstream project. With about 1800 or so commits over the stale project, I thought, this project deserved a new name. It will also remove the confusion about only supporting Raspberry Piā€™s šŸ˜µ

On top of the rename, I implemented āœØunlimited icons - just find an SVG you like and use it šŸ˜„.

The rename from PiAlert to NetAlertX should be pretty straightforward and existing setups should work fine, no manual migration steps should be necessary. Still, caution is recommended.

Check this github.com/jokob-sk/NetAlertX/issues/633 thread for edge-cases and the guide github.com/jokob-sk/NetAlertX/ā€¦/MIGRATION.md if you decide to change your docker-compose.

#selfhosted

threaded - newest

walden@sub.wetshaving.social on 20 Apr 23:41 next collapse

Nice! Iā€™m just getting a blank screen at myip:20211 after installing it with docker compose. Iā€™ll try again later and see if I can figure it out.

jokob@lemmy.world on 21 Apr 09:29 next collapse

Open an issue and I will help out

walden@sub.wetshaving.social on 21 Apr 16:44 collapse

It was a typo in my compose file. Oops!

PrettyLights@lemmy.world on 21 Apr 15:35 collapse

I had a similar issue and it was due to a typo in my Timezone field for Compose

walden@sub.wetshaving.social on 21 Apr 16:42 collapse

Wow. What are the chances?

<img alt="" src="https://sub.wetshaving.social/pictrs/image/7aa28dd9-07d9-42c9-aa14-be2e5d66b753.png">

asbestos@lemmy.world on 22 Apr 01:18 collapse

What the actual fuck

tagginator@utter.online on 21 Apr 00:18 next collapse

New Lemmy Post: Pi.Alert is dead...šŸ’€ Long live NetAlert X šŸš€ (network monitoring) (https://lemmyverse.link/lemmy.world/post/14517755)
Tagging: #SelfHosted

(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)

I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md

Nouveau_Burnswick@lemmy.world on 21 Apr 00:42 next collapse

Breaking change!

Now Iā€™ve got to update my dashboards with the new name and icon šŸ˜€

jokob@lemmy.world on 21 Apr 09:30 collapse

šŸ˜…

Steveanonymous@lemmy.world on 21 Apr 00:49 next collapse

This looks exactly like my pi hole dashboard.

What does net alertx do?

Daxtron2@startrek.website on 21 Apr 02:26 next collapse

Theyā€™re not related at all, it looks like this is for detecting malicious networked devices.

HumanPerson@sh.itjust.works on 21 Apr 12:07 collapse

I think they were referring to the UI which looks very similar to the pihole dashboard.

Steveanonymous@lemmy.world on 21 Apr 12:29 collapse

I was. Iā€™m just a dummy

cooopsspace@infosec.pub on 21 Apr 07:55 collapse

The framework is called AdminLTE, itā€™s bootstrap.

Krafting@lemmy.world on 21 Apr 01:28 next collapse

I think the X is a bit too much, but other than that, awesome and keep up the good work ! šŸ˜‹

folkrav@lemmy.ca on 21 Apr 02:29 collapse

The practice of calling a product ā€œFooBar Xā€, unless itā€™s literally your version 10 that you just happen to be marketing in Roman numerals, feels a bit like those businesses that named themselves ā€œPlumbing 2000ā€, itā€™s a bit tacky and doesnā€™t tend to age well IMHO. But hey, itā€™s not like itā€™d be the first software with a slightly kitsch name I use either lol

jokob@lemmy.world on 21 Apr 09:28 collapse

I was thinking about that sooo much, but difficult to find a free domain for networking-related projects. I think I delayed the rename by a month because I couldnā€™t decide. So yeah, I am not the happiest about the X at the end myself, but I also donā€™t have that much money to get a proper domain, so NetAlertX it is :)

folkrav@lemmy.ca on 23 Apr 02:09 collapse

Naming is really hard, I canā€™t blame you haha. I never had to name public facing things, at work I usually advocate for either really straightforward descriptive names or just having fun on a theme (e.g. we had classical music based stuff at one place, like Orchestra, Sonata, Symphony, and pop culture/nerdy stuff at another like Marvel heroes or SW characters, etc). Coming up with a name thatā€™s marketable, discoverable and searchable sounds like a nightmare lol

B0rax@feddit.de on 21 Apr 06:25 next collapse

Never heard of it, what does it do?

Weslee@lemmy.world on 21 Apr 06:36 collapse

Monitors your lan and notifies you if any unknown devices connect

jjlinux@lemmy.ml on 21 Apr 12:57 next collapse

This is awesome. Will it work with VLANs or would I need an instance for each VLAN? I can do either, but allowing for VLANs would be awesome.

jokob@lemmy.world on 22 Apr 10:10 collapse

VLANS are supported - check out the docs šŸ˜‰: github.com/jokob-sk/NetAlertX/blob/ā€¦/SUBNETS.md#vā€¦

jjlinux@lemmy.ml on 22 Apr 12:58 collapse

Oh, I you just made me very happy. New toy, which will make my wife somewhat unhappy šŸ¤£. Thanks so much.

And of course Iā€™m going to RTFM, really appreciate the direct link. I just play with so much stuff already that I prefer to ask some key questions before I jump into a rabbit hole.

kr0n@lemmy.ml on 21 Apr 14:05 next collapse

I switched to WatchYourLan. Itā€™s simpler and I feel I donā€™t need anything else

nik282000@lemmy.ca on 21 Apr 14:45 next collapse

I found WatchYourLan hosed my PiHole logs. Somehow the WYL instance got its hostname associated with ~10 mac addresses on my lan so more than half of my traffic comes from ā€œwatchyourlan.localā€. FML

jokob@lemmy.world on 22 Apr 10:45 collapse

Yep, WYL is great - someone did a comparison video if you are deciding: www.youtube.com/watch?app=desktop&v=v6an9QG2xF0

PipedLinkBot@feddit.rocks on 22 Apr 10:45 collapse

Here is an alternative Piped link(s):

https://www.piped.video/watch?app=desktop&v=v6an9QG2xF0

Piped is a privacy-respecting open-source alternative frontend to YouTube.

Iā€™m open-source; check me out at GitHub.

ikidd@lemmy.world on 21 Apr 16:10 next collapse

Edit: if youā€™re evaluating this, use a chromium based browser because thereā€™s a pile of things not working if you use FF. That means Iā€™m not going to use it, but you do you.

The hard to find ARP scan dialog box that is pretty much the starting point for anything here is very special. Thereā€™s no dropdown that lists the physical interfaces so you have to hunt around to find the listing for Network Hardware that for some reason is under the About top level menu item. Of course, that lists every virtual docker interface along with the physical network devices so youā€™d better know what youā€™re looking for.

Contrary to the poorly organized docs, the physical interface will rarely be eth0 or eth1, itā€™ll be something like ā€œenp5s2ā€. So now you go back to edit the entries to the physical interface but you canā€™t, all you can do is Remove All. Well, better get your entries letter perfect, because if you make a mistake on a single character, youā€™re starting from scratch after another Remove All.

In your docs, you recommend not editing the app.conf file, but that would be way more forgiving than this. At least there you can add VLANs.

And thereā€™s no way I can see to bulk add new devices to a known and/or trusted state. Go into each device and uncheck the ā€œNew Deviceā€ box. How do I add a device to My Devices? Who knows.

Publishers: Nothing to find in the Settings for each of the publishers. Every publishers settings section is blank.

UI will take to blinking randomly as it gets into a refresh loop. Have to close the window and reopen it to get it usable again. Sometimes all the text in each setting header goes away. No headings on the tables for the Devices, just the set order arrows that would be on each column, not lined up with anything correctly. Oh, now Iā€™ve lost every setting on each setting section, just blank.

Iā€™m reticent to get much more into the app because if this is the introduction, Iā€™m scared of what other frustration Iā€™m going to find. Not to mention having the arrows for the left menu tree expansion backwards to how nearly everyone else ever does it, but I guess thatā€™s just my OCD.

Man, I want to like this because it looks like it could be a simple to use version of Nagios, but some of the design is pretty hard to take.

jokob@lemmy.world on 22 Apr 10:09 next collapse

Hey, thanks for trying out NetAlertX.

Iā€™m using FF as my primary browser so not sure about why your experience is so different.

I think Iā€™ve done alright, writing an app that is configurable via json manifests, dynamically loaded settings and a plugin system everyone can contribute to.

There are of course things to improve, and almost everything listed in your post is something on my long to-do list. Itā€™s very easy to find flaws in things, but whatā€™s more difficult is to contribute to the community and improve things.

So if you are up for a challenge - open a PR and help me improve things step by step.

Thanks in advance if you decide to help out! Otherwise, comments like these make free open-source work unenticingšŸ™

EDIT: Fixed the empty settings (hopefully), added a remove last button on the subnets setting.

Oh also - there is a well documented bulk-editing feature: github.com/jokob-sk/ā€¦/DEVICES_BULK_EDITING.md VLANS are documented here: github.com/jokob-sk/NetAlertX/blob/ā€¦/SUBNETS.md#vā€¦

ikidd@lemmy.world on 22 Apr 13:48 collapse

OK, sorry to discourage you, it wasnā€™t my intent. I updated to FF 125 during my evaluation and that didnā€™t fix anything, but switching to Chrome and things started working made me think this is just another project designed for Chrome. Iā€™ve tried to help on projects like that and the attitude Iā€™ve always gotten back is ā€œthen use Chrome like everyone else, weirdoā€.

I used to project manage a programmer team, and UI is the biggest user complaint I would get hit by. So Iā€™m pretty sensitive to non-intuitive UI design. At this point, Iā€™d rather edit the conf file than use the Settings page. Not sure how to reload that conf file other than to restart the container.

I wish I had time to spend on this submitting actual code, because I like a lot of what I see. Best I could do is add to your list of todoā€™s by creating issues and it sounds like you have plenty on that list already. If you want a couple more, open the spoiler below. In any case, have fun on your project and donā€™t let assholes like me bring you down.

spoiler

1. Remove Last: this isnā€™t great. A selectable list with Edit and Delete buttons is more usable and standard. I saw all those Remove Last buttons throughout the Settings, and itā€™s not much better than Remove All if you have to delete every entry after the faulty one to fix your list. Thereā€™s plenty of settings that have a dozen items in the list that would all have to be re-entered manually as text. 2. Dropdowns pre-validate input. Making a box that you can put random additional arguments into means you have to chop up the input in arguments to validate, or maybe you arenā€™t validating it until you press Save, in which case youā€™re making it even tougher to validate the entire file. You can only show items in the dropdown that are valid for that input. Several pages of docker virtual interfaces and named networks is probably not what you want in the dropdown. Eth0 is not a standard interface name anymore in most distros. 3. That bulk-editing workflow; so I pick items on one page, why would I expect that theyā€™d be carried over when I go to a completely different page in another section of the application? And in that section, thereā€™s nothing to indicate that clicking on the gray bar in the middle of the warning text orange box would pop up the list of devices so I can do things with them. What I typically see in things like this is checkboxable list items and a toolbar or menu at the top of the list on the Devices page to perform actions.

jokob@lemmy.world on 22 Apr 22:04 collapse

Thanks for the constructive feedback.

  1. Iā€™ll keep thinking how to improve the interface selection to simplify the first-time setup. Itā€™s a bit lower on my priority list, but the suggestions are valid.
  2. Iā€™m trying to balance configurability and ease of use and so far the current input is OKAY - it limited the number of wrong setups significantly and it still gives options to include additional arguments. But fair point of having more robust input validation. In general, the initial configuration UX, although very important, is less important than day-to-day tasks so I prioritize accordingly. Still, there is lots of to improve and if this was something that made me money Iā€™d be able to spend more time on the niceties - Iā€™m really focused on the core functionality at this point with approx a 80/20 time investment split.
  3. I didnā€™t have any feedback on the workflow yet, but Iā€™ll keep this in mind to make it more user-friendly. Once you select the devices they are pre-populated in the grey area so I didnā€™t get any feedback of it being counter-intuitive.

Still itā€™s weird you had issues on FF as I use it as my main driver. šŸ¤”

Thanks again for the feedback and if you can, please submit an issue for quick UX improvements here-and-there. Again, trying to balance where I spend my time to improve the app šŸ˜‰

jokob@lemmy.world on 25 Apr 00:08 collapse

I know itā€™s not perfect, but hopefully this will improve the editing experience a bit: <img alt="" src="https://lemmy.world/pictrs/image/a66410f3-5585-4904-9f06-e63e3b00bc5c.gif">

ikidd@lemmy.world on 25 Apr 00:50 collapse

Thatā€™s way better. Nice job.

Iā€™ll see it on the next docker build release.

Decronym@lemmy.decronym.xyz on 21 Apr 16:15 next collapse

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that Iā€™ve seen in this thread:

Fewer Letters More Letters
ARP Address Resolution Protocol, translates IPs to MAC addresses
DNS Domain Name Service/System
PiHole Network-wide ad-blocker (DNS sinkhole)

2 acronyms in this thread; the most compressed thread commented on today has 15 acronyms.

[Thread #698 for this sub, first seen 21st Apr 2024, 16:15] [FAQ] [Full list] [Contact] [Source code]

acockworkorange@mander.xyz on 26 Apr 10:25 collapse

I just gotta say thatā€™s one of the most positive developer-user interactions Iā€™ve seen. Kudos Jokob, I donā€™t think you could do any better responding to requests and criticism.

jokob@lemmy.world on 26 Apr 12:23 collapse

Oh cheers a lot, doing what I can! Messages like this make my day so much better. Trying to stay positive and move things forward. šŸ‘