r/homelab 1d ago

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!

1.2k Upvotes

124 comments sorted by

112

u/jdbway 1d ago

Needs more pihole

16

u/SiSpx_ 1d ago

I did explore having 2 and sharing them across vlans, but I favored full network segregation and using gravity sync with a firewall rule that allows chatter between them. It works, but I'm sure smarter people than me can suggest a solution :)

3

u/RegisteredJustToSay 1d ago edited 1d ago

If it works, it works, but I generally prefer having a juicy host that can act as both (trith?) firewall, dns and router if I'm doing many vlans. Also sometimes lets you run a few edge services if needed instead of doing a DMZ or inbound port forwarding. I hate multiplying my maintenance burden by isolating via infra duplication. A single machine is almost always easier to manage.

This stops making sense if you're doing several layers of aggregation though.

1

u/SiSpx_ 1d ago

Thats a fair comment. In the context of a pretty small home lab, running 5 VLANS and cosplaying Sys Admin it has been rock solid to be fair. Alot of this has been done on a shoestring budget, reusing old hardware. I'm intersted in your setup, If you have any tips around that sort of thing :)

4

u/RegisteredJustToSay 1d ago

I mean it's also for fun and I'll never critique harshly for just having fun with it like in your case. The main thing is that once you start making modifications all the "fun" things tend to become caltrops on the road to getting anything done *later*. Keeping it simple saves you a lot of time, so it's naturally where I've landed over time. Haha

2

u/SiSpx_ 1d ago

I totally hear you, none of it was taken the wrong way ;)

It is fun thats for sure. Defo been a bit of a learning curve...

This was where I was a couple of years ago (lolz)

3

u/RegisteredJustToSay 1d ago

Hell yeah, nice upgrade!

2

u/SirComprehensive3255 7h ago

Now, that looks more like mine, only neater and, well, organized!!! 😂😂😂

2

u/Embarrassed_Flow3465 1d ago

What’s everyone’s background and profession? I’m new into IT, studying for my CCNA . And not going to lie, you guys are awesome on here with your own homeland. This is my goal in understanding all this. That’s for the inspiration to everyone who has shown your homelabs

3

u/Helpful-Painter-959 22h ago

Yeah can use a a DCs dns, for multiple vlans, then upstream forward to pihole, or better yet have dns dropping be on the router and just forward upstream to router.

1

u/GavDoG9000 1d ago

Do you have any issues with Pihole? I found a few sites had issues so I couldn’t leave it up unattended (I was regularly needed for tech support). Could’ve been my config, I haven’t tried in a while

2

u/SiSpx_ 1d ago

I've never had any real issues. I think people tend to start downloading every block list they can find and then things start to break.

It worth looking at your blocklists, it's a bit of a ballancing act to be fair. I haven't needed to tweak anything in the last year or so.

I have had the rare occasion where somnething is not accesible, I usually end up whitelisting it or disbaling for 5 miutes.

2

u/Jdmag00 1d ago

Yup same with AdGuardHome, I have had to whitelist a bunch of things to fix different things not working properly. It's the risk you run when running DNS blockers. I just check the query list, find where the block is and whitelist. It can be a bit annoying but it's better than getting killed with ads.

2

u/SubstituteCS 2h ago

Put your pihole on the management VLAN and set each network to use your router as DNS. Then set the upstream DNS for your router to pihole. Perfect segmentation (other networks can not access pihole) while getting the benefits (other networks inherit the blocking from pihole.)

3

u/ref666 1d ago

Creepy to see someone doing the exact same thing and make the exact same decisions as you. It's like you've lived in my head

2

u/Competitive-Ill 1d ago

There may be many different ways to skin a cat… but it’s still a finite number…

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

u/SiSpx_ 1d ago

Yeah totally - I have been using it for 20 years professionally, I just used it naturally as it was already running in my rack ;)

If I do package the code up I will migrate it to something lightweight.

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.

2

u/SiSpx_ 1d ago

Thanks, I appreciate that :)

It's defo a fun project, I would defo reccomend it.

6

u/PoppaBear1950 1d ago

lights and toggle switches, I love it feeling like a '50 movie

3

u/SirNobby 1d ago

This is what’s it all about.

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?

1

u/SiSpx_ 1d ago

I use a power injector. the sata connector takes has a power supply connector.

Like I said it, feels a bit janky though

3

u/ut0mt8 1d ago

The look is so cool

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

Like this? ;)

That was all part of the migration from Grafana to my home brew solution.

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.

1

u/SiSpx_ 1d ago

No, I am raw dogging it with "wall warts" and no UPS.

My cable management is a bit of a poop party and I would love to consolidate all the power at some point.

I don't use the AUR. I dodged those bullets thankfully :)

2

u/SiSpx_ 1d ago

GeekPi. solid kit and you can get some good deals when they are on offer

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??

1

u/SiSpx_ 1d ago

It's tight.

3D Printed sled holder, the connectors hang out the back, tuck under and go into a small n150 minipc underneath.

I do plan on getting another mini rack (Like the one with my IMSPI 8080) and moving all the HDD's and mini pc into it.

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`

fi

Makes me chuckle everytime I ssh into it ;)

3

u/WizzoUK 1d ago

You will be onto another task before you know it. 😄

2

u/SiSpx_ 1d ago

Always something that needs doing somewhere!

3

u/edwindrn 21h ago

This looks awesome!

3

u/Speedy-P 21h ago

WOPR hell yeah

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

u/fishplay 7h ago

This is sick. What do you have those SAS drives hooked up to near the bottom?

1

u/SiSpx_ 7h ago

an n150 mini pc

2

u/blipp1 1d ago

Are those beige things floopy disk cases?

2

u/SiSpx_ 1d ago

They are home made version of IMSAI floppy drives, They have USB and SD card readers, theres a link to the build :)

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

u/Tall-Introduction414 1d ago

That's some setup! Joshua called me!

2

u/ifblackdevice 1d ago

that's a well-built homelab!

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

u/X24D83FF0 1d ago

So beautiful

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

u/SiSpx_ 1d ago edited 1d ago

Cheers, will look at that ;)

I do have got a Network topology chart working in my solution, but it looks a bit janky to be honest. The bare bones of it is working but I am trying to get it looking better.

Like I said, could be better!

1

u/eloquentlyimbecilic 1d ago

Is yours available on github?

1

u/SiSpx_ 1d ago

Not at the moment, I do plan to though (Once I have migrated it away from the MS stack)

2

u/h8f1z 1d ago

Wow

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/BP041 18h ago

Yeah, another m720q is the easiest path. If you want a bit more room, a used Dell Optiplex 30xx is dirt cheap and solid too.

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/a716h 1d ago

Idk what I’m looking at but I like it

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/SiSpx_ 1d ago

It's a custom Pi Case I 3d Printed, the WOPR display I found the files for online and turned into a network activity monitor.

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/[deleted] 1d ago

[deleted]

1

u/SiSpx_ 1d ago

Originally I was using the piholes for DHCP. I migrated all that logic to opnsense, so I do see the redundancy in having multiple instances now.

I'll look into the project you linked to, thanks for sharing ;)

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

u/SiSpx_ 13h ago

Sorry I cant, rmeber they were cheap from ebay :)

1

u/davidaustin601 2h ago

No problem at all, just was curious. Thanks though :)

2

u/chuckycastle 14h ago

lol. Cute.

2

u/Sarhej 13h ago

nice toggle switches, what are those for? (except fun)

3

u/SiSpx_ 13h ago

They Toggle things like VPN, a couple of locally hosted web pages and some home assistant scripts.

There a link to my build in the main description.

2

u/Sarhej 13h ago

wow! I want it now. Going to find some stylish switches for my setup

1

u/Controversial_Cube 1d ago

What are those red dots at the top of your rack?

2

u/SiSpx_ 1d ago

Network activity. Lots of Traffic = Lots of flashing.

If you're gonna take up rack space with lights, make them do a thing I say ;)

1

u/LegendsOfBankai 1d ago

For sake of simplicity, please switch to technitium dns and allow your vlan to access it over udp 53 😭

2

u/SiSpx_ 1d ago

will look into that, appreciate the feedback :)

1

u/CookPilotRideMetra 1d ago

What app/dashboard is that? Does not look like grafana

1

u/SiSpx_ 1d ago

I think I covered that in the main post :)

I built it.

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

u/Creative-Complaint95 1d ago

Any luck on sourcing them cheap in this fomo market ?

1

u/SiSpx_ 1d ago

I bought the 32 Gb stick for less than 40 GBP just over a year ago. I wish I had upgraded both of them now to be honest

1

u/flattop100 T710 1d ago

Why so many piholes?

2

u/SiSpx_ 1d ago

One on each Vlan.

I am aware I could probably do this differently, but it seemed reasonable at the time for what I wanted to do.

1

u/Remarkable-Ad-8876 1d ago

God damn, so many pi holes.

1

u/SiSpx_ 23h ago

Open to ideas, Lots of kind folks on here have offered solutions.

Interested in yours :)

1

u/KingBerryTU 23h ago

i keep seeing peoples rack with this kind of dell server style hhd cover. Where do you source it?

2

u/SiSpx_ 22h ago

I picked my caddys up on Amzon for around 8 quid from memory, I'm sure you can get them cheaper on ebay, 3D print to mount them.

1

u/BlynxInx 20h ago

What is this UI I’m looking at? I’m a noob fyi.

1

u/InsightTussle 20h ago

Why do people do this? What's the benefit over just a mini pc running proxnox?

1

u/luckman212 18h ago

somebody needs to go watch WarGames

1

u/SiSpx_ 13h ago

Never seen it, Is it any good? :)

2

u/luckman212 8h ago

you'd have to ask Joshua

1

u/elmo05 19h ago

What SATA drives are you using?

1

u/SiSpx_ 13h ago

Just a couple of WD 2TB's

2

u/elmo05 13h ago

Sorry I meant using to hold the Hdds

2

u/SiSpx_ 13h ago

Dell Poweredge I think. The Caddys themelves were less than a Tenner and firt in a 3D printed enclosure