Page MenuHomePhabricator

Icinga meta-monitoring: automatically sync contact list
Closed, ResolvedPublic

Description

Tracking task to complete the Icinga meta-monitoring sync of contacts from Icinga to avoid the need to manually syncup them, in particular:

  • allow the icinga host to connect to the wikitech-static host (ssh + keyholder + ferm rule)
  • automatically trigger the extract contacts script wither via crontab or when the contacts/group config changes to update the config on the wikitech host
  • perform validity check of the new configuration

Details

Related Gerrit Patches:
operations/software/external-monitoring : mastercheck_icinga: ensure at least 5 contacts are set
operations/puppet : productionmetamonitoring: skip logdir for timer
operations/puppet : productionmetamonitoring: add sync of Icinga contacts
operations/puppet : productionicinga: fix permission of contacts.cfg
operations/puppet : productionicinga: manage metamonitor known_hosts
operations/puppet : productionicinga: add metamonitor user and its keyholder
operations/puppet : productionicinga: fix location of meta-monitoring script
operations/puppet : productionicinga: fix meta-monitoring sync script
labs/private : mastericinga: add metamonitor keyholder keys

Event Timeline

Volans created this task.Apr 29 2019, 2:55 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 29 2019, 2:55 PM
Volans triaged this task as Normal priority.Apr 29 2019, 2:55 PM
Volans moved this task from Backlog to In progress on the observability board.
This comment was removed by Volans.
This comment was removed by Volans.
This comment was removed by Volans.

Change 511720 had a related patch set uploaded (by Volans; owner: Volans):
[operations/puppet@production] icinga: fix meta-monitoring sync script

https://gerrit.wikimedia.org/r/511720

Change 511721 had a related patch set uploaded (by Volans; owner: Volans):
[operations/puppet@production] icinga: fix location of meta-monitoring script

https://gerrit.wikimedia.org/r/511721

Change 511722 had a related patch set uploaded (by Volans; owner: Volans):
[operations/puppet@production] icinga: add metamonitor user and its keyholder

https://gerrit.wikimedia.org/r/511722

Change 511724 had a related patch set uploaded (by Volans; owner: Volans):
[labs/private@master] icinga: add metamonitor keyholder keys

https://gerrit.wikimedia.org/r/511724

Change 511724 merged by Volans:
[labs/private@master] icinga: add metamonitor keyholder keys

https://gerrit.wikimedia.org/r/511724

Change 511720 merged by Volans:
[operations/puppet@production] icinga: fix meta-monitoring sync script

https://gerrit.wikimedia.org/r/511720

Change 511721 merged by Volans:
[operations/puppet@production] icinga: fix location of meta-monitoring script

https://gerrit.wikimedia.org/r/511721

Change 511722 merged by Volans:
[operations/puppet@production] icinga: add metamonitor user and its keyholder

https://gerrit.wikimedia.org/r/511722

Change 514444 had a related patch set uploaded (by Volans; owner: Volans):
[operations/puppet@production] icinga: manage metamonitor known_hosts

https://gerrit.wikimedia.org/r/514444

Change 514444 merged by Volans:
[operations/puppet@production] icinga: manage metamonitor known_hosts

https://gerrit.wikimedia.org/r/514444

Change 514679 had a related patch set uploaded (by Volans; owner: Volans):
[operations/puppet@production] icinga: fix permission of contacts.cfg

https://gerrit.wikimedia.org/r/514679

Change 514679 merged by Volans:
[operations/puppet@production] icinga: fix permission of contacts.cfg

https://gerrit.wikimedia.org/r/514679

Change 545574 had a related patch set uploaded (by Volans; owner: Volans):
[operations/puppet@production] metamonitoring: add sync of Icinga contacts

https://gerrit.wikimedia.org/r/545574

Change 545574 merged by Volans:
[operations/puppet@production] metamonitoring: add sync of Icinga contacts

https://gerrit.wikimedia.org/r/545574

Change 546407 had a related patch set uploaded (by Volans; owner: Volans):
[operations/puppet@production] metamonitoring: skip logdir for timer

https://gerrit.wikimedia.org/r/546407

Change 546407 merged by Volans:
[operations/puppet@production] metamonitoring: skip logdir for timer

https://gerrit.wikimedia.org/r/546407

Mentioned in SAL (#wikimedia-operations) [2019-10-28T08:26:14Z] <volans> manually cleanup changes reverted in https://gerrit.wikimedia.org/r/546407 on icinga[12]001 - T222074

Change 546437 had a related patch set uploaded (by Volans; owner: Volans):
[operations/software/external-monitoring@master] check_icinga: ensure at least 5 contacts are set

https://gerrit.wikimedia.org/r/546437

Change 546437 merged by jenkins-bot:
[operations/software/external-monitoring@master] check_icinga: ensure at least 5 contacts are set

https://gerrit.wikimedia.org/r/546437

Volans closed this task as Resolved.Mon, Oct 28, 3:21 PM

This is all done, resolving. Feel free to re-open if any issue is found.