Andrew Bogott has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/326845 )

Change subject: Added check_keystone_roles command cfg for icinga
......................................................................


Added check_keystone_roles command cfg for icinga

Bug: T152708
Change-Id: Id97d6b7000741fed5578ad6ebe7f0c5f0293ba79
---
M modules/icinga/manifests/plugins.pp
A modules/icinga/templates/check_commands/check_keystone_roles.cfg.erb
2 files changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Andrew Bogott: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/icinga/manifests/plugins.pp 
b/modules/icinga/manifests/plugins.pp
index b0dad15..4a3e455 100644
--- a/modules/icinga/manifests/plugins.pp
+++ b/modules/icinga/manifests/plugins.pp
@@ -161,6 +161,14 @@
         group      => 'icinga'
     }
 
+    nagios_common::check_command::config { 'check_keystone_roles.cfg':
+        ensure     => present,
+        content    => 
template('icinga/check_commands/check_keystone_roles.cfg.erb'),
+        config_dir => '/etc/icinga',
+        owner      => 'icinga',
+        group      => 'icinga'
+    }
+
     # Include check_elasticsearch from elasticsearch module
     include elasticsearch::nagios::plugin
 }
diff --git 
a/modules/icinga/templates/check_commands/check_keystone_roles.cfg.erb 
b/modules/icinga/templates/check_commands/check_keystone_roles.cfg.erb
new file mode 100644
index 0000000..2ffc201
--- /dev/null
+++ b/modules/icinga/templates/check_commands/check_keystone_roles.cfg.erb
@@ -0,0 +1,4 @@
+define command{
+    command_name    check_keystone_roles
+    command_line    $USER1$/check_keystone_roles $ARG1$ $ARG2$ $ARG3$
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/326845
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id97d6b7000741fed5578ad6ebe7f0c5f0293ba79
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to