Created
March 16, 2013 17:38
-
-
Save maguec/5177442 to your computer and use it in GitHub Desktop.
Example configuration for squid collectd exec
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
############################################################### | |
# Puppet Controlled Default Template | |
############################################################### | |
FQDNLookup false | |
LoadPlugin syslog | |
<Plugin syslog> | |
LogLevel info | |
</Plugin> | |
LoadPlugin cpu | |
LoadPlugin disk | |
LoadPlugin interface | |
LoadPlugin memory | |
LoadPlugin network | |
LoadPlugin swap | |
LoadPlugin vmem | |
LoadPlugin write_graphite | |
<Plugin "write_graphite"> | |
<Carbon> | |
Host "<%= graphite_server %>" | |
Port "<%= graphite_port %>" | |
Prefix "infra.<%= server_role %>." | |
EscapeCharacter "_" | |
StoreRates true | |
AlwaysAppendDS false | |
</Carbon> | |
</Plugin> | |
<Plugin exec> | |
Exec "nobody" "/PATH/TO/squid_collectd.rb" "--port" "3128" | |
</Plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment