Filippo Giunchedi has uploaded a new change for review.
https://gerrit.wikimedia.org/r/230066
Change subject: cassandra: switch to nrpe::monitor_systemd_unit_state
......................................................................
cassandra: switch to nrpe::monitor_systemd_unit_state
Bug: T108306
Change-Id: Icd86a6ceb51946200e4832348c18ad66abcc7e1d
---
M manifests/role/cassandra.pp
1 file changed, 2 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/66/230066/1
diff --git a/manifests/role/cassandra.pp b/manifests/role/cassandra.pp
index 4acd598..35ec6d1 100644
--- a/manifests/role/cassandra.pp
+++ b/manifests/role/cassandra.pp
@@ -15,11 +15,8 @@
description => 'Cassandra server',
}
- # Emit an Icinga alert unless there is exactly one Java process belonging
- # to user 'cassandra' and with 'CassandraDaemon' in its argument list.
- nrpe::monitor_service { 'cassandra':
- description => 'Cassandra database',
- nrpe_command => '/usr/lib/nagios/plugins/check_procs -c 1:1 -u
cassandra -C java -a CassandraDaemon',
+ nrpe::monitor_systemd_unit_state { 'cassandra':
+ require => Service['cassandra'],
}
# CQL query interface monitoring (T93886)
--
To view, visit https://gerrit.wikimedia.org/r/230066
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd86a6ceb51946200e4832348c18ad66abcc7e1d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits