From d61931341176dad9ccff7c967a10d88fe54218fa Mon Sep 17 00:00:00 2001 From: Toshiaki Takahashi Date: Thu, 6 Sep 2018 09:04:29 +0000 Subject: src: Add DMA localagent Change-Id: Ibcee814fbc9a904448eeb368a1a26bbb69cf54aa Signed-off-by: Toshiaki Takahashi --- src/dma/examples/config.toml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/dma/examples/config.toml (limited to 'src/dma/examples/config.toml') 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 " +interval = 5 +min = 1000000 + +collectd_plugin = "barometer-dma" +collectd_type = "if-octets-threshold" + -- cgit 1.2.3-korg