9203aa68d3
- Use a fixed UID / GID - Fix handling of sample configs in plists - Add missing plist entries (mostly directories) - Use /var/munin instead of %D/var/munin - Consistently use %%FOODIR%% instead of ${PREFIX}/foo etc. - Honor BATCH / PACKAGE_BUILDING - Fix network throughput probes (if_ and if_errcoll_) PR: 120755, 120756, 124528, 129576, 129577, 143804 Submitted by: see PRs Feature safe: yes
16 lines
418 B
Diff
16 lines
418 B
Diff
--- plugins/node.d.freebsd/if_.in.orig 2009-12-30 13:55:55.000000000 +0100
|
|
+++ plugins/node.d.freebsd/if_.in 2010-02-24 18:59:15.670282185 +0100
|
|
@@ -81,9 +81,12 @@
|
|
if (NF == 10) {
|
|
print "rbytes.value", $6;
|
|
print "obytes.value", $9;
|
|
- } else {
|
|
+ } else if (NF == 11) {
|
|
print "rbytes.value", $7;
|
|
print "obytes.value", $10;
|
|
+ } else {
|
|
+ print "rbytes.value", $8;
|
|
+ print "obytes.value", $11;
|
|
}
|
|
}'
|
|
fi
|