WIP - Adding OSE collectd/Dashboard.
Change-Id: I028e8787a893801eb9459b561966afb88cfa5f65
This commit is contained in:
parent
dcb4d28a01
commit
1269b50737
@ -38,6 +38,9 @@ x.x.x.x # An ip address of a Red Hat Cloud Forms appliance or ManageIQ appliance
|
|||||||
[graphite]
|
[graphite]
|
||||||
x.x.x.x # An ip address of a Graphite/Grafana Server
|
x.x.x.x # An ip address of a Graphite/Grafana Server
|
||||||
|
|
||||||
|
[ose]
|
||||||
|
x.x.x.x # An ip address of a Red Hat Openshift Enterprise Node
|
||||||
|
|
||||||
[satellite6]
|
[satellite6]
|
||||||
x.x.x.x # An ip address of a Red Hat Satellite 6 Server
|
x.x.x.x # An ip address of a Red Hat Satellite 6 Server
|
||||||
```
|
```
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
# ansible-playbook -i hosts install/collectd-generic.yml --tags="cfme-vmdb"
|
# ansible-playbook -i hosts install/collectd-generic.yml --tags="cfme-vmdb"
|
||||||
# ansible-playbook -i hosts install/collectd-generic.yml --tags="cfme"
|
# ansible-playbook -i hosts install/collectd-generic.yml --tags="cfme"
|
||||||
# ansible-playbook -i hosts install/collectd-generic.yml --tags="graphite"
|
# ansible-playbook -i hosts install/collectd-generic.yml --tags="graphite"
|
||||||
|
# ansible-playbook -i hosts install/collectd-generic.yml --tags="ose"
|
||||||
# ansible-playbook -i hosts install/collectd-generic.yml --tags="satellite6"
|
# ansible-playbook -i hosts install/collectd-generic.yml --tags="satellite6"
|
||||||
# ansible-playbook -i hosts install/collectd-generic.yml --tags="baremetal,guest"
|
# ansible-playbook -i hosts install/collectd-generic.yml --tags="baremetal,guest"
|
||||||
#
|
#
|
||||||
@ -55,6 +56,14 @@
|
|||||||
- collectd-generic
|
- collectd-generic
|
||||||
tags: graphite
|
tags: graphite
|
||||||
|
|
||||||
|
- hosts: ose
|
||||||
|
remote_user: root
|
||||||
|
vars:
|
||||||
|
config_type: ose
|
||||||
|
roles:
|
||||||
|
- collectd-generic
|
||||||
|
tags: ose
|
||||||
|
|
||||||
- hosts: satellite6
|
- hosts: satellite6
|
||||||
remote_user: root
|
remote_user: root
|
||||||
vars:
|
vars:
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
process_list_name: CFME-VMware
|
process_list_name: CFME-VMware
|
||||||
- template_name: graphite
|
- template_name: graphite
|
||||||
process_list_name: Graphite
|
process_list_name: Graphite
|
||||||
|
- template_name: ose
|
||||||
|
process_list_name: OpenShift-Enterprise
|
||||||
- template_name: satellite6
|
- template_name: satellite6
|
||||||
process_list_name: Satellite6
|
process_list_name: Satellite6
|
||||||
roles:
|
roles:
|
||||||
|
@ -0,0 +1,84 @@
|
|||||||
|
# Installed by Browbeat Ansible Installer
|
||||||
|
# Config type: {{config_type}}
|
||||||
|
|
||||||
|
# Interval default is 10s
|
||||||
|
Interval {{collectd_interval}}
|
||||||
|
|
||||||
|
# Hostname for this machine, if not defined, use gethostname(2) system call
|
||||||
|
Hostname "{{inventory_hostname}}"
|
||||||
|
|
||||||
|
# Allow collectd to log
|
||||||
|
LoadPlugin syslog
|
||||||
|
|
||||||
|
# Loaded Plugins:
|
||||||
|
LoadPlugin write_graphite
|
||||||
|
LoadPlugin cpu
|
||||||
|
LoadPlugin df
|
||||||
|
LoadPlugin disk
|
||||||
|
LoadPlugin interface
|
||||||
|
LoadPlugin irq
|
||||||
|
LoadPlugin load
|
||||||
|
LoadPlugin memory
|
||||||
|
LoadPlugin numa
|
||||||
|
LoadPlugin processes
|
||||||
|
LoadPlugin swap
|
||||||
|
LoadPlugin turbostat
|
||||||
|
LoadPlugin unixsock
|
||||||
|
LoadPlugin uptime
|
||||||
|
|
||||||
|
# Open unix domain socket for collectdctl
|
||||||
|
<Plugin unixsock>
|
||||||
|
SocketFile "/var/run/collectd-unixsock"
|
||||||
|
SocketGroup "collectd"
|
||||||
|
SocketPerms "0770"
|
||||||
|
DeleteSocket true
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
# Graphite Host Configuration
|
||||||
|
<Plugin write_graphite>
|
||||||
|
<Carbon>
|
||||||
|
Host "{{graphite_host}}"
|
||||||
|
Port "2003"
|
||||||
|
Prefix "{{graphite_prefix}}."
|
||||||
|
Protocol "tcp"
|
||||||
|
LogSendErrors true
|
||||||
|
StoreRates true
|
||||||
|
AlwaysAppendDS false
|
||||||
|
EscapeCharacter "_"
|
||||||
|
</Carbon>
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
<Plugin df>
|
||||||
|
ValuesPercentage true
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
<Plugin disk>
|
||||||
|
Disk "/^[hsv]d[a-z]+[0-9]?$/"
|
||||||
|
IgnoreSelected false
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
<Plugin processes>
|
||||||
|
# Openshift Master
|
||||||
|
ProcessMatch "openshift master" "/usr/bin/openshift.+start.+master"
|
||||||
|
ProcessMatch "openshift node" "/usr/bin/openshift.+start.+node"
|
||||||
|
|
||||||
|
ProcessMatch "ovsdb-server monitor" "ovsdb-server.+monitoring"
|
||||||
|
ProcessMatch "ovsdb-server" "ovsdb-server.+/etc/openvswitch/conf.db"
|
||||||
|
ProcessMatch "ovsdb-vswitchd monitor" "ovs-vswitchd.+monitoring"
|
||||||
|
ProcessMatch "ovsdb-vswitchd" "ovs-vswitchd.+unix:/var/run/openvswitch/db.sock"
|
||||||
|
|
||||||
|
ProcessMatch "docker daemon" "/usr/bin/docker.+daemon"
|
||||||
|
|
||||||
|
ProcessMatch "pod" "pod"
|
||||||
|
|
||||||
|
# Collect on collectd process
|
||||||
|
ProcessMatch "collectd" "/usr/sbin/collectd.+-C.+/etc/collectd.conf"
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
<Plugin swap>
|
||||||
|
ReportBytes true
|
||||||
|
ValuesPercentage true
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
# Include other collectd configuration files
|
||||||
|
Include "/etc/collectd.d"
|
@ -17,6 +17,9 @@ collectd_packages:
|
|||||||
graphite:
|
graphite:
|
||||||
- collectd
|
- collectd
|
||||||
- collectd-turbostat
|
- collectd-turbostat
|
||||||
|
ose:
|
||||||
|
- collectd
|
||||||
|
- collectd-turbostat
|
||||||
satellite6:
|
satellite6:
|
||||||
- collectd
|
- collectd
|
||||||
- collectd-turbostat
|
- collectd-turbostat
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -738,6 +738,28 @@ per_process_panels:
|
|||||||
- name: "Collectd"
|
- name: "Collectd"
|
||||||
processes:
|
processes:
|
||||||
- collectd
|
- collectd
|
||||||
|
OpenShift-Enterprise:
|
||||||
|
- name: "OpenShift"
|
||||||
|
processes:
|
||||||
|
- "openshift master"
|
||||||
|
- "openshift node"
|
||||||
|
- name: "Open vSwitch Server"
|
||||||
|
processes:
|
||||||
|
- "ovsdb-server monitor"
|
||||||
|
- "ovsdb-server"
|
||||||
|
- name: "Open vSwitchd"
|
||||||
|
processes:
|
||||||
|
- "ovsdb-vswitchd monitor"
|
||||||
|
- "ovsdb-vswitchd"
|
||||||
|
- name: "Docker"
|
||||||
|
processes:
|
||||||
|
- "docker daemon"
|
||||||
|
- name: "pods"
|
||||||
|
processes:
|
||||||
|
- "pod"
|
||||||
|
- name: "Collectd"
|
||||||
|
processes:
|
||||||
|
- collectd
|
||||||
Satellite6:
|
Satellite6:
|
||||||
- name: "Summerized"
|
- name: "Summerized"
|
||||||
processes:
|
processes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user