Commit 0737f6f5 authored by Paschalis Korosoglou's avatar Paschalis Korosoglou

Merge pull request #64 from dpavlos/nagios_config

ARGO-389 Central nagios UMD plugins
parents 9b778861 cf6f5a00
...@@ -14,6 +14,11 @@ ...@@ -14,6 +14,11 @@
yum: name={{ item.name }} state=latest enablerepo={{ item.repo }} yum: name={{ item.name }} state=latest enablerepo={{ item.repo }}
with_items: nagios_plugins with_items: nagios_plugins
- name: Install Nagios UMD plugins
yum: name={{ item.name }} state=latest
with_items: nagios_plugins_umd
when: nagios_plugins_umd is defined
- name: Copy nagios.cfg file - name: Copy nagios.cfg file
template: src=nagios.cfg.j2 template: src=nagios.cfg.j2
dest=/etc/nagios/nagios.cfg dest=/etc/nagios/nagios.cfg
......
...@@ -37,7 +37,7 @@ BACKUP_INSTANCE = {{ backup_instance }} ...@@ -37,7 +37,7 @@ BACKUP_INSTANCE = {{ backup_instance }}
INCLUDE_EMPTY_HOSTS = {{ include_empty_hosts }} INCLUDE_EMPTY_HOSTS = {{ include_empty_hosts }}
ENABLE_NOTIFICATIONS = {{ enable_notifications }} ENABLE_NOTIFICATIONS = {{ enable_notifications }}
CHECK_HOSTS = {{ check_hosts }} CHECK_HOSTS = {{ check_hosts }}
TENANT = {{ tenant }} TENANT = {{ tenant_name }}
</Nagios> </Nagios>
</NCG::ConfigGen> </NCG::ConfigGen>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment