Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/249331

Change subject: labs kvm ssl cert monitoring: fix nrpe command
......................................................................

labs kvm ssl cert monitoring: fix nrpe command

The NRPE command needs the full path to the certfile,
not just the cert name itself.

Bug:T116332
Change-Id: I7c254f358c2929d8678730fa98c80aa0fe730880
---
M modules/openstack/manifests/nova/compute.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/31/249331/1

diff --git a/modules/openstack/manifests/nova/compute.pp 
b/modules/openstack/manifests/nova/compute.pp
index 039818e..34875e2 100644
--- a/modules/openstack/manifests/nova/compute.pp
+++ b/modules/openstack/manifests/nova/compute.pp
@@ -42,7 +42,7 @@
         # T116332
         nrpe::monitor_service { 'kvm_ssl_cert':
             description   => 'kvm ssl cert',
-            nrpe_command  => "/usr/local/lib/nagios/plugins/check_ssl_certfile 
${certname}",
+            nrpe_command  => "/usr/local/lib/nagios/plugins/check_ssl_certfile 
/etc/ssl/localcerts/${certname}.crt",
         }
 
         file { '/var/lib/nova/cacert.pem':

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c254f358c2929d8678730fa98c80aa0fe730880
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to