[WIP] munin: add version 2.999.3 and reworked service #20006
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Munin v3 has nice web interface, so let's package it ahead of it's official release.
I've developed and tested this against 16.03 and 16.09 branches.
I've chosen to create separate package and module, because:
munin-run
)munin-httpd
service would be inapplicable to old munin (but oldmunin-node
should be compatible with new munin)services.munin.enable = true;
TODOs:
PERL5LIB
other than via hack-likemakeFullPerlPath
nixos/modules/services/monitoring/munin.nix
, I don't want to change existing expressionHTTPServerSimpleCGI
, updateHTTPServerSimple
instead (this will require to check dependent packages)sed -i 's|\\\\l||g' lib/Munin/Master/Graph.pm
is necessary for graph generation (maybe we should update rrdtool?)unstable
contrib
plugin suite (as requested in Munin: ability to use plugins from munin-contrib #17895)Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)ping @domenkozar , feedback is welcome.