7cfb172ecf
- Fix fail2ban's path [2] (while there, make plugins.conf PREFIX safe) - Fix multiping plugin [3] (while there, regenerate patches) - Add a forgotten run dep on Java. PR: 192341 [1] Submitted by: fbsd@shoggothmedia.com [1] PR: 179549 [2] Submitted by: fabian@bug.ch [2] PR: 192332 [3] Submitted by: fbsd@shoggothmedia.com [3] Sponsored by: Absolight
16 lines
370 B
Text
16 lines
370 B
Text
--- plugins/node.d.freebsd/if_.in.orig 2014-04-22 19:29:32 UTC
|
|
+++ plugins/node.d.freebsd/if_.in
|
|
@@ -83,9 +83,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
|