Munin network-wide graphing framework (node)
Munin is a tool for graphing all sorts of information about one or more
servers and displaying it in a web interface. It uses the excellent
RRDTool (written by Tobi Oetiker) and is written in Perl. Munin has a
master/node architecture. The master connects to all the nodes at regular
intervals, and asks them for data. It then stores the data in RRD-files,
and (if needed) updates the graphs. One of the main goals have been ease
of creating own "plugins" (graphs).
This is the node part. It is used on all machines Munin shall watch.
===> The following configuration options are available for munin-node-2.0.76_2:
JAVA=off: Include JAVA plugins
PERL=on: Include all Perl modules (adds dependencies)
PYTHON=on: Include Python plugins
SNMP=on: Include SNMP plugins
===> Use 'make config' to modify these settings
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
sysutils/munin-{master,node}: change cron job install
Don't rely on directly calling crontab(1) to install the cron job, use
the etc/cron.d directory for which we've had support for a while. This
fixes installing munin-master using pkg -r as crontab(1) installed the
cron job on the host system not in the specified alternative root
otherwise.
Completely remove pkg-install, that also removes the automatic migration
for newsyslog files after src revision r340318 it's been 4 years and a
bit.
Leave the pkg-deinstall script for a while to make sure that the
automatically installed cron jobs via crontab(1) are removed.
PR: 258072
Reported by: Tassilo Philipp <tphilipp@potion-studios.com>
Tested by: Tassilo Philipp <tphilipp@potion-studios.com>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above )
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
sysutils/munin-*: Use .conf suffix for /usr/local/etc/newsyslog.conf.d/
- Rename the files installed to /usr/local/etc/newsyslog.conf.d/ to end
with a '.conf' suffix.
- Add pkg-install script to automatically move any copies of the old
newsyslog file to the new location if it was modified from the default
or delete the old file if it is has not been modified.
- Add a note to UPDATING and pkg-message to warn users of this, in case
they are using provisioning/configuration management tools which need
to be modified.
Recent changes to /etc/newsyslog.conf (r340318) will only include files
from the /usr/local/etc/newsyslog.conf.d/ directory which end with
'.conf' and do not beginning with a '.' character.
Reviewed by: mandree (D17088)
Approved by: mat (maintainer)
Differential Revision: https://reviews.freebsd.org/D17089
Update to 2.0.43.
Remove a patch replacing seq by jot, seq was added in FreeBSD 9. Also,
remove a patch fixing perl's hash randomization, it was addressed a bit
differently upstream.
On FreeBSD 10, sh handles ${foo:-} differently, and creates an empty
argument, which ping does not like.
PR: 228149
Reported by: Niels Bakker
Sponsored by: Absolight
For ports under `emulators', `games', `irc`, and `sysutils' categories:
remove redundant PKGMESSAGE assignment, which is set appropriately by
the b.p.m when `pkg-message' appears on the SUB_FILES list.
Fix starting and stopping munin-asyncd. [1]
Turns out creating a start_cmd function is not enough, you have to add a
variable, start_cmd and point it to the start_cmd function.
As for stopping it, it should work out of the box, but for the fact that
munin-asyncd uses setproctitle or something, and it confuses the hell
out of rc.subr.
While there, pet rclint.
PR: 221000 [1] (based on)
Submitted by: marcel herrbischoff com
Sponsored by: Absolight
Tell plugins they can use awk and do not need gawk.
While there, make ipmi_ plugins easier to use, and sort the plugins.conf
file.
Submitted by: bcr
Sponsored by: Absolight
Fix plugin configurations.
Munin seems to read all the files in its .d directory, so the .sample is
always read after the actual .conf, and overwrites its defaults.
Which is, obviously, a bad thing.
Sponsored by: Absolight
Fix the iostat plugin to report the correct unit. [1]
Fix common plugins PATH problems by adding LOCALBASE/{bin,sbin} to the default
PATH. Fix a " that should not have been there. Fix a few permissions
problems. [2]
PR: 196504 [1]
Submitted by: Vlad "Blackflow" K.
PR: 196739 [2]
Submitted by: darius dons net au
Sponsored by: Absolight
Fix the bind9_rndc plugin wrt Perl 5.18+ hash randomzation.
While there, group all patches for the three ports in munin-common, and remove
an obsolete patch.
PR: 195689
Submitted by: Vlad "Blackflow" K.
Sponsored by: Absolight
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
- Fix bugs in if_* (prompted by [1])
- Add a new PERL option to add some extra dependencies needed by some modules
(based on [2])
PR: 194733 [1] 195021 [2]
Submitted by: Claudius Herder [1] John W. O'Brien [2]
Sponsored by: Absolight
Update to 2.0.24.
Fixup the if_ and if_errcoll_ plugins, interface names can be longer than 5
chars. Add an if_packets_ plugin.
Allow people to have a custom crontab that won't be touched when
installing/deinstalling.
Sponsored by: Absolight
Stop checking for get_pidfile_from_conf function in rc.subr.
It is present in all supported versions of FreeBSD, and has had poor takeup.
I strongly suspect the strange-looking checks are partially to blame for
scaring maintainers off.
Go forth and please use it!
PR: ports/178269
Approved by: maintainers of all ports involved
- update to 2.0.14
- make port non-interactive [1]
- add PORTSCOUT hints, 2.1.X is a development version
PR: ports/178532 [1]
Submitted by: Claudius Herder <claudius_herder@ambtec.de> [1]
- prevent warnings about command_interpreter after r317610 (shebangfix
conversion)
- add missing dependency to make cidr_allow/cidr_deny work in
munin-node.conf
- update to 2.0.7
- move USERS and GROUPS from munin-common/Makefile to munin.mk, otherwise they
cannot be used in the Makefiles of munin-master and munin-node where they are
required. This fixes permissions on certain directories. [1]
- VERSION.node file should be updated after the pkg-install script runs, because
it requires the version of the previously installed version not the currently
installed one. [2]
PR: ports/172260 [1]
Reported by: Haruo Shiba <shiba@logic-design.co.jp> [1]
tdb [2]
- Update to 2.0.6 based on [1]
- Add support for ada disk devices to hddtemp_smartctl [2]
- Add a patch for upstream bug 1251 to prevent huge munin-graph.log files
PR: ports/171116 [1]
PR: ports/169287 [2]
Submitted by: mm [1], TAKEMON Takashi <takemon@bamboogate.co.jp> [2]
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- fix a bug where plugins would stop graping data after a SIGHUP to munin-node
- prevent leftovers from sed and patch otherwise these would be installed also
The problem is that munin-nodes runs in perl taint mode and after a SIGHUP
p5-Net-Server thinks that the path is tainted and unsets the complete path,
this causes all plugins which do not use an absolute path to utilities they
call to fail. The fix is to set a well known good path.
Obtained from: OpenBSD
PR: ports/155109
- also ignore .sample files as these can confuse plugins by overwriting values
defined in the .conf files.
It would be best if munin would only include .conf files, but until that happens
use this as a workaroud.
PR: ports/147345
Submitted by: Rob B <rbyrnes@gmail.com>
Number of commits found: 148 (showing only 100 on this page)