diff --git a/HowtoGerrit.md b/HowtoGerrit.md index 9a026b68..01b1595a 100644 --- a/HowtoGerrit.md +++ b/HowtoGerrit.md @@ -281,7 +281,12 @@ Une fois passé cette authentification, Gerrit lui-même rapatrie les informatio # Monitoring -WIP +On peut surveiller avec Nagios la bonne réponse de l'interface web, et la disponibilité du serveur SSH embarqué. Par exemple avec NRPE. + +{{{ +command[check_gerrit_http]=/usr/lib/nagios/plugins/check_http -H localhost -p 8081 +command[check_gerrit_ssh]=/usr/lib/nagios/plugins/check_ssh -p 29418 localhost +}}} # Créer un utilisateur Gerrit via SSH