Alexandros Kosiaris has submitted this change and it was merged.

Change subject: icinga: Fix the typo in check_systemd_state
......................................................................


icinga: Fix the typo in check_systemd_state

It's initsystem, not initscript

Change-Id: I7e7c50ea2ab631de9f0bcd061c97b42c06b3bcd3
---
M modules/base/manifests/monitoring/host.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



diff --git a/modules/base/manifests/monitoring/host.pp 
b/modules/base/manifests/monitoring/host.pp
index 685a544..20f6016 100644
--- a/modules/base/manifests/monitoring/host.pp
+++ b/modules/base/manifests/monitoring/host.pp
@@ -123,7 +123,7 @@
         description  => 'salt-minion processes',
         nrpe_command => "/usr/lib/nagios/plugins/check_procs -w 1: -c 1:4 
--ereg-argument-array '^/usr/bin/python /usr/bin/salt-minion'",
     }
-    if $::initscript == 'systemd' {
+    if $::initsystem == 'systemd' {
         nrpe::monitor_service { 'check_systemd_state':
             description  => 'Check systemd state',
             nrpe_command => 
'/usr/local/lib/nagios/plugins/check_systemd_state',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7e7c50ea2ab631de9f0bcd061c97b42c06b3bcd3
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to