Dzahn has submitted this change and it was merged.

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(-)

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



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: merged
Gerrit-Change-Id: I7c254f358c2929d8678730fa98c80aa0fe730880
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to