@cryptotaxi247 / netdata-1 / commits / 9ae74cd07

added plugin and module to plugin nfacct

Costa Tsaousis (ktsaou) committed Oct 15, 2017 at 16:31 UTC 9ae74cd076091f98184de8617f7d2074c3c17008
1 file changed +14
src/plugin_nfacct.c
+14
@@ -302,6 +302,8 @@ static void nfstat_send_metrics() {
302 , NULL
303 , "Connection Tracker New Connections"
304 , "connections/s"
305 + , "nfacct"
306 + , NULL
307 , 3001
308 , nfstat_root.update_every
309 , RRDSET_TYPE_LINE
@@ -336,6 +338,8 @@ static void nfstat_send_metrics() {
338 , NULL
339 , "Connection Tracker Changes"
340 , "changes/s"
341 + , "nfacct"
342 + , NULL
343 , 3002
344 , nfstat_root.update_every
345 , RRDSET_TYPE_LINE
@@ -371,6 +375,8 @@ static void nfstat_send_metrics() {
375 , NULL
376 , "Connection Tracker Searches"
377 , "searches/s"
378 + , "nfacct"
379 + , NULL
380 , 3010
381 , nfstat_root.update_every
382 , RRDSET_TYPE_LINE
@@ -406,6 +412,8 @@ static void nfstat_send_metrics() {
412 , NULL
413 , "Connection Tracker Errors"
414 , "events/s"
415 + , "nfacct"
416 + , NULL
417 , 3005
418 , nfstat_root.update_every
419 , RRDSET_TYPE_LINE
@@ -443,6 +451,8 @@ static void nfstat_send_metrics() {
451 , NULL
452 , "Connection Tracker Expectations"
453 , "expectations/s"
454 + , "nfacct"
455 + , NULL
456 , 3003
457 , nfstat_root.update_every
458 , RRDSET_TYPE_LINE
@@ -661,6 +671,8 @@ static void nfacct_send_metrics() {
671 , NULL
672 , "Netfilter Accounting Packets"
673 , "packets/s"
674 + , "nfacct"
675 + , NULL
676 , 3206
677 , nfacct_root.update_every
678 , RRDSET_TYPE_STACKED
@@ -702,6 +714,8 @@ static void nfacct_send_metrics() {
714 , NULL
715 , "Netfilter Accounting Bandwidth"
716 , "kilobytes/s"
717 + , "nfacct"
718 + , NULL
719 , 3207
720 , nfacct_root.update_every
721 , RRDSET_TYPE_STACKED