14 ms·
Munin Website Redesigned
- walrus01 6y agooh boy rrdtool and perl, I feel like I'm in 2002 again
- Faaak 6y agoYeah, I don't really get the point of Munin now that we have things like Zabbix (coupled to grafana) or LibreNMS ?
- oblio 6y agoSystems that are already configured and up and running for years have to be maintained and updated.
- tommek4077 6y agoYeah, why would you use a tested system that just "works" if you could add some npm dependencies, node.js and a 3 month old database that is out of support already if you are not upgrading every week?
- jodrellblank 6y agoZabbix dates back to 2001 and is written in C, PHP and Java. [and in my experience of it, has the typical monitoring system problem where the design seems to be "the more panicky alerts it spews, the more value it's creating"]. https://en.wikipedia.org/wiki/Zabbix https://en.wikipedia.org/wiki/Zabbix
- lotsofcows 6y agoIt's lightweight, it's flexible, it's hackable and it's very orchestrate-able. I've had dashboards showing summary stats for IoT devices, the VMs they're talking to and the hypervisors the VMs are running on with very little effort.
- maeln 6y agoIt just work, it is easy to deploy and easy to write plugin for. A combo like prometheus+grafana and other is very good too and definitely more modern. But, having used both, I often didn't need the extra feature that the more modern solution offer and I was more than happy to use munin, which was definitely easier to run and maintain (for me).
- progval 6y agoI use(d) both. While I appreciated Zabbix's configurability, it just takes too many clicks to add a basic probe with an alert or a new system. Meanwhile Munin has everything in flat config files (easy to deploy with ansible or equivalent), and has reasonable alerts configured by default. And creating a munin plugin is as simple as writing a script that writes values to stdout (in whichever language you like), and copying it to /etc/munin/plugins/.
- cduzz 6y agoThe advantage of zabbix is the templating and service discovery. You shouldn't have to add a new system to anything, it should just be found and monitored. The same goes for prometheus. Monitoring new things with zabbix is also "write a value to stdout". Using telegraf and prometheus you have the same flexibility. I think these days you can even scrape prometheus exposition with zabbix. There are plenty of footguns with prometheus and zabbix, but they take big scale to run into. But at the end of the day use what you're comfortable with.
- jeltz 6y agoBecause it just works. Grafana requires a lot of work to set up, especially if you want to do it in a secure way and provision it programmatically. Munin on the other hand is just an apt-get install plus some minor configuration. Yes, it is not as powerful but on the other hand it is much eaiser to set up correctly.
- goodpoint 6y agoI LOVE munin. It's the only system that you can: - deploy with an apt-get install - publish to the whole Internet as static pages without any security risk - maintain with OS package updates and zero additional effort In a world of resume-driven development, simplicity and security are the first victims. I wish we had more tools like Munin.
- thesnide 6y agoWell, in the upcoming version of Munin, I move away from the static site, as it is very wasteful IMHO. But, I agree that for a couple of servers, the security it procures might overtake the performance boost. Let's add it again: https://github.com/munin-monitoring/munin/issues/1395 https://github.com/munin-monitoring/munin/issues/1395
- mfontani 6y agoI have a munin server for a fleet of a bit more than a dozen servers, and I'd be very sad if the ability to create a static site were to go. That, and the ability to create "overall" charts (same metric for all servers in a group) as well as per-server per-metric charts is what keeps me solidly using munin.
- pjungwir 6y agoThanks for your work on munin. I love it! And I appreciate your responsiveness here. Personally I don't care if my server wastes time generating HTML I never see. It's not enough work to make any difference. But I care a lot about seeing the HTML instantly when I want it, not waiting for anything to render.
- fareesh 6y agoDoes Munin itself use up a lot of resources? I am curious to try it out
- pritambarhate 6y agoIn my experience it's pretty lightweight. But never properly measured its impact. Just didn't notice any big impact to pay attention to it.
- justinsaccount 6y agoIt execs scripts for each metric and stores the data using rrdtool. If you are only collecting a few metrics and use a 5 minute collection interval it's probably fine. A while ago I switched from munin to prometheus+node_exporter and with that went from collecting metrics every 5 minutes to more metrics every 15 seconds. Munin is easy to operate initially. You can go from a script that outputs a number to a graph on your screen in a few minutes. It does get more complicated when you want to do something like graph the aggregate of a metric across a subset of machines. It is doable in the configuration, but a hell of a lot harder than just adding a widget in grafana and writing a simple promql query.
- Jiejeing 6y agoMunin is fairly light, but metrics are collected through running various scripts, which is generally more resource-intensive than the usual node-exporter(-like) daemons, so the frequency at which data is updated is usually much lower.
- progval 6y agoI have a munin-master running on an Atom C2338 (very low-end), which monitors about 20 hosts. The whole system uses about 300MB RAM and 40% of a CPU core. It's a little intensive because it recomputes half the images every 5 min, when the cron runs (that's configurable). In terms of disk, munin uses 750MB, and it's not growing thanks to rrdtools; and it writes 1MB/s on average. Bandwidth usage is 5Mb/s on average (to get data from all munin nodes, also every 5 min in my config) Munin nodes themselves are extremely lightweight. Essentially, the master calls the munin-node daemon via a TCP socket, which starts a plugin process and pipes its stdout to the socket. Plugins usually simply call a command like "df" or "netstat", parse its output, and write it in munin's format.
- onion2k 6y agoI reckon you could take the page weight of this site down from 426KB to about 100KB with very little effort. - There's 20KB of Bootstrap.css that could be replaced with native CSS that would be loads smaller. - There's 96KB of jQuery that I can't see being used at all. Even if it is, it doesn't need to be the full fat version. - There's a 138KB PNG image that can be shrunk to 91KB using OxiPNG (or 77KB as a WebP, or 52KB using AVIF) using a free tool like https://squoosh.app https://squoosh.app - There's 80KB for the Material Design icons font that could be replaced with an optimized version that only includes the glyphs used on the page (using a free tool like https://www.fontsquirrel.com/tools/webfont-generator https://www.fontsquirrel.com/tools/webfont-generator).
- delfinom 6y agoGlad to see you are volunteering to submit PRs to resolve these issues on an open source project
- _joel 6y agoFor me, when someone is critical of another person having spent their time checking out if there are any optimisations for something submitted to HN with, lets face it, snarky, "Well, raise a PR then", that's quite a shame.
- madsbuch 6y agoThe question is if the feedback is in line with the announcement. Basically the same a pointing out a spelling error on a single slide in a CS class. You are technically correct about the feedback, but it is misplaced and not worth spending time on in class.
- jeltz 6y agoGiven that this post was about a website redesign I feel his comment seems on topic.
- teewuane 6y agoOh sweet! I have been having fun playing with Jekyll lately, glad to see it’s still gaining popularity.
- midrus 6y agoWhat is the HN equivalent of "slashdotted" ?
- ChrisMarshallNY 6y agoThe "HN Hug."
- bmn__ 6y agoFor completeness, the generic expression: http://www.catb.org/~esr/jargon/html/F/flash-crowd.html http://www.catb.org/~esr/jargon/html/F/flash-crowd.html
- ChrisMarshallNY 6y agoThat's cool. I had never read that story, but it makes a lot of sense. Thanks!
- unixhero 6y agoHuginn and Munin. From norse mythology.
- arminiusreturns 6y agoHuginn is a pretty cool automation tool. https://github.com/huginn/huginn https://github.com/huginn/huginn
- whalesalad 6y agoAs I have slowly started to shift more workloads into my homelab I have started to ponder the right monitoring solution. I would like to be able to see hardware and OS metrics for my entire fleet in one area, regardless of the host, vm vs bare metal etc... Munin, Monit, Nagios, Zabbix and a few other tools are on my list to try out. My biggest concern is around the data management. Ideally the underlying datastore can be moved, expanded, etc... as I sort out how much history I want to keep. What do y'all use for this? I have 2 VM hosts (esxi), 1 bare metal box, and a handful of ubnt networking equipment.
- pjungwir 6y agoMunin is my favorite monitoring tool. One reason (among many mentioned here already) is that its information density is higher than anything else. When your site goes down and you need to know why, the page full of tight graphs is incredibly helpful. You can scan everything without any clicks at all and see if the problem is disk, RAM, database locks, etc. This compactness is the main criterion Tufte uses throughout Visual Display of Quantitative Information. I don't think Munin is doing anything clever or original (nothing like the map of Napolean's march), but it is far more useful than most of the custom d3 "dataviz" stuff you see. And it's way faster to navigate than something like datadog. And since it's just serving static HTML, the page loads instantly. I think the homepage was overdue for a redesign, but I hope they don't redesign the tool itself! :-) If they are trying to improve their communication, one thing I would have appreciated when I got started years ago is a clearer tutorial-like explanation about where the client & server live, how both execute (daemon vs cron), and who opens a connection to whom. Just the basic big picture architecture. It seemed difficult to find that information. EDIT: This right here: "Munin has a master/node architecture in which the master connects to all the nodes at regular intervals and asks them for data." Great! ANOTHER EDIT: I see they are emphasizing how easy it is to write plugins. I can attest to that. I've written plugins for Postgres and Phusion Passenger, and both were really simple. Also there are tons of "contrib" plugins that probably already have most of what you want (even beyond the extensive default system-level metrics). AND ANOTHER: The graphs at http://demo.munin-monitoring.org/munin-monitoring.org/www.munin-monitoring.org/ http://demo.munin-monitoring.org/munin-monitoring.org/www.mu... are more painful to read than my existing deployments. They are 497x261, and my own graphs are 499x277. That doesn't seem like enough difference to matter. The font is smaller though. Having to squint to read the graphs makes the display a lot more effort to read. It's a small thing, but I could feel the difference immediately.
- kijin 6y agoTotally agreed. The "static HTML" part is IMO munin's single most important feature. You can point any webserver at the output directory (or just download the output directory) and immediately browse the contents. There's no need for CGI or any daemon to be running in the backend, which is extremely helpful when you might be trying to diagnose why said daemon isn't running. I also agree that documentation about the basic architecture and execution method needs improvement. At some point in the CentOS 7 lifecycle, a minor update to EPEL's munin package deleted its own crontab file, effectively disabling the master, without providing an obvious alternative such as a systemd timer. I couldn't find any explanation about why it did that.
- tinco 6y agoGreat this pulls Munin solidly into the early 10's. Jokes aside, I feel the lack of vertical whitespace makes the site feel a bit markety. Like it's trying to force a lot of marketing information in a small amount of vertical space.
- havelhovel 6y agoI agree with your impression but potentially disagree with the solution if adding vertical whitespace means more scrolling for the same information.
- thesnide 6y agoMakes sense, as the website was redone in 2016-2017, but only live this week ;-)
- krm01 6y agoSlightly off-topic, but from time to time my UX/UI agency offers free help/advice to spice up dev tools. Especially open source. So if you are working on a ‘boring’ but important tool that looks crappy (because you don’t have the budget to hire someone), send me a message. I’d be happy to offer some simple & actionable advice on how you can improve the design without hiring anyone. Details in bio.
- zhuzhu 6y agoold style monitoring , such forgot it....
- zhuzhu 6y agoold style monitoring, already forgot it some years...
- alrs 6y agoIt showed up kind of late to the Munin game, but I wrote a library for making plugins in Go. https://github.com/alrs/muninplugin https://github.com/alrs/muninplugin
- LordAtlas 6y agoThis looks like the "before" part of a "before and after" redesign comparison. Sorry, but it looks a decade or more older visually. (Only mentioning this because the title has "website redesigned" in it.)
- uvtc 6y agoWould be nice if that tiny image on the top left of the homepage were clickable so I could see the screenshot full-size.
- dannyman 6y agoI like Munin for small environments. Dead easy to set up and a very concise UI. I've written plugins .. I love it. Where I get frustrated is scalability of RRDTool. Every data set has its own file so you get into this IO nightmare. I solved this for a while by storing them in a RAM disk. Ultimately I set up InfluxDB+Grafana. It is a lot more work and last I tried, InfluxDB does not support downsampling of older data, so instead of two years of history we have 90 days. The collector from one version to the next renamed most of the datapoints so the Grafana dashboards broke ... (Oh and of course also Munin looks like the 90s, which doesn't bother me, but sometimes gives decision makers cause to believe my solution is not hip.)
- thesnide 6y agoYou should have a look at rrdcached. It basically is a writeback cache, with batching I/O. We took special care not to flush the cache too much, so the improvements are very noticeable. Yet, it works only with on-demand graphing, of course.