After getting fed up with TrueNAS (after it borked itself for the third time and I would have had to set it up AGAIN) I decided to learn Ansible and write a playbook to setup my homeserver that way....
Node exporter on hosts, OpenTelemetry collector to scrape metrics and collect logs, shipping them to Prometheus and Loki, visualising with Grafana.
Day job is for an observability platform where we heavily encourage the use of (and also contribute) to the OpenTelemetry collector project, hence my use of it.
The biggest issue you’re going to have is that the Virgin hubs don’t allow you to change the DNS server that they hand out via DHCP.
By default, Virgin hubs are in ‘Router mode’, this means that they use DHCP to hand out IP addresses, a default gateway address (the hubs own IP address), and DNS server addresses. Typically the DNS server will be the Hub itself and any request sent to the hub will then be forwarded on to the DNS servers that the hub had defined for forward lookup.
Virgin have decided that they know best and don’t allow you to change the DNS servers that they forward your requests to, so you can’t modify the router to point to your PiHole.
There are a couple of options here (and forgive me, I’m doing this from memory as I no longer use virgin):
Disable DHCP (IP addresses management) on the Virgin hub and enable it on the PiHole, if possible. You can then configure the PiHole to hand out the IP addresses for the network, including the PiHole address as the DNS servers (and the Virgin hub as the gateway).
Put the Virgin Hub into ‘modem mode’. This requires you to buy an additional router that will allow you to change the DNS servers to point to your PiHole. Putting the Virgin hub in modem mode basically disables all Router functionality and tells it to only terminate the network connection of the virgin connection, you then connect you new router to the hub (and only your new router) to perform all of the functions required to handle your network. You’ll also need to disable WiFi on the Virgin hub (but I think it may do that automatically in modem mode).
In my opinion, if you can use the method in point 1, that’ll be your easiest and cheapest option, if not, you’re going to have to get a new router.
When I had Virgin (many, many years ago) I went down route 2, but mainly because I wanted more control over my network than Virgin would allow me than with their shitty virgin hubs.
I use node exporter for host metrics (Proxmox/VMs/SFFs/RaspPis/Router) and a number of other *exporters:
exportarr
plex-exporter
unifi-exporter
bitcoin node exporter
I use the OpenTelemetry collector to collect some of the above metrics, rather than Prometheus itself, as well as docker logs and other log files before shipping them to Prometheus/Loki.
Oh, I also scrape metrics from my Traefik containers using OTEL as well.
Not a whole lot to be honest. But I work with OpenTelemetry everyday for my day job, so it was a little exercise for me.
Though, OTEL does have some advantages in that It is a vendor agnostic collection tool. allowing you to use multiple different collection methods and switch out your backend easily if you wish.
Local send is great, but usually my phone is just on data, so id rather not have to turn it on to send files. running a custom rom so no google local share or whatever. thanks :)
Can't figure out how to get Plank working on Wayland
Hey y’all...
Proxmox server monitoring
Hey everyone...
Homeserver Ansible Playbook (github.com)
After getting fed up with TrueNAS (after it borked itself for the third time and I would have had to set it up AGAIN) I decided to learn Ansible and write a playbook to setup my homeserver that way....
deleted_by_author
Display bug in list of profiles
https://lemmy.world/pictrs/image/d069e4df-f941-4036-bc6f-a763307b04d6.png...
What's Your Preferred Server Monitoring Method?
How do you monitor your server containers, disks, load…?...
Radarr lists (lemmy.ml)
cross-posted from: lemmy.ml/post/11999240...
What's a British TV show that the Yanks did better?
I’ll go first…The Office....
Explain Firewall PCs like I'm very inebriated please
Having got my Raspberry Pi for Christmas, I was finally able to enter the world of home labs and I’m slowly getting everything up and running....
How do you monitor your servers / VPS:es?
Hello selfhosters....
Something like localsend but without needing to be on the same network?
Local send is great, but usually my phone is just on data, so id rather not have to turn it on to send files. running a custom rom so no google local share or whatever. thanks :)
One-time payment for ad-free is live in Beta 25. It's $19.99 USD. Update your app if you don't see it.
Tap the account switcher in the top left corner and you should see the option....
New screenshot LJ shared! (lemmy.xylight.dev)
Saturday chat thread
It’s Saturday, the best day of the week for some of us. What’s happening, dudes?...
[bug] user interface error (lemmy.eco.br)
It should be named as "saved" but it's says "Search" again.
Jerboa Android App (lemmy.world)
Hello, i want to ask about the current Jerboa Android Client ( v 0.0.34 )...