Skip to content

Commit

Permalink
Added sample conf to push to graphite. Adjusted setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Galkin committed Mar 24, 2016
1 parent 74b95c7 commit 75aaab4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions graphite.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
LoadPlugin write_graphite
<Plugin write_graphite>
<Node "carbondefault">
Host "schumacher.core"
Port "2003"
Protocol "tcp"
LogSendErrors true
Prefix "hosts."
Postfix ""
StoreRates true
AlwaysAppendDS false
EscapeCharacter ","
</Node>
</Plugin>
4 changes: 2 additions & 2 deletions setup.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
author='Luiz Ozaki',
author_email='luiz.ozaki@locaweb.com.br',
url='https://github.com/galkindmitrii/openvswitch-collectd-plugin',
data_files=[('/etc/collectd.d/', ['openvswitch.conf']),
('/etc/collectd.d/', ['openvswitch.db']),
data_files=[('/etc/collectd.d/',
['openvswitch.conf', 'openvswitch.db', 'graphite.conf']),
('/usr/lib64/collectd/', ['openvswitch.py'])]
)

0 comments on commit 75aaab4

Please sign in to comment.