diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-05 09:07:54 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-05 09:07:54 +0200 |
commit | 6a486b088b957a2af6d1dfeb692ecef6ec8c5e06 (patch) | |
tree | 9832c92a1a20ae2f8b3627248e4784442befb7d7 /files/patches | |
parent | 6348285571e9877990317303b5508b737686faef (diff) | |
download | munin-master.tar.gz munin-master.tar.bz2 munin-master.tar.xz munin-master.zip |
Diffstat (limited to 'files/patches')
-rw-r--r-- | files/patches/munin-ds-datalock.patch | 11 | ||||
-rw-r--r-- | files/patches/munin-graph-logging.patch | 10 | ||||
-rw-r--r-- | files/patches/munin-update-logging.patch | 10 |
3 files changed, 31 insertions, 0 deletions
diff --git a/files/patches/munin-ds-datalock.patch b/files/patches/munin-ds-datalock.patch new file mode 100644 index 0000000..3ec249b --- /dev/null +++ b/files/patches/munin-ds-datalock.patch @@ -0,0 +1,11 @@ +--- Munin/Master/Update.pm ++++ Munin-ds/Master/Update.pm +@@ -265,7 +265,7 @@ + sub _write_new_service_configs_locked { + my ($self) = @_; + +- my $lock_file = "$config->{rundir}/munin-datafile.lock"; ++ my $lock_file = "$config->{dbdir}/datafile.lock"; + munin_runlock($lock_file); + + my $config_dump_file = $self->{config_dump_file}; diff --git a/files/patches/munin-graph-logging.patch b/files/patches/munin-graph-logging.patch new file mode 100644 index 0000000..aa4fc56 --- /dev/null +++ b/files/patches/munin-graph-logging.patch @@ -0,0 +1,10 @@ +--- /usr/share/munin/munin-graph 2015-11-28 00:45:25.274878597 +0100 ++++ /usr/share/munin/munin-graph 2015-11-28 00:45:44.622466044 +0100 +@@ -73,6 +73,7 @@ + + logger_open($config->{'logdir'}); + logger_debug() if $config->{debug} or defined($ENV{CGI_DEBUG}); ++logger_level("warn"); + + if (! graph_check_cron() ) { + # Should not be launched from cron. diff --git a/files/patches/munin-update-logging.patch b/files/patches/munin-update-logging.patch new file mode 100644 index 0000000..4f8e87b --- /dev/null +++ b/files/patches/munin-update-logging.patch @@ -0,0 +1,10 @@ +--- /usr/share/munin/munin-update 2015-11-28 00:44:27.175435050 +0100 ++++ /usr/share/munin/munin-update 2015-11-28 00:44:57.313544402 +0100 +@@ -34,6 +34,7 @@ + + logger_open($config->{'logdir'}); + logger_debug() if $config->{debug}; ++ logger_level("warn"); + + my $update = Munin::Master::Update->new(); + $update->run(); |