• 0 posts
  • 23 comments
Joined 2 years ago
Cake day: September 25th, 2024
  • You’re using something in front of caddy right?

    Atleast refuse basic headers and close connections

    add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
    
    server {
        listen      80 default_server;
        listen      [::]:80 default_server;
        listen      443 default_server;
        listen      [::]:443 default_server;
        ssl_certificate certs/server.cert;
        ssl_certificate_key certs/server.key;
        server_name _;
        return      444; #CONNECTION CLOSED WITHOUT RESPONSE
    }
    
  • Are you backing up files from the FS or sre you backing up the snapshots? I had a corrupted journal from a power outage that borked my install. Could not get to the snapshots on boot. Booted into a live disk and recovered the snapshot that way. Would’ve taken hours to restore from a standard backup, however it was minutes restoring the snapshot.

    If you’re not backing up BTRFS snapshots and just backing up files you’re better off just using ext4.

    https://github.com/digint/btrbk

  • It’s as complex as you make it, is linux native, is scriptable, doesn’t use YAML, is native to the OS, and is free as in beer. Just like SNMP. however they’ll also get logs at a central server they can drill into if needed.

    Which I believe fulfills the requirements of OPs post.

    Sidenote, self-hosting is absolutely overkill just as a theory and process. I often read responses to suggestions as this or that is overkill, or complicated, or non-trivial effort.

    The self hosting community is a broad spectrum of users , from those with home labs on an old dying laptop to those with a full rack setup. People have different needs and interests. Some are learning infra and devops for work or to get into a new job. Some are privacy minded. Some are trying to get the most bang for their buck. Some just want to pay for a cloud hosted solution. Some just want an automated home. Some run a home business.

    Edit: to the point of your valid and helpful SNMP post, most syslog servers also will ingest and report on SNMP traffic as well. The container I linked does exactly that. If they find they want to automate processes in the future they can also trigger on the syslog stream as well. But that complexity is only there if they want it. Otherwise it’s just a stream they can parse and trigger an alert, just like SNMP. So OP could have an extensible solution if they want to expand. Also Grafana/Prometheus will take in syslog natively with a couple standard YAML configs if they choose that they want to look at that solution again in the future.

    /Rant