**beep ** bop.

  • 17 Posts
  • 195 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle




  • farcallertoNeovim@programming.devNeovim security
    link
    fedilink
    arrow-up
    5
    ·
    22 days ago

    If you want to go the “packaging way”, you could use nix’s nixCats-nvim to make a fully hermetic nvim installation where you track the origin of all the dependencies (LSPs too) and plugins, all with receipts and hashes and all the good stuff of a reproducible build system. The security industry likes reproducible build systems because there’s only one way you can go from source to the artifact.

    Then, you package that in e.g. a docker container (which nix can build for you, too) and ship where you need it.


  • farcallertoSelfhosted@lemmy.worldLog monitoring software?
    link
    fedilink
    English
    arrow-up
    2
    ·
    22 days ago

    One thing about grafana, though, is that you get logs, metrics and monitoring in the same package. You can use loki as the actual log store and it’s easy to integrate it with the likes of journald and docker.

    Yes, you will have to spend more time learning LogQL, but it can be very handy where you don’t have metrics (or don’t want to implement them) and still want some useful data from logs.

    After all, text logs are just very raw, unstructured events in time. You may think that you only look into them very occasionally when things break and you would be correct. But if you want to alert on them, oftentimes that means you’re going from raw logs to structured data. Loki’s LogQL does that, and it’s still ten times easier to manage than the elastic stack.

    VictoriaMetrics has its own logging product too, now, and while I didn’t try it yet, VM for metrics is probably the best thing ever happened since Prometheus. Especially for resource constrained homelabs.



  • Storage box networking can be hit and miss. It’s ok for incremental uploads, but I went through hell and back to get the initial backup finish, which makes me wonder what it would take to download it in case I have to.

    Scp breaks off once in a while, and WebDAV terminates the session. I didn’t try smb as I feel it’s a rather weird protocol for the public internet. In the end, I figured it’s not the networking per se, it’s something with the timeouts on the remote, and I was able to finish the backup using a Hetzner-hosted server as a jumpbox.

    But it’s cheap, yeah.