[munin] Added no-such-object patch
fenris02
fenris02 at fedoraproject.org
Thu Jun 16 02:44:56 UTC 2011
commit 72c091b65029570930c6d428a7a0bef55a4918fc
Author: D. Johnson <fenris02 at fedoraproject.org>
Date: Wed Jun 15 21:44:34 2011 -0500
Added no-such-object patch
munin-1.4.5-no-such-object.patch | 12 ++++++++++++
munin.conf | 1 +
sources | 2 +-
3 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/munin-1.4.5-no-such-object.patch b/munin-1.4.5-no-such-object.patch
new file mode 100644
index 0000000..e325861
--- /dev/null
+++ b/munin-1.4.5-no-such-object.patch
@@ -0,0 +1,12 @@
+diff -ur munin-1.4.5/plugins/lib/Munin/Plugin/SNMP.pm munin-1.4.5-fixed/plugins/lib/Munin/Plugin/SNMP.pm
+--- munin-1.4.5/plugins/lib/Munin/Plugin/SNMP.pm 2010-05-05 19:02:43.000000000 +0200
++++ munin-1.4.5-fixed/plugins/lib/Munin/Plugin/SNMP.pm 2011-06-10 00:10:28.969751949 +0200
+@@ -477,7 +477,7 @@
+
+ my $response = $handle->get_request($oid);
+
+- if (!defined $response->{$oid} or $handle->error_status) {
++ if (!defined $response->{$oid} or $handle->error_status or $response->{$oid} eq 'noSuchObject') {
+ print STDERR "# Error getting $oid: ",$handle->error(),"\n"
+ if $DEBUG;
+ return;
diff --git a/munin.conf b/munin.conf
new file mode 100644
index 0000000..f3c7348
--- /dev/null
+++ b/munin.conf
@@ -0,0 +1 @@
+D /var/run/munin 0755 munin munin -
diff --git a/sources b/sources
index a54dbce..b290057 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7578794bf2b3f32e5431ab4b42a32189 munin-1.4.5-no-such-object.patch
+4ae84b9a27b686c3819d8d7b51d8cb4c munin-1.4.5.tar.gz
More information about the scm-commits
mailing list