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?

  • JoeB-@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    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.

    • daniel280187@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      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?

      • JoeB-@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        does it also report DHCP reservations?

        Thanks, and yes, Typestatic” 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.