Collectd Changes

This commit is contained in:
stebifan 2016-01-04 01:11:50 +01:00
parent fd684dd587
commit e33dc722ee
2 changed files with 6 additions and 35 deletions

View File

@ -23,10 +23,9 @@ LoadPlugin cpu
LoadPlugin load LoadPlugin load
LoadPlugin memory LoadPlugin memory
LoadPlugin processes LoadPlugin processes
LoadPlugin rrdtool
LoadPlugin users LoadPlugin users
LoadPlugin snmp LoadPlugin uptime
LoadPlugin interface
<Plugin write_graphite> <Plugin write_graphite>
<Carbon> <Carbon>
@ -39,24 +38,10 @@ LoadPlugin snmp
</Carbon> </Carbon>
</Plugin> </Plugin>
<Plugin snmp> <Plugin "interface">
<Data "std_traffic"> Interface "eth0"
Type "if_octets" Interface "bat0"
Table true IgnoreSelected false
Instance "IF-MIB::ifDescr"
Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
</Data>
<Host "{{ sn_hostname }}">
Address "127.0.0.1"
Version 1
Community "public"
Collect "std_traffic"
Interval 60
</Host>
</Plugin>
<Plugin rrdtool>
DataDir "/var/lib/collectd/rrd"
</Plugin> </Plugin>
<Plugin syslog> <Plugin syslog>

View File

@ -1,14 +0,0 @@
# Listen only on localhost
agentAddress udp:127.0.0.1:161
###############################################################################
#
# ACCESS CONTROL
#
# system + hrSystem groups only
view systemonly included .1.3.6.1.2.1.1
view systemonly included .1.3.6.1.2.1.25.1
# Full access from the local host
rocommunity public 127.0.0.1
# Full read-only access for SNMPv3
rouser authOnlyUser