Created
June 30, 2015 18:19
-
-
Save standaloneSA/2a6274b00a47b2f9c31f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msimmons@nagios:/opt/collectd/etc$ cat collectd.conf | |
# Generated by Puppet | |
#Hostname localhost | |
FQDNLookup true | |
#BaseDir "/var/lib/collectd" | |
#PluginDir "/usr/lib/collectd" | |
#TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db" | |
Interval 10 | |
Timeout 2 | |
ReadThreads 5 | |
Include "/opt/collectd/etc//conf.d/*.conf" | |
################################### | |
msimmons@nagios:/opt/collectd/etc/conf.d$ cat 10-snmp.conf | |
# Generated by Puppet | |
LoadPlugin snmp | |
<Plugin snmp> | |
<Data "if_errors"> | |
Type "if_errors" | |
Table true | |
Instance "IF-MIB::ifDescr" | |
Values "IF-MIB::ifInErrors" "IF-MIB::ifOutErrors" | |
</Data> | |
<Data "std_traffic"> | |
Type "if_octets" | |
Table true | |
Instance "IF-MIB::ifDescr" | |
Values "IF-MIB::ifHCInOctets" "IF-MIB::ifHCOutOctets" | |
</Data> | |
<Data "processes"> | |
Type "ps_count" | |
Table false | |
Instance "processes" | |
Values ".1.3.6.1.2.1.25.1.6.0" | |
</Data> | |
<Host "MySwitch1"> | |
Address "192.168.0.1" | |
Version 2 | |
Community "READCOMMUNITY" | |
Collect "std_traffic" "if_errors" | |
Interval 10 | |
</Host> | |
<Host "MySwitch2"> | |
Address "192.168.100.1" | |
Version 2 | |
Community "READCOMMUNITY" | |
Collect "std_traffic" "if_errors" | |
Interval 10 | |
</Host> | |
</Plugin> | |
################################### | |
msimmons@nagios:/opt/collectd/etc/conf.d$ cat 10-write_graphite.conf | |
# Generated by Puppet | |
LoadPlugin write_graphite | |
<Plugin write_graphite> | |
<Carbon> | |
Host "MYGRAPHITESERVER" | |
Port "2003" | |
Prefix "CCIS.systems.linux." | |
EscapeCharacter "_" | |
StoreRates true | |
AlwaysAppendDS false | |
SeparateInstances false | |
</Carbon> | |
</Plugin> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment