summaryrefslogtreecommitdiffstats
path: root/monitor/config
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/config')
-rw-r--r--monitor/config/barometer_client.conf2
-rw-r--r--monitor/config/barometer_server.conf2
-rw-r--r--monitor/config/openstack_exporter.conf12
-rw-r--r--monitor/config/prometheus.yaml8
4 files changed, 22 insertions, 2 deletions
diff --git a/monitor/config/barometer_client.conf b/monitor/config/barometer_client.conf
index 54db3889..a7481f17 100644
--- a/monitor/config/barometer_client.conf
+++ b/monitor/config/barometer_client.conf
@@ -155,7 +155,7 @@ LoadPlugin write_http
Socket "/var/run/openvswitch/db.sock"
Interfaces "br0" "veth0"
SendNotification true
- DispatchValues false
+ DispatchValues true
</Plugin>
<Plugin ovs_stats>
diff --git a/monitor/config/barometer_server.conf b/monitor/config/barometer_server.conf
index 55ff96e0..0d85db38 100644
--- a/monitor/config/barometer_server.conf
+++ b/monitor/config/barometer_server.conf
@@ -155,7 +155,7 @@ LoadPlugin write_http
Socket "/var/run/openvswitch/db.sock"
Interfaces "br0" "veth0"
SendNotification true
- DispatchValues false
+ DispatchValues true
</Plugin>
<Plugin ovs_stats>
diff --git a/monitor/config/openstack_exporter.conf b/monitor/config/openstack_exporter.conf
new file mode 100644
index 00000000..54a9cba8
--- /dev/null
+++ b/monitor/config/openstack_exporter.conf
@@ -0,0 +1,12 @@
+OS_AUTH_URL=https://192.16.1.222:5000/v3
+OS_PASSWORD=e5748a478dcfe05e9eaf7
+OS_PROJECT_NAME=admin
+OS_USERNAME=admin
+OS_USER_DOMAIN_NAME=Default
+OS_REGION_NAME=RegionOne
+TIMEOUT_SECONDS=20
+OS_POLLING_INTERVAL=60
+OS_RETRIES=0
+LISTEN_PORT=9104
+OS_CPU_OC_RATIO=1.5
+OS_RAM_OC_RATIO=1
diff --git a/monitor/config/prometheus.yaml b/monitor/config/prometheus.yaml
index b218711d..4ece441a 100644
--- a/monitor/config/prometheus.yaml
+++ b/monitor/config/prometheus.yaml
@@ -50,3 +50,11 @@ scrape_configs:
static_configs:
- targets: ['192.168.114.2:9100']
+
+ - job_name: 'openstack'
+
+ # Override the global default and scrape targets from this job every 5 seconds.
+ scrape_interval: 5s
+
+ static_configs:
+ - targets: ['192.168.114.2:9104']