hosts: add Dell hardware monitoring
This patch adds monitoring for the Dell hardware platform using OpenManage. Change-Id: I6d8443a63ac5f9b9c4e29179bb8358a935fe9050
This commit is contained in:
parent
2bd038d544
commit
45d99f801b
@ -19,6 +19,11 @@ structure used by OpenStack-Ansible to work.
|
||||
|
||||
git clone https://opendev.org/vexxhost/openstack-monitoring /opt/openstack-monitoring
|
||||
|
||||
#. Install the role dependencies
|
||||
|
||||
.. code::
|
||||
|
||||
ansible-galaxy install -r requirements.yml
|
||||
|
||||
#. Add the following variables inside your ``user_variables.yml`` file in order
|
||||
for the playbooks to ensure that they point towards the RabbitMQ which your
|
||||
|
@ -21,4 +21,5 @@
|
||||
standalone: true
|
||||
path: "/etc/sensu/conf.d/{{ sensu_service }}.json"
|
||||
notify: Restart sensu-client
|
||||
when: item.condition | default(True)
|
||||
with_items: "{{ sensu_checks }}"
|
@ -22,6 +22,13 @@
|
||||
vars:
|
||||
sensu_service: host
|
||||
tasks:
|
||||
- include_role:
|
||||
name: openmanage
|
||||
vars:
|
||||
openmanage_install_monitoring_tools: true
|
||||
when:
|
||||
- ansible_system_vendor == 'Dell Inc.'
|
||||
|
||||
- import_tasks: common-tasks/install-plugins.yml
|
||||
vars:
|
||||
sensu_plugins:
|
||||
@ -49,6 +56,9 @@
|
||||
command: check-entropy.rb
|
||||
- name: load
|
||||
command: check-load.rb
|
||||
- name: openmanage
|
||||
command: /usr/local/bin/check_openmanage -b pdisk_cert=all
|
||||
condition: ansible_system_vendor == 'Dell Inc.'
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
tags:
|
||||
- openstack-hosts
|
4
requirements.yml
Normal file
4
requirements.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
- name: openmanage
|
||||
src: https://opendev.org/vexxhost/ansible-role-openmanage
|
||||
scm: git
|
Loading…
x
Reference in New Issue
Block a user