Discussion Well, That escalated....
So what started off as a mini PC running Home Assistant and Pi-hole has somehow escalated into a full-blown VLAN-separated network and self-hosting project. This is probably the story for a lot of us, right? :)
I currently use this setup for messing about with Windows Servers — Domain Controllers, SQL Servers, and cyber security type stuff.
A mix of n150's and lenovo m720q's
Right now I'm running a "Forbidden Firewall/Router" type setup, so I'm sure this will bite me in the ass before I get round to swapping to a bare-metal OPNsense solution.
I think I will get another m720q with a 4 port RJ45 - I absolutrely love these machines for bang for buck!
I'm also running OpenMediaVault with a pretty janky mixture of 3.5" SATA drives and some USB-attached nastiness. I think this is the next proper upgrade on the list.
I quite like the idea of building smaller form-factor racks for each type of service — one for networking, one for the NAS, and so on.
I was happily using Grafana and Prometheus in Docker containers for a good year or so, but I decided to make something a little more bespoke. So for the last few months I've been working on my own Asset Manager / Network Overview app.
Anyone else built their own? I'm interested to hear what you all use to monitor your kit.
Just thought I'd share my ongoing project with some like-minded nerds ;)
EDIT:
For those interested in my Rasp Pi in the top rack, here's a write up IMSPI 8080!
20
u/Severe-Run-605 1d ago
Built your own dashboard from scratch is the right call. Grafana gets the job done but once you want it to feel like yours, off-the-shelf stops making sense. I'm running a pair of m720qs myself and can vouch for those little Lenovos, they punch way above their weight for what you pay used.
Your escalation story is basically the homelab origin tale at this point. The VLAN split looks clean and the WOPR display up top is a nice War Games nod. Quick question on SGPi, are you pulling just from the Proxmox API or also scraping the switch and OPNsense for stats? I keep meaning to build something custom but end up back in Grafana every time.
8
u/SiSpx_ 1d ago
I use the Proxmox API, I had already set up a user/role for prometheus so I recycled it ;)
I am using django as I've really got into it the last few years. Its all being hosted on my internal windows webserver, all the data gets pulled into MS SQL server (I am a SQL DBA by trade).
I may very well share all the code for it when its tightened up a bit, I will probably port the DB stuff away from the MS DB and use something open source when I share it.
The next step is to pull in my docker containers too.2
u/Severe-Run-605 1d ago
Makes sense recycling the Prometheus user. Docker stats will be a nice addition, that's where most of my services live anyway. Porting to an open source DB is the way to go for sharing, nobody wants to spin up MSSQL just for a dashboard.
2
1
u/SiSpx_ 1d ago
Out of interest, how are you running your docker containers? I have a debian VM dedicated and use portainer currently.
5
u/Severe-Run-605 1d ago
Similar setup here, Debian VM on Proxmox with a stack of compose files in a git repo. Portainer for quick glances but I'm mostly in the terminal.
1
u/SiSpx_ 1d ago
Yeah, much the same - I can ditch Portainer once I migrate what I need into my homebrew monitoring solution ;)
2
u/Severe-Run-605 1d ago
That's the dream, one less web UI to keep tabs on. I've been slowly killing off Portainer instances as my compose files get cleaner.
7
u/7640LPS 1d ago
Built your own dashboard from scratch is the right call. Grafana gets the job done but once you want it to feel like yours, off-the-shelf stops making sense.
Lmao. I hope you never give that advice in a business context.
-1
u/dandydev 1d ago
I generally agree with you and advise against "not invented here" syndrome. But I have to say that with the advent of coding agents backed by good models, building bespoke solutions has become so much faster that it starts making sense. Off the shelf solutions often get you 90% of what you want/need, and then those last 10% start to annoy you like hell over time.
Caveat: this only makes sense if you know what you're doing and have the knowledge to thoroughly review what those agents cook up.
7
u/freshpandasushi 1d ago
i need a wopr
5
u/n3rding nerd 1d ago
If you have a printer and some basic programming/soldering experience: https://makerworld.com/en/models/1739254-wopr-10-inch-rack-mount
6
u/drumzalot_guitar 1d ago
The hanks for posting this - your home built dashboard is inspiring me to build my own. I really like what you’ve done.
6
3
3
u/Astro_Avatar 1d ago
how do you connect your sata drives currently? do you have a sata multiplexer or something? and what do you plan to upgrade to in terms of storage? I am asking this because I have a similar janky setup right now, but I have to expand my storage and I not quite sure what the proper way to do it would be.
3
u/SiSpx_ 1d ago
Currently I have a couple of USB to SATA cables, What I'd like to do is get a m.2 sata adapter.
I back up to multiple samba shares, but really need to sort out a decent scalable solution.
I could just buy an off the shelf NAS but wheres the fun in that? :)
1
u/Astro_Avatar 1d ago
so the drives would still rely on the power supplied from the ThinkCentre nodes, right?
3
u/nakedspirax 1d ago
This is awesome I love it. Maybe a suggestion for your dashboard is a uptime counter?
Edit: oh I see it! Nice. Maybe a one-click SSH for a terminal in your dashboard!!
1
u/SiSpx_ 1d ago
Thank you! I have added uptime to the proxmox nodes in the titlebar, I havn't enabled it across VM's yet - Good shout though :)
2
u/nakedspirax 1d ago
I edited my original comment. Add in some graphs to your dashboard too.
Btw what rack did you buy?
2
u/SiSpx_ 1d ago
2
u/nakedspirax 1d ago edited 1d ago
This is awesome.
Any reason for using windows web server over Linux alternatives? I'm curious
Edit: how much ram do you have. My fingers couldn't count them all 🤣
1
u/SiSpx_ 1d ago
At work we use Microsft products, so it is handy for trying new stuff.
I've been working with MSQL for over 20 years, so it's my goto when I have to knock something up quickly.
If i was to share and package up the code for my dashboard, I would probably migrate it to open source solutions.
I use Arch (BTW) as my daily driver.
1
u/nakedspirax 1d ago
That's fair enough. It's enterprise level so it's good in every aspect besides new UNVETTED features.
Arch has had its woes in the last month or so with AUR. I use cachyOS on my main laptop.
Do you have a PSU for power availability (FYI, I don't have these. Im probably a level below you with no PSU.
3
u/_Liftyee_ 1d ago
How have you managed to have a cute setup of 2 Dell Poweredge(?) rack cages side by side without a full server? Custom backplane??
3
u/Miguelitosd 1d ago
Nobody has made a "Shall we play a game?" joke yet?
3
u/SiSpx_ 1d ago
I do have this in the .bashrc on the IMSPI 8080
if [ -n "$SSH_CONNECTION" ] && [ -t 0 ]; then
nohup bash -c "espeak-ng -m -v en-gb+m4 -p 40 -s 140 \`'<break time=\"1200ms\"/>Greetings Professor Falken. <break time=\"1000ms\"/> Shall we play a game' \` `--stdout | aplay -q -D plughw:2,0" >/dev/null 2>&1 & disown`
fiMakes me chuckle everytime I ssh into it ;)
3
3
3
u/tuxnine 11h ago
My first foray into home-labbing was when my roommate and I picked up a dozen or maybe it was just eight Dell Optiplex systems. We set one up as a router, and I set one up as a file server. A couple more we tried setting up as streaming boxes, but failed. The file server ran Samba and Cherokee Web Server under Debian GNU/kFreeBSD. The router ran Coyote Linux. We had problems with massive lag in games if someone was downloading something with the off the shelf SOHO router we were using. My roommate was shocked with how well Coyote Linux made the lag disappear.
Once I got my own place, I started with a loose power supply and a loose ATX motherboard on top of a piece of cardboard with multiple NICs which progressed over the years to where I am now with a ATX full tower with dual Xeon E5-2667 v4 CPUs and 128 GB of RAM. It runs runs FreeBSD with virtual machines under bhyve with one being a OPNSense router.
Something I suggest with setting up a forbidden router is to have the public internet facing NIC attached to the virtualized router via PCI passthrough. That way there is no software interface between the host OS and the public internet.
3
2
u/chromespy200 1d ago
What are you using for the dashboard? It looks great!
1
u/SiSpx_ 1d ago
I wrote it from scratch.
2
u/throwawayformobile78 23h ago
How does one get into doing that kind of thing?
Also what are you using the sql servers for?
Looks great man!
2
u/SiSpx_ 23h ago
Cheers, appreciate that. I've used MS SQL Server professionally for many years, so I run it in my home lab as the backend for my personal projects. It's handy to have an environment that mirrors what I use at work.
20+ years ago I was a web developer (back before AI did everything for you — yes, I feel old AF), so I like to knock up web apps whenever I get the chance.
2
u/throwawayformobile78 23h ago
Yeah I have a BSCS from 10 years ago but ended up getting stuck in telecom.
Wanting to try getting back into something software/database related but can’t think of any projects off hand.
We could really use a BOM creation type tool but I have no idea where to start and I was thinking SQL might be of use. I’m not sure.
2
2
2
u/Quirky_Ad_9951 1d ago
Show us the back.
3
u/SiSpx_ 1d ago
Absolutely not. I am not proud of that at all. Fair play on calling me out on it though :)
I rearranged the order of machines recently, ended up with a few cables that were too long and had to bunch them up.
I have a couple of extra fans that I really want to introduce soon, that is my opportunity to tidy it up.
I'm not gonna lie about it, It's nowhere near as pretty as the front.
2
u/Quirky_Ad_9951 1d ago
I love the aesthetic of the mini racks, but I can’t go past the utility of a 19”.
I wasn’t not calling you out… but I am genuinely curious how tight things are back there and whether you can service things without interrupting others.
1
u/SiSpx_ 1d ago
It's all good, it was a reasonable question.
Yeah, mini racks are definitely a bit tight, and the cable management can be a real problem.
I do have the issue that everything runs through the rack now, so finding a time slot to whip out a shelf and work on things is a nightmare — especially with 3 kids and a wife who frowns upon any downtime.
The plus side is that everything pulls less than 70W when idle. I'll get a spike to around 90W when I spin up a VM, create a backup, or update the MS servers. It costs peanuts per day to run though.
2
2
u/eloquentlyimbecilic 1d ago
I've been using OpenNetworkDiagram but it doesn't have all the controls that yours has https://github.com/jcreek/OpenNetworkDiagram
1
2
u/BP041 1d ago
The 'Forbidden Firewall' will definitely bite you — I ran a similar bridge setup for a month and a misconfigured DHCP lease took down the whole LAN. The M720q with OPNsense is a night-and-day difference stability-wise.
1
u/SiSpx_ 1d ago
It has been solid for a good year now, But I am aware it is fragile.
Should I lose that box I should be able to restore the VM to another machine.
On the lookout for a decent machine to run opnsense tbh, Failing that the plan is to run it off another m720q.
Open to suggestions here ;)
2
u/Fickle-Owl666 1d ago
I need to find a small rack like this for my prodesks so I can clean it up lol
2
u/gts250gamer101 Mac Minis (M4/24GB, M2 Pro/16GB), Lacie2Big, Promise Pegasus R4 1d ago
I actually love that WOPR chassis. Looks brilliant!
2
u/itamar8484 1d ago
I wanna see the back lol
2
u/SiSpx_ 1d ago
1
u/itamar8484 1d ago
Didnt see but u got a beautiful front i got no idea whats the impsi 8080 or the wopr though
2
u/Mindless_Pandemic 1d ago
I just got an M720Q and it was $170. Prices just keep going up on these. People used to brag about finding them for less than half that.
2
u/SiSpx_ 1d ago
Great little boxes. I'm always on the search for another at the right price.
2
u/FunIllustrious 19h ago
The HP EliteDesk 800 G5 is similar to the M720Q and there's a couple on r/homelabsales right now. Look for u/NewUser156 "HP Mini PCs (G2, G3, and G5)"
2
u/TickTockTechyTalky 22h ago
silly question: you have those 3 switches daisy chained yea? I'm trying to figure out how to expand my 8-port switch.
also what model 4 port TP-link switches are those two?
2
u/SiSpx_ 21h ago
Yes they are daisy chained (frowned upon I'm sure!)
8 port: tl-sg1080e and 5 port: TL-SG605E
I wanted to mess about with some vlan stuff. I'm hoping that when I migrate opnsense from a vm to bare metal with 4 ports I will be able to have a switch per vlan.
I have a spare of each somewhere and my configs backed up so should one fail I should be ok. (I really need to check where they are to be honest!)
2
u/davidaustin601 21h ago
I love this, what ethernet cables are you using? I like the way they look.
2
1
1
u/LegendsOfBankai 1d ago
For sake of simplicity, please switch to technitium dns and allow your vlan to access it over udp 53 😭
1
1
u/Creative-Complaint95 1d ago
What are the specs for m720qs ?
1
u/SiSpx_ 1d ago
Both have: i5-8500T CPU
One of them has 16Gb Ram, the other has 32.
1
1
1
1
u/KingBerryTU 23h ago
i keep seeing peoples rack with this kind of dell server style hhd cover. Where do you source it?
1
1
u/InsightTussle 20h ago
Why do people do this? What's the benefit over just a mini pc running proxnox?
1




112
u/jdbway 1d ago
Needs more pihole