From 406b88e28496d3d1de5d9be18dea04a9b7b016e8 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov Date: Tue, 3 Nov 2015 16:53:55 +0200 Subject: [PATCH] collectd - monitoring switches --- monitoring/collectd/server/collectd.conf | 86 ++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/monitoring/collectd/server/collectd.conf b/monitoring/collectd/server/collectd.conf index 8157000..f2712b6 100644 --- a/monitoring/collectd/server/collectd.conf +++ b/monitoring/collectd/server/collectd.conf @@ -137,6 +137,92 @@ LoadPlugin ConnTrack # context switches (how hard we are working) LoadPlugin ContextSwitch +# Switches perf mon via snmp +LoadPlugin snmp + + # data points + # collect traffic (all interfaces) + + Type "if_octets" + Table true + Instance "IF-MIB::ifName" + Values "IF-MIB::ifHCInOctets" "IF-MIB::ifHCOutOctets" + + + # collect errors + + Type "if_errors" + Table true + Instance "IF-MIB::ifName" + Values "IF-MIB::ifInErrors" "IF-MIB::ifOutErrors" + + + # now gather my minnion + + Address "10.100.0.11" + Version 2 + Community "0penfest" + Collect "std_traffic" "std_errors" + Interval 60 + + + + Address "10.100.0.12" + Version 2 + Community "0penfest" + Collect "std_traffic" "std_errors" + Interval 60 + + + + Address "10.100.0.13" + Version 2 + Community "0penfest" + Collect "std_traffic" "std_errors" + Interval 60 + + + + Address "10.100.0.14" + Version 2 + Community "0penfest" + Collect "std_traffic" "std_errors" + Interval 60 + + + + Address "10.100.0.15" + Version 2 + Community "0penfest" + Collect "std_traffic" "std_errors" + Interval 60 + + + + Address "10.100.0.16" + Version 2 + Community "0penfest" + Collect "std_traffic" "std_errors" + Interval 60 + + + + Address "10.100.0.17" + Version 2 + Community "0penfest" + Collect "std_traffic" "std_errors" + Interval 60 + + + + Address "10.100.0.18" + Version 2 + Community "0penfest" + Collect "std_traffic" "std_errors" + Interval 60 + + + # and finaly save the data in graphite LoadPlugin write_graphite