aboutsummaryrefslogtreecommitdiffstats
path: root/src/dma/examples/config.toml
diff options
context:
space:
mode:
authorToshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>2018-09-06 09:04:29 +0000
committerToshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>2018-09-07 06:03:01 +0000
commitd61931341176dad9ccff7c967a10d88fe54218fa (patch)
tree526457882d4abe0c38d2242d6daa311bf8ef51cf /src/dma/examples/config.toml
parent73abc060f31a6bf866fa1dad0a1a6efdfd94d775 (diff)
src: Add DMA localagent
Change-Id: Ibcee814fbc9a904448eeb368a1a26bbb69cf54aa Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
Diffstat (limited to 'src/dma/examples/config.toml')
-rw-r--r--src/dma/examples/config.toml42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/dma/examples/config.toml b/src/dma/examples/config.toml
new file mode 100644
index 00000000..ccddc759
--- /dev/null
+++ b/src/dma/examples/config.toml
@@ -0,0 +1,42 @@
+[common]
+# All daemons share redis DB for annotation etc.
+redis_host = "localhost"
+redis_port = "6379"
+redis_password = ""
+redis_db = 0
+
+
+[server]
+listen_port = "12345"
+
+amqp_host = "overcloud-controller-0.internalapi"
+amqp_user = "guest"
+amqp_password = "xxxxxxxxxxxxxxxxxxxxxxxxx"
+amqp_port = "5672"
+
+collectd_confdir = "/etc/collectd/collectd.conf.d"
+
+
+[infofetch]
+os_username = "admin"
+os_user_domain_name = "Default"
+os_project_domain_name = "Default"
+os_project_name = "admin"
+os_password = "xxxxxxxxxxxxxxxxxxxxxxxxx"
+os_auth_url = "http://overcloud-controller-0.internalapi:5000/v3"
+
+
+[threshold]
+# redis for raw metrics data
+redis_host = "localhost"
+redis_port = "6379"
+redis_password = ""
+redis_db = 0
+
+# exceed by exec "sudo ping -i 0.00005 -c 1000 -s 1000 -q <IP>"
+interval = 5
+min = 1000000
+
+collectd_plugin = "barometer-dma"
+collectd_type = "if-octets-threshold"
+