this post was submitted on 22 Oct 2023
3 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

As in, when I watched YouTube tutorials, I often see YouTubers have a small widget on their desktop giving them an overview of their ram usage, security level, etc. What apps do you all use to track this?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago (2 children)

I use Telegraf + InfluxDB + Grafana for monitoring my home network and systems. Grafana has a learning curve for building panels and dashboards, but is incredibly flexible. I use it for more than server performance. I have a dual-monitor "kiosk" (old Mac mini) in my office displaying two Grafana dashboards. These are:

Network/Power/Storage showing:

  • firewall block events & sources for last 12 hrs (from pfSense via Elasticsearch),
  • current UPS statuses and power usage for last 12 hrs (Telegraf apcupsd plugin -> InfluxDB),
  • WAN traffic for last 12 hrs ( from pfSense via Telegraf -> InfluxDB),
  • current DHCP clients (custom Python script -> MySQL), and
  • current drive and RAID pool health (custom Python scripts -> MySQL)

Server sensors and performance showing:

  • current status of important cron jobs (using Healthchecks -> Prometheus),
  • current server CPU usage and temps, and memory usage (Telegraf -> InfluxDB)
  • server host CPU usage and temps, and memory usage for last 3 hrs (Telegraf -> InfluxDB)
  • Proxmox VM CPU and memory usage for last 3 hrs (Proxmox -> InfluxDB)
  • Docker container CPU and memory usage for last 3 hrs (Telegraf Docker plugin -> InfluxDB)

Netdata works really well for system performance for Linux and can be installed from the default repositories of major distributions.

[–] [email protected] 1 points 11 months ago (1 children)

Network/Power/Storage

Pretty cool dashboards. I liked the DHCP clients info, does it also report DHCP reservations?

Where do you do DHCP, on the PFSense or somewhere else?

[–] [email protected] 1 points 11 months ago

does it also report DHCP reservations?

Thanks, and yes, Type "static" are DHCP reservations.

Where do you do DHCP, on the PFSense or somewhere else?

Yes, on pfSense. I use the Python function written by pletch/scrape_pfsense_dhcp_leases.py (on Github) that scrapes the pfSense status_dhcp_leases.php page. Then added my own function for querying my TP-Link APs using SNMP to determine which AP a wireless DHCP client is connected to.

I can throw the script up on Dropbox if you are interested. I am mediocre at writing Python, so it is pretty specific to my environment.