halfdane
@halfdane@piefed.social
- Comment on YSK: Denazification in West Germany was lenient and ultimately abandoned, with many Nazis remaining in positions of power. 1 week ago:
While I’m not overly educated in the history of denazification in East Germany, I know that at least later, it was more of a proclamation than something actually happening. That’s why so many neo-nazis “suddenly appeared” in the supposedly nazi-free zone after the unification of the germanies.
Supported by the fascists in the west that had never gone away, the unified right made quick progress in their organization.
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
I love grafana, but it’s a resource hog, and my machine isn’t powerful. Prometheus/node_exporter however is as lightweight as it can get.
So I made a little Python script that fetches the data from Prometheus and uses mathplotlib to generate a graph.
The dashboard calls that python script for every configured graph and embeds the image so it looks nice.
You can find the script in one of my other repos (Prometheus-renderer probably), but there are dozen similar ones: search github for Prometheus renderer and you’ll see
If there are other things unclear, please don’t hesitate to ask
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Go for it 👍
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Wow, I can really see this taking off in the international dashboading-scene!
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Is it … a new tool? I love new tools 🥹
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Couldn’t stop worrying about this, so I added: -
--no-tooltipsparam: Don’t include check output for hover tooltips ---no-timestampparam: Omit the “Generated at” timestamp to hide system clock and monitoring cadence.If you’re using these, I feel much better about making the html publicly accessible, but when you set up a config please remember that links-tags can expose your internal topology and the tile/slot name might do the same! Don’t go naming your tiles something like “Database Primary”, “Payment Service Worker”, or “Internal Auth API”!
(unless you wanna place a honeypot)
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Well, Ilias can certainly fill this niche. With a caveat:
Currently all output from checks are accessible as tooltips (so they’re in the HTML source), but for usecases such as yours it might be helpful to have the ability to suppress that kind of information leakage.
I think I’ll implement that in the coming days …
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Loved that idea so much that I went and implemented it: - The checks now have an automatic type inferrence and shorthand - introduced default rules that are used when nothing’s configured - realized that yaml-anchors always worked thanks to the lib I’m using.
So now with this preamble:
# Defaults are used when nothing is defined at the slot level. They can be overridden by defining rules directly on a slot. defaults: rules: - match: code: 0 status: { id: ok, label: "✅" } - match: {} status: { id: error, label: "❌" } # YAML anchors: reusable fragments ilias doesn't interpret directly... # it's all just yaml _anchors: pct_rules: &pct_rules # works for disk, memory, CPU … - match: output: "^[0-6]\\d%$|^[0-9]%$" status: { id: ok, label: "✅ <70%" } - match: output: "^[7-8]\\d%$" status: { id: warn, label: "⚠️ 70–89%" } - match: {} status: { id: critical, label: "🔴 ≥90%" }I can now have a tile like this:
- name: Memory slots: # combine anchors and default rules as well as check shorthands - name: usage check: "free | awk '/^Mem:/ {printf \"%.0f%\", $3/$2 * 100}'" rules: *pct_rules - name: available check: "free -h | awk '/^Mem:/ {print $7 \" free\"}'" # uses default rules - name: total check: "free -h | awk '/^Mem:/ {print $2 \" total\"}'" # uses default rulesAnd the best? It’s fully backwards compatible ❤️
Thanks again for the suggestion!
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Yes, I’m aware of that, but I always found it weird to have a live service for something that hardly ever changes. And then I had the idea of this whole “fully self contained html”, and now I can’t imagine it another way 😆
That’s just opinions though, and if Homepage strikes your fancy go for it - it’s an awesome project.
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Hu, never thought of that - that’s a pretty neat idea! Thank you 🤗
- Comment on Presenting ilias, yet another dashboard because obviously the world needed one more 4 weeks ago:
Awesome, thanks for the consideration!
Please don’t immediately start public facing however - I literally just bashed the thing together in an afternoon, so who knows what kind of exploitable information leaks it might bring!
I’m personally using it from within a tailnet, so not public facing.
- Submitted 4 weeks ago to selfhosted@lemmy.world | 34 comments
- Comment on France is next 1 month ago:
… aber hier wohnen? Nein danke.
- Comment on France is next 1 month ago:
Oh nein, wo bin ich den jetzt hin geraten?
- Submitted 2 months ago to newcommunities@lemmy.world | 1 comment
- Comment on How would you spell the sound Transformers make when they transform? 2 months ago:
transforming noises
- Comment on When I upvote a post and it increments by more than 1, I feel good knowing someone else was reading and up-voting it at about the same time. 2 months ago:
Interesting, I attributed it to the data not being completely up-to-date before. And my upvote made the server do some syncing, so more current information is available
- Comment on Let's end Anti-Circumvention. We should own the things we buy! 2 months ago:
No no, that’s circumnavigation. This is about the length of the perimeter around a circle
- Submitted 2 months ago to newcommunities@lemmy.world | 1 comment
- Comment on Let's end Anti-Circumvention. We should own the things we buy! 2 months ago:
Nono, you’re thinking of conversion therapy. This is about going to a priest to tell them about your sins
- Comment on Let's end Anti-Circumvention. We should own the things we buy! 2 months ago:
Nono, you’re thinking of circumcision. This is about a big meeting where furries celebrate their favorite animes or something
- Comment on Hooded Horse ban AI-generated art in their games: "all this thing has done is made our lives more difficult" 2 months ago:
Slop of Theseus
- Comment on AI-generated isekai novel that won a literary contest Grand Prize and Reader’s Choice award has its book publication and manga adaptation cancelled 2 months ago:
Sloperator