Bug 146429 - net-analyzer/munin - differentiate between munin, and a munin-node
Bug#: 146429 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P5
Resolution: FIXED Assigned To: robbat2@gentoo.org Reported By: caluml@gmail.com
Component: Ebuilds
URL: 
Summary: net-analyzer/munin - differentiate between munin, and a munin-node
Keywords:  
Status Whiteboard: 
Opened: 2006-09-05 12:08 0000
Description:   Opened: 2006-09-05 12:08 0000
Munin needs to have a use flag to differ a "collector" node and just a "node"
node.

Perhaps "munin-node-only"?

This is to not bother installing rrdtool, libpng, gd etc, which people wouldn't
want on the majority of machines that are being monitored.

I don't know what the right terms are - node and collector - but I hope that
you understand what I'm trying to say.

------- Comment #1 From Robin Johnson 2006-09-05 13:52:59 0000 -------
Please look at the original munin bug, and see this comment I have in the
ebuild:
# Upstream's listing of required modules is NOT correct!

rrdtool is the only item in the DEPEND list that could even be considered for a
split, but some of the munin-node modules DO actually need rrdtool (due to
weird Perl inclusion paths), so it's not safe to remove it.

libpng and gd are commonly found on webservers (munin nodes) anyway, so this
isn't a big increase in dependancies either.

------- Comment #2 From Calum 2006-09-06 09:28:59 0000 -------
"libpng and gd are commonly found on webservers (munin nodes) anyway, so this
isn't a big increase in dependancies either."

Who says the boxes I am monitoring are webservers?
You do realise that it's meant to have one collector node (with webserver), and
one/many nodes being monitored?
I monitor firewalls, file servers, dns servers etc.
None of these run Apache, and I would personally prefer not to have to install
the following unless really necessary:

Calculating dependencies ...done!
[ebuild  N    ] dev-perl/DateManip-5.44
[ebuild  N    ] dev-perl/Crypt-DES-2.05
[ebuild  N    ] dev-perl/Net-SNMP-5.2.0
[ebuild  N    ] virtual/perl-Text-Balanced-1.95
[ebuild  N    ] virtual/perl-Getopt-Long-2.35
[ebuild  N    ] media-libs/gd-2.0.33
[ebuild  N    ] media-libs/libpng-1.2.12-r1
[ebuild  N    ] media-libs/freetype-2.1.10-r2
[ebuild  N    ] dev-libs/cgilib-0.5
[ebuild  N    ] media-libs/libart_lgpl-2.3.17
[ebuild  N    ] net-analyzer/rrdtool-1.2.6-r1
[ebuild  N    ] dev-perl/IO-Multiplex-1.08
[ebuild  N    ] dev-perl/net-server-0.94
[ebuild  N    ] dev-perl/HTML-Template-2.8
[ebuild  N    ] net-analyzer/munin-1.3.2

That's a lot of unneccessary webby/html stuff for something that just needs
net-server and plugins.

I can't comment about the rrdtool, but I thought it was related to storing
data/generating graphs, both of which occur on the collector.

Reopening bug to get answer.. :)

------- Comment #3 From Robin Johnson 2006-09-07 18:11:43 0000 -------
I've added -r1 presently, but please CHECK it - I do expect it to fall over in
some places, and I can't setup a chroot without rrdtool presently.

------- Comment #4 From Calum 2006-09-09 06:56:38 0000 -------
I'm finding out that it's not setgiding properly, even if user root is set in
munin-conf.d, it still runs as root/munin.

Could this be related to this?

------- Comment #5 From Robin Johnson 2006-09-27 18:00:13 0000 -------
i haven't had any setgid problems at all.
could you please open a new bug for the issue?