Dzahn has submitted this change and it was merged.
Change subject: ircd: make check_ircd a critical (paging) icinga check
......................................................................
ircd: make check_ircd a critical (paging) icinga check
This would make the existing "check_ircd" check a critical
check which means it would start sending SMS to ops.
This isn't a new check and has been there for a while,
it runs check_ircd from a nagios-plugins package which
is a Perl script that connects to the ircd.
(I248dac3cacb82471cf , I21a3ca32fd425dd20 puppetized a
manual setup from before that afaict)
This change is in reaction to T135948 though the issue
was not actually that no ircd was running but rather that the
irc bot wasn't on the irc server after a restart of the VM and
of course that VMs are freezing which required the restart.
So i'm not 100% sure if this would have been much more helpful,
it would have created pages on restart of the VM.
Bug:T135948
Change-Id: I604cc7b014ffe800cb85e8e43f652a42bde8738f
---
M modules/mw_rc_irc/manifests/ircserver.pp
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/modules/mw_rc_irc/manifests/ircserver.pp
b/modules/mw_rc_irc/manifests/ircserver.pp
index 912d772..da6ebb3 100644
--- a/modules/mw_rc_irc/manifests/ircserver.pp
+++ b/modules/mw_rc_irc/manifests/ircserver.pp
@@ -60,5 +60,6 @@
monitoring::service { 'ircd':
description => 'ircd',
check_command => 'check_ircd',
+ critical => true,
}
}
--
To view, visit https://gerrit.wikimedia.org/r/290078
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I604cc7b014ffe800cb85e8e43f652a42bde8738f
Gerrit-PatchSet: 8
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: Luke081515 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits